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

RE: Easy Language - Code



PureBytes Links

Trading Reference Links

Vars:condition1(true),monthvar(0);
Monthvar=month(date);
If monthvar<>monthvar[1] then condition1=true;
If marketpostion<>0 then condition1=false;
If condition1 then begin
{buy setup}
End;

-----Original Message-----
From: Tabb Thrift [mailto:tthrift@xxxxxxx] 
Sent: Friday, March 26, 2004 12:18 PM
To: OmegaList
Subject: Easy Language - Code


Hello,

Does anyone have any suggestions on a piece of code that would only
allow 1 trade per month.....System would utilized daily data; but would
only have 1 entry per month.

Thanks

Tabb