以下是通达信专做主升浪主图指标源码(无源码的请下载附件导入)
分别由绿色的线段显示下降趋势,红色的线段显示上升趋势
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,50);
MA6:MA(CLOSE,250);
IF(MA3>REF(MA3,1),MA3,DRAWNULL),COLORRED,LINETHICK5;
IF(MA3<REF(MA3,1),MA3,DRAWNULL),COLORGREEN,LINETHICK5;
658411987.png
|