N:=65;
N1:=10;
N2:=110;
AA := VOL / (((HIGH - LOW) * 2) - (Abs(CLOSE - OPEN)));
ZM := IF(CLOSE > OPEN,AA * (HIGH - LOW),IF(CLOSE < OPEN,AA * ((HIGH - OPEN) + (CLOSE - LOW)),VOL / 2));
AAA := VOL / (((HIGH - LOW) * 2) - (ABS(CLOSE - OPEN)));
ZMQD := (ZM / VOL) * 100;
XVOL := IF((CURRBARSCOUNT = 1) AND (PERIOD = 5),(VOL * 240) / FROMOPEN,VOL);
SHS := (VOL / CAPITAL) * 100;
XHS := IF((CURRBARSCOUNT = 1) AND (PERIOD = 5),(((VOL / CAPITAL) * 100) * 240) / FROMOPEN,(VOL / CAPITAL) * 100);
HS := (((XHS > 5) OR (SHS > 2)) AND ((SUM((VOL / CAPITAL) * 100,10)) > 15)) AND ((SUM((VOL / CAPITAL) * 100,10)) < 100);
GL := ((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100;
DIF := (EMA(CLOSE,12) - EMA(CLOSE,26)) * 20;
DEA := EMA(DIF,9);
MACD := (DIF - DEA) * 2;
(((((((((((((EXIst(CROSS(DEA,DIF),7) AND CROSS(DIF,DEA)) AND HS) AND (ZMQD > N)) AND (GL < N1)) AND (CCI.CCI >= N2))
AND (REF(VOL,1) > REF(VOL,2))) AND (macd >= 0)) AND (MACD > REF(MACD,1))) AND (REF(MACD,1) > REF(MACD,2)))
AND (VOL > (REF(VOL,1) * 0.125))) AND ((OPEN / REF(MA(C,5),1)) < 1.065)) AND (REF(EXIST((C / REF(C,1)) > 1.052,30),1))) AND ((DYNAINFO(17) > 2) OR ((XVOL > (REF(VOL,1) * 2)) OR (DYNAINFO(51) < 0.8)))) AND ((VOL < (REF(VOL,1) * 3.5)) OR (VOL < HHV(VOL,30)));