TJ:=DOWNNDAY(C,3) AND UPNDAY(V,3); SJ:=IF(FROMOPEN<30,10,IF(BETWEEN(FROMOPEN,30,60),5,3)); XG:REF(TJ,1) AND DYNAINFO(17)>=SJ;