%> 通达信波段MACD主图指标公式_股票教程,股票入门教程
通达信波段MACD主图指标公式 2705

M2:=89;

N:=20;

N1:=2;

EXP2:EMA(CLOSE,M2),COLORRED,LINETHICK2;

水平面:MA(CLOSE,60),COLORFF00FF,DOTLINE;

IF(EXP2>=REF(EXP2,1),EXP2,DRAWNULL),COLORRED,LINETHICK1;

IF(EXP2<=REF(EXP2,1),EXP2,DRAWNULL),COLORBLUE,LINETHICK2;

B1:=EMA(C,3);

B2:=EMA(C,26);

B3:=B1-B2;

WDIF:EMA(EMA(EMA(C,3),3),3)+B3,LINETHICK2,COLORF00FF0;

WDEA:EMA(WDIF,9),COLORRED,LINETHICK1;

MA18:=MA(CLOSE,18);

MTM:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));

DRAWTEXT(FILTER(买=1,5),LOW,'买'),COLORYELLOW;

DRAWICON(CROSS(WDIF,WDEA),WDEA,17);

IF(WDEA>=REF(WDEA,1),WDEA,DRAWNULL),COLORRED,LINETHICK2;

IF(WDEA<=REF(WDEA,1),WDEA,DRAWNULL),COLORGREEN,LINETHICK2;

MACT:EMA(EXP2,N),POINTDOT,COLORFFCC00,LINETHICK3;

WDIF辅线:EMA(WDIF,N1),COLORGREEN,LINETHICK1;



 

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