VAR1:=CLOSE/MA(CLOSE,30)*100<75;
VAR2:=CLOSE/MA(CLOSE,50)*100<78;
VAR3:=HIGH>LOW*1.053;
VAR4:=VAR3 AND COUNT(VAR3,5)>2;
VAR5:=VAR4 AND (VAR1 OR VAR2);
VAR6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);
VAR7:=(CLOSE-VAR6)/VAR6*100;
VAR8:=REF(VAR7,1)<-34 AND VAR7>REF(VAR7,1) AND
REF(VAR7,1)<REF(VAR7,2) AND VAR7-REF(VAR7,1)>1.76
AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1))
AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2))
AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3))
AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4))
AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) ;
ENTERLONG:VAR8;