Well, you could do something like: dy = Day(); FirstDayOfMonth = IIf(Day() < 2,1,0); PositionScore = IIf(FirstDayOfMonth, PositionScore, scoreNoRotate);
--- In [email protected], "Fcastner" <fcast...@...> wrote: > > My rotational trading systems sometimes rotate out of a specific fund > and then one or two three days later will rotate back into the same > specific fund. Can someone tell me how I can specify the minimum time > (such as 30 days) after rotating out of a specific fund before the > system can rotate back into it. Any coding clue would be appreciated. > > Thanks >
