XA_1:=MA(CLOSE,10);
XA_2:=MA(CLOSE,50);
XA_3:=MA(CLOSE,120);
XA_4:=IF(OPEN>CLOSE,vol,0);
XA_5:=CLOSE/REF(CLOSE,1)>1.01 AND VOL>REF(HHV(XA_4,10),1) AND CLOSE>OPEN AND CLOSE>XA_1 AND CLOSE>XA_2 AND CLOSE>XA_3 AND COUNT(LOW<MA(CLOSE,20),20)>=4;
XG:BARSSINCEN(XA_5,15)=0;