XA_1:=REF(HHVBARS(CLOSE,1),1);
XA_2:=CROSS(CLOSE,REF(CLOSE,XA_1+1)) AND CLOSE/REF(CLOSE,1) 1.045;
XA_3:=(CLOSE-LLV(LOW,1))/(HHV(HIGH,1)-LLV(LOW,1))*100;
XA_4:=SMA(XA_3,2,1);
XA_5:=SMA(XA_4,7,1);
XA_6:=5*XA_4-3*XA_5;
XA_7:=CROSS(XA_6,0);
XA_8:=XA_2 AND XA_7;
XA_9:=BARSLAST(XA_8);
XA_10:=0.01*REF(CLOSE,XA_9)*N;
XA_11:=HIGH XA_10;{www.9m8.cn 九毛八公式指标网}
XA_12:=COUNT(XA_11,XA_9)=1 AND XA_11;
STICKLINE(XA_8,CLOSE,OPEN,3,0),COLORGREEN;
STICKLINE(XA_8,CLOSE,OPEN,2,0),COLORBLUE;
STICKLINE(XA_8,CLOSE,OPEN,1,0),COLORYELLOW;
STICKLINE(XA_12,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(XA_12,CLOSE,OPEN,2,0),COLORRED;
DRAWICON(XA_8,LOW*0.99,1);
DRAWICON(XA_12,HIGH*1.01,2);