XA_2:=SMA(XA_1,3,1)/2*1.1;
XA_3:=SMA(XA_2,3,1)-41;
XA_4:=(CLOSE-LLV(CLOSE,9))/(HHV(HIGH,9)-LLV(CLOSE,9))*100;
XA_5:=(SMA(XA_4,3,1)/2+40)*1.1;
XA_6:=SMA(XA_5,3,1)-34;
XG12:IF(ABS(XA_6-XA_3)<8,1,0);
XG13:IF(ABS(XA_6-XA_3)<5,1,0);
XG14:IF(ABS(XA_6-XA_3)<3,1,0);
XG15:IF(ABS(XA_6-XA_3)<2,1,0);