%> 通达信MACD精髓指标公式_
通达信MACD精髓指标公式 3420

DIFF:EMA(C,10)-EMA(C,25);

DEA:EMA(DIFF,10),COLORFFFF00;

MACD:(DIFF-DEA)*2,COLORSTICK;

M60:MA(DEA,5),COLORGREEN;

DRAWBAND(DIFF,RGB(255,0,0),M60,RGB(0,0,255));

DRAWBAND(DEA,RGB(255,0,0),M60,RGB(0,0,255));

DIF1:=EMA(C,12)-EMA(C,26);

DEA1:=EMA(DIF1,9);

AAA1:=(DIF1-DEA1)*25,COLORMAGENTA;

XP1:=0.03;

XP2:=AAA1-REF(AAA1,1);

WC:=REF(C,1),NODRAW;

WC1:=REF(C,2),NODRAW;

寻底:=WC<WC1&&C>=WC,NODRAW;

小荷:=C>O,NODRAW;

MCD3:=MA(MACD,5),COLORWHITE;

M5:MA(MCD3,5),COLORYELLOW;

MCD5:=MA(MACD,5),COLORYELLOW;

M10:MA(MCD5,10),COLORCC66FF;

XG:=寻底 AND 小荷 AND (CROSS(XP2,XP1));

爆:=(CROSS(XP2,XP1)) AND C>MA(C,60) AND V>REF(V,1)*1.75;

DRAWICON(XG OR 爆,0,1);

DRAWTEXT(XG OR 爆,0.02,' 爆'),COLORRED;



 

{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}