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

RE: dayofweek question



PureBytes Links

Trading Reference Links

if( DayOfWeek(Date) = 3 Or DayOfWeek(Date) = 4 ) then begin
	{ execute trade here }
end;

-----Original Message-----
From: VBatla@xxxxxxx [mailto:VBatla@xxxxxxx]
Sent: Wednesday, January 26, 2000 5:09 PM
To: omega-list@xxxxxxxxxx
Subject: dayofweek question


I'm looking to trade on Wednesday or Thursday and would like to code this in

easy language.  

I know the code isn't right but there isn't any information in the help 
section that addresses this.  

I would think that I need to make the dayofweek a condition:

Condition1 = dayofweek(3);
Condition2 = dayofweek(4);

If condition1 or condition2 then begin
[system]
end;


Thanks in advance for any help!

Vince