[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Day of Week?



PureBytes Links

Trading Reference Links

Am I correct in ecalling that you only want to trade a certain date of
the week? If so nest your entries in the following....

if dayofweek(date)=1{...only trade mondays} then begin
end;

or

if dayofweek(date)<3 {...no trades after tuesday} then begin
end;

etc.etc.etc.

  Don't put a specific date after dayofweek. Leave "date' in there.

dbs

<<<
DayOfWeek(990102) would give you the day of the week
for January 2, 1999.

This is not what I'd hoped to accomplish, and I don't see
any other way to do it.
>>>