MA5:MA(CLOSE,5),colorwhite;
MA10:MA(CLOSE,10),Coloryellow;
ma20:ma(c,20),ColorFF00FF,linethick2;
MA30:MA(CLOSE,30),Color00FF00;
H1:=max(ma5,max(ma10,ma20));
L1:=min(ma5,min(ma10,ma20));
一阳穿3线:H1<c and o<L1;
DRAWTEXT(一阳穿3线,l*0.98,'★'),LINETHICK2,color33CC99;
一阳穿2线:cross(c,ma5) and cross(c,ma10) and ma5>ma20 and ma10>ma30;
DRAWTEXT(一阳穿2线,l*0.96 ,'△'),ColorFF00FF;