XA_1:=MA(AMOUNT,5)/MA(vol,5)/100;
XA_2:=(XA_1-MA(AMOUNT,125)/MA(VOL,125)/100)/XA_1;
XA_3:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,3);
反转追击短线:crOSS((-5),XA_3) AND XA_2<(-0.15) AND XA_2>(-0.25),NODRAW,COLORWHITE;
XA_4:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_5:=EMA(XA_4,9);
XA_6:=2*(XA_4-XA_5);
XA_7:=BArslAST(REF(CROSS(XA_4,XA_5),1));
XA_8:=REF(CLOSE,XA_7+1)>CLOSE AND REF(XA_4,XA_7+1)<XA_4 AND CROSS(XA_4,XA_5) AND XA_5<0;
XA_9:=FILTER(XA_8>0,5);
反转追击中线:CROSS(XA_4,XA_5) AND XA_4<(-0.25),NODRAW,COLORYELLOW;
反转追击长线:XA_9,NODRAW,COLORLIMAGENTA;
STICKLINE(反转追击短线,0,1,6,0),COLORWHITE;
STICKLINE(反转追击中线,0,2,6,0),COLORYELLOW;
STICKLINE(反转追击长线,0,3,6,0),COLORRED;
NOTEXT连续信号:COUNT(反转追击短线 OR 反转追击中线 OR 反转追击长线,10)>=3,NODRAW;