%> 通达信MACD零轴主图指标公式_股票视频教程网
通达信MACD零轴主图指标公式 2700

M50:MA(C,50),COLORYELLOW,LINETHICK2;

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

DEA1:=EMA(DIF1,9);

DIF:DIF1+EMA(CLOSE,3),COLORWHITE;

DEA:DEA1+EMA(CLOSE,12),COLORYELLOW;

{D50:=M50+MA(DIF1,50),LINETHICK2;}

MACD:(DIF1-DEA1)*2,NODRAW,COLORRED;

STICKLINE(MACD>=0,M50,M50+MACD*3,0,1),COLORLIRED;

STICKLINE(MACD<0,M50,M50+MACD*3,0,1),COLORLIGREEN;

STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),M50,M50+MACD*3,0,1),COLORLIRED;

STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),M50,M50+MACD*3,0,1),COLORLIGREEN;



 

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