M1:=5;
M2:=10;
M3:=20;
M4:=60;
M5:=120;
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4),COLORRED,LINETHICK3;
MA5:=MA(CLOSE,M5);
STICKLINE(CROSS(MA2*1.005,MA1)
AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<1/100
AND MA1<REF(MA1,1),MA1*1.03,MA1*1.06,3,0),COLORGREEN;
DRAWTEXT(CROSS(MA2*1.005,MA1)
AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<1/100
AND MA1<REF(MA1,1),MA1*1.07,'死')COLORGREEN;
YJY:=IF(MA1<MA2 AND MA1<MA3
AND CROSS(MA3,MA2),555,0)COLORWHITE,LINETHICK2;
STICKLINE(MA1<MA2 AND MA1<MA3
AND CROSS(MA3*1.003,MA2),MA2*1.02,MA2*1.05,3,0),COLORWHITE;
DRAWTEXT( MA1<MA2 AND MA1<MA3
AND CROSS(MA3*1.003,MA2),MA2*1.06,'压')COLORWHITE;
14Q1D13E20-43931.jpg
|