{参数:N 1 100 5 LC 1 100 30}
MA5:MA(C,5),COLOR00FF00;
MA10:MA(C,10),COLORFFFFFF;
ZX:=(MA5+MA10)/2;
MA30:MA(C,30),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;
STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE;
QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)
YB:=C>REF((O-C)/2+C,2);
买:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0;
买入易涨停:买 AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,LINETHICK0;
STICKLINE(买,H,L,0,0),COLOR00FF00,LINETHICK2;
STICKLINE(买,O,C,0,0),COLOR00FF00,LINETHICK2;
STICKLINE(买入易涨停,H,L,0,0),COLORYELLOW,LINETHICK2;
STICKLINE(买入易涨停,O,C,4,0),COLORYELLOW,LINETHICK2;
DRAWTEXT(买,L*0.99, '买'),COLOR00FF00;
DRAWICON(买入易涨停,L,1);
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
DRAWTEXT( CROSS(上线,下线),LOW *0.98,'全仓▲买哟' ),COLOR00FF00;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE
AND CLOSE