XA_1:=13;
XA_2:=30;
XA_3:=(CLOSE+OPEN+LOW+HIGH)/4;
XA_4:=WINNER(XA_3*1.04)*100;
XA_5:=WINNER(XA_3*0.96)*100;
A04:XA_5,NODRAW;
A08:XA_4-XA_5,NODRAW;
A06:100-XA_4,NODRAW;
STICKLINE(1,0,A04,2,0),colorred;
STICKLINE(1,100,XA_4,2,0),colorgreen;
STICKLINE(1,A04,100-A06,2,0),colorblue;
XA_6:=(HHV(A04,15)-XA_5)/XA_5*100>XA_2 AND HHV(A04,15)>50;
STICKLINE(XA_6,0-2,2,4,0),colorblue;
STICKLINE(NOT(XA_6),0-2,2,4,0),colormagenta;
获利:MA(XA_5,XA_1),colorred,LINETHICK3;
浮动:MA(XA_4,XA_1)-MA(XA_5,XA_1),colorblue,LINETHICK3;
套牢:100-MA(XA_4,XA_1),colorgreen,LINETHICK3;