XA_1:=EMA(EMA(EMA(HIGH,13),13),13); XA_2:=EMA(EMA(EMA(LOW,13),13),13); XA_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; XA_4:=XA_3>9.85 AND HIGH<XA_1*1.25; XG:FILTER(XA_4,5);