X1:=C<=REF(C,1) AND C<=O;X2:=C<=REF(C,1) AND C>=O;X3:=X1>0 OR X2>0;XT0:=BARSLAST(X3);X4:=MAX(REF(C,XT0),REF(O,XT0));X5:=REF(V,XT0);YT:=XT0>0 AND C>X4 AND V>X4*1.1;YS:=IF(YT>0 AND REF(YT,1)=0,10,0);XA1:=(CLOSE/REF(CLOSE,1)>1.098 OR C/O>1.098) AND V
1;XA2:=BARSLAST(XA1); XA31:=(L>=REF(L,XA2) AND (L-REF(L,XA2))<=0.03); XA32:=(L>=REF(C,XA2)*0.99 AND (L-REF(C,XA2))<=0.03) ; XA33:=(0>=REF(C,XA2)*0.99 AND (0-REF(C,XA2))<=0.03); XA3:=XA31 OR XA32 OR XA33;