M:=30;
VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MaoBV:=MA(OBV,M);
A1:=OBV>MAOBV;
A2:=ATAN((MAOBV/REF(MAOBV,1)-1)*100)*180/3.1416;
A3:=A2>30;
A4:=LAST(A3,20,0);
A5:=(HHV(H,20)-LLV(L,20))/LLV(L,20)*100<30;
XG:A4 AND A5 ;