XA_1:=Abs(((3.48*CLOSE+HIGH+LOW+OPEN)/5-EMA(CLOSE,20))/EMA(CLOSE,20));
XA_2:=DMA((2.15*CLOSE+LOW+HIGH+OPEN)/5,XA_1);
XA_3:=EMA(XA_2,200)*1.26;
XA_4:=EMA(XA_2,200)*1.18;
XA_5:=MA((LOW+HIGH+CLOSE)/3,5);
XA_6:=HHV(XA_5,60);
XA_7:=IF(XA_6>REF(XA_6,1),XA_6,DRAWNULL);
XA_8:=CLOSE*vol;
XA_9:=EMA((expma(XA_8,3)/EXPMA(VOL,3)+EXPMA(XA_8,6)/EXPMA(VOL,6)+EXPMA(XA_8,12)/EXPMA(VOL,12)+EXPMA(XA_8,24)/EXPMA(VOL,24))/4,13);
XA_10:=1.03*XA_9;
XA_11:=1.13*XA_9;
XA_12:=MIN(XA_7,XA_3);
XA_13:=MIN(XA_10,XA_3);
XA_14:=MIN(XA_7,XA_4);
XA_15:=MIN(XA_10,XA_4);
XA_16:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE=HIGH;
XG:crOSS(CLOSE,XA_11) AND XA_16;