參數(shù) 最小 最大 缺 省
M1 2 100 5
M2 2 100 10
M3 2 100 20
M4 2 100 60
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;