N:=5;
N1:=10;
AAD:=REF(((HHV(HIGH,N)-LLV(LOW,N))/LLV(LOW,N)),1)<=(N1/100)
&& BARSCOUNT(CLOSE)>N;
cyc13:=0.01*expma(AMOUNT,13)/EXPMA(vol,13);
CYS:=(CLOSE-CYC13)/CYC13*100;
V1:=IF((CLOSE > REF(CLOSE,1)),1,0);
{- }
V2:=IF(((CLOSE)/(REF(CLOSE,1)) > 1.03) AND
((HIGH)/(CLOSE) < 1.02) AND (V1 > 0),1,0);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A2:= MA(C,60)>=REF(MA(C,60),1);
VS:=EVERY(A2,2);
CJL1:=VOL>REF(VOL,1);
SS:=(O-REF(C,1))/REF(C,1)*100;
S1:=(O-L)/L*100;
AA:cys>-15 AND V2 AND K>D AND VS AND CJL1 AND CYS<17 AND S1<1 AND
SS<1 AND AAD;