N1:=41;N3:=29;
VAR1:=C/MA(C,3)>=1.05 AND C=HHV(C,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND C>REF(C,1);
VAR2:=REF(C,1);
VAR3:=SMA(MAX(C-VAR2,0),5,1)/SMA(ABS(C-VAR2),5,1)*100;
VAR4:=COUNT(VAR3<25,20)>=1;
VAR5:=(H-L)/H*100+(C-VAR2)/VAR2*100;
VAR6:=EMA(MA(VAR5,N1),6);
VAR7:=VAR6>LLV(VAR6,6)*1.02 AND REF(VAR6,1)<REF(LLV(VAR6,6),1)*1.02 AND LLV(VAR6,N1)=LLV(VAR6,6);
VAR8:=LLV(L,6)=LLV(LOW,N1) AND LLV(LOW,6)<HHV(L,N1)*(100-N3)/100;
VAR9:=H>L*1.033;
XG:=VAR8>0 AND VAR9;
FILTER(XG,10);