VAR0:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1) - REF(CLOSE,1) < 0.03) AND CLOSE/OPEN > 1.05 AND CLOSE > REF(CLOSE,2);
VAR1:=(CLOSE - MA(CLOSE,6))/MA(CLOSE,6) * 100;
VAR2:=VAR1 < -3 AND CLOSE > OPEN;
VAR3:=MA(CLOSE,3);
VAR4:=MA(REF(LLV(CLOSE,3),2),2);
VAR5:=MA(CLOSE,32);
VAR8:=CYC(5);
VAR9:=CYC(8);
VAR10:=CYC(13);
VAR11:=CYC(34);
VAR12:=CYC(21);
VAR13:=MAXCYC;
VAR14:=CROSS(CLOSE,VAR8) AND CROSS(CLOSE,VAR10) AND CROSS(CLOSE,VAR11) AND CROSS(CLOSE,VAR8) AND CROSS(VAR9,VAR12) AND CROSS(VAR8,VAR10);
VAR6:=OPEN < VAR3 AND OPEN < VAR4 AND OPEN < VAR5 AND CLOSE > VAR3 AND CLOSE > VAR4 AND CLOSE > VAR5;
VAR7:=VAR2 OR VAR6;
VAR6:=DATE < 1100301;
DD:VAR7 AND VAR0 OR VAR14 AND VAR6;