VAR1:=IF(YEAR>=2201 AND MONTH>=11,0,1);
VAR2:=zig(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
VAR3:=ZIG(3,10)REF(ZIG(3,10),2);
ENTERLONG: VAR2*VAR1;
EXITLONG: VAR3*VAR1;
VAR1:=IF(YEAR>=2201 AND MONTH>=11,0,1);
VAR2:=zig(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
VAR3:=ZIG(3,10)REF(ZIG(3,10),2);
ENTERLONG: VAR2*VAR1;
EXITLONG: VAR3*VAR1;