VVV:=IF(ISLASTBAR AND PERIOD=5,vol*240/MIN(FROMOPEN,240),V);
A1:=WINNER(C)*100;
A2:=(WINNER(C*1.07)-WINNER(C*0.93))*85;
A3:=A1>=85 AND A2<30;
OKX:=A3 AND VVV/CAPITAL*100<5;
OK1:=COUNT(OKX,5)>=1;
A4:=MA((H+2*C)/3,20);
OK2:=COUNT(C>A4,2)=2 AND REF(C>A4,3)=0;
XG:OK1 AND OK2;