QQ:=REF(LLV(LOW,30),1); DD:=REF(HHV(HIGH,30),1);
ZZ:=REF(MA(V,3),1);VV:=((DD-QQ)/QQ)<10;
BB:=V>=1.5*ZZ; CC:=(C-REF(C,1))/REF(C,1)>=0.05 AND DD/C<1.03;
QQ1:=LLV(LOW,18); DD1:=HHV(HIGH,18); ZZ1:=MA(V,3) ;
VV1:=((DD1-QQ1)/18)<0.15;BB1:=V>=1.8*ZZ1;
YY:="macd.MacD">0.05;TT:=(C-REF(C,1))/REF(C,1)>=0.05;
A6:= CLOSE>REF(CLOSE,1)*1.03;A7:= (H-C)/C<0.02;
A8:=REF(C>O,1) AND REF((H-C)/C*100<0.5,1);
GG:=VV1 AND BB1 AND TT AND A6 AND A7 AND A8 AND YY;
HH:=REF(C>O OR O>C,5) AND REF(C>O OR O>C,35)
AND REF(C>O OR O>C,3) AND REF(C>O OR O>C,16);
XG:VV AND BB AND CC AND C<10 AND GG AND HH;