以下是通达信决策主图指标公式(无源码的请下载附件导入)
STICKLINE( MA(CLOSE,20)>MA(CLOSE,60),MA(CLOSE,20),MA(CLOSE,60),8,0),COLOR000044;
STICKLINE( MA(CLOSE,20)<MA(CLOSE,60),MA(CLOSE,20),MA(CLOSE,60),8,0),COLOR004400;
DRAWKLINE(H,O,L,C);
MA2:=MA(C,2);
MA3:=MA(C,3);
MA7:=MA(C,7);
MA5:MA(C,5);
MA10:=MA(C,10);
MA20:MA(C,20);
MA30:=MA(C,30);
MA60:MA(C,60);
MA120:=MA(C,120);
MA240:MA(C,240);
操盘线20:IF(MA3>=MA20,MA20,DRAWNULL),LINETHICK1,COLORRED;
操盘20:IF(MA20>=MA3,MA20,DRAWNULL),LINETHICK1,COLORGREEN;
生命线60:IF(MA3>=MA60,MA60,DRAWNULL),LINETHICK2,COLORRED;
生命60:IF(MA60>=MA3,MA60,DRAWNULL),LINETHICK2,COLORGREEN;
趋势线240:IF(MA3>=MA240,MA240,DRAWNULL),LINETHICK2,COLORRED;
趋势240:IF(MA240>=MA3,MA240,DRAWNULL),LINETHICK2,COLORGREEN;
KK普通:=CROSS(MA5,MA10);
DRAWTEXT(KK普通,L*0.980,'支撑'),COLOR00CC99;
DRAWICON(KK普通,L*0.999,1);
7355023.jpg
73266003.rar
(3.04 KB, 下载次数: 0, 售价: 6 金钱)
|