Hi, Try something like: OutOfScope = Datenum() >=1070516 AND Datenum() <= 1071014;
OutOfScope will be "1" if the date is between the range specified. --- In [email protected], "dmcleod1981" <[EMAIL PROTECTED]> wrote: > > I am trying to do some Traders Almanac like calendar comparisons and > want to block out certain date periods like sell every May 15th and > re-buy every October 15th. I can see how to block a specific date but > how do I block out a range of dates? > > Thanks > DM >
