手机端
当前位置:爱约股 > 通达信 > 通达信一目了然的MACD指标公式

通达信一目了然的MACD指标公式

dif1 : ema(close,12) - ema(close,26);
dea1 : ema(dif1,9);
macd : 2*(dif1-dea1), colorstick;
stickline(macd>ref(macd,1)and macd<0,0,macd,0.5,0),colorff00ff;
stickline(macd>ref(macd,1)and macd>0,0,macd,0.5,0),colorred;
stickline(macd<ref(macd,1)and macd<0,0,macd,0.5,0),coloryellow;
stickline(macd<ref(macd,1)and macd>0,0,macd,0.5,0),coloryellow;
dif:dif1,color33ff33;
dea:dea1,coloryellow;
强:if(dif1>=dea1,dif1,drawnull),colorred,linethick2;
drawtext(cross(dea,dif) ,h*0.04,' 卖'), color00ff00,linethick9;
drawtext(cross(dif,dea),l*-0.04,' 买'),coloryellow,linethick9;
drawicon(cross(dif,dea),l*-0.04,9);
drawicon(cross(dea,dif),h*0.04,2);

 

通达信一目了然的MACD公式

 

通达信一目了然的MACD公式的选股公式如下:

分享至:

相关推荐