刀小的向上发散MACD和资金指数二合一,水平有限胡乱组合了一下,最起码节约了一个副图,哈哈
本人的原则:指标都应该清晰简洁,把复杂的问题简单化,力求让每个人都能接受。
{终结者--刀小的向上发散MACD和资金指数二合一}
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;股票论坛 www.55188.com