以下是通达信均线粘合战法主图指标源码贴图(无源码的请下载附件导入)
工作线:(EMA(C,40)),POINTDOT,LINETHICK5,COLORMAGENTA;
MA3:MA(CLOSE,3),COLORRED;
MA5:MA(CLOSE,5),COLORGREEN;
MA10:MA(CLOSE,10),COLORBLUE;
MA23:MA(C,23),COLORYELLOW;
MA60:MA(C,60);
AA:=CROSS(MA3,MA5) ;
DRAWICON(AA,O,1);
DRAWNUMBER(CURRBARSCOUNT=1 AND HSL,C,HSL),COLOR00FFFF;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;
N天:=24;
DRAWTEXT(N天=CURRBARSCOUNT,H,'←●●●'),COLORRED;
1353533061.jpg
|