BB:=MIN((ma(C,5),MA(C,10)),MA(C,20));
CC:=MAX((MA(C,5),MA(C,10)),MA(C,20));
DD:=MIN((MA(C,5),MA(C,10)),MA(C,60));
EE:=MAX((MA(C,5),MA(C,10)),MA(C,60));
FF:=MIN(BB,MA(C,60));
GG:=MAX(CC,MA(C,60));
AA:=(L<BB AND H>CC) OR (L<DD AND H>EE);
AA1:=(LLV(L,2)<FF AND C>GG) OR (LLV(L,2)<FF AND C>CC) OR (LLV(L,2)<FF AND C>EE);
AA2:=(LLV(L,2)<BB AND C>CC) OR (LLV(L,2)<DD AND C>EE) OR (LLV(L,2)<FF AND C>GG);
CYDS:=WINNER(CLOSE)/(vol/CAPITAL);
CYDN:=WINNER(CLOSE)/MA(VOL/CAPITAL,21);
OT1G:=REF(CYDS>0,1) AND CYDS/REF(CYDS,1)>200
AND COUNT(L=LLV(L,8),2)>0;
OT1:=REF(CYDS>0,1) AND CYDS/REF(CYDS,1)>100 AND C/REF(C,1)>1.01 AND CYDS>30;
{?}
OT2:=REF(CYDS<30,1) AND CYDS>800 AND C/REF(C,1)>1;
OT2G:REF(CYDS<30,1) AND CYDS/REF(CYDS,1)>40 AND AA2
AND C/REF(C,1)>1;