向上发散MACD和资金指数二合一(飞狐)

[复制链接]
查看286 | 回复0 | 2021-8-21 12:52:11 | 显示全部楼层 |阅读模式

DIFF:=EMA(C,10) -EMA(C,30);
DEA:=EMA(DIFF,3);
向上发散MACD:200*(DIFF-DEA), COLORSTICK;
STICKLINE(C>EMA(C,10),0,向上发散MACD,0,0)COLOR6666FF;
STICKLINE(C<EMA(C,30),0,向上发散MACD,0,0)COLORFFFF66;
VAR1:=(EMA(C,10)-REF(EMA(C,10),1))/REF(EMA(C,10),1)*1000;
VAR2:=(EMA(C,30)-REF(EMA(C,30),1))/REF(EMA(C,30),1)*1000;
STICKLINE(VAR1>=VAR2 AND VAR2>0 AND C>EMA(C,30),0,向上发散MACD,5,1),COLOR6666FF;
个股能量线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3)-30, COLORRED,linethick2;
大盘能量线:EMA(100*(INDEXC- LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3)-30,colorgreen,linethick2;

202108211232.gif

202108211232.gif

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则