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

Re: coding a limit on intraday entries



PureBytes Links

Trading Reference Links

Thanks to the several people who made suggestions. I'm in the process of
trying them out, and will let you know my results.

Lincoln
-----Original Message-----
From: Ron Archer <archer@xxxxxxx>
To: omega list <omega-list@xxxxxxxxxx>
Date: Sunday, November 15, 1998 5:38 PM
Subject: Re: coding a limit on intraday entries


>>
>> I'm trying to create code that limits the number of intraday entries a
>> system takes, and I'm having difficulty.
><snip>
>> Thanks,
>> Lincoln
>
>{Function: Daily}
>inputs: TrgtDate(NumericSimple) ;
>vars  : Loop(0), Cnt(0) ;
>
>Cnt = 0 ;
>for Loop = 0 to 10
>begin
> if (EntryDate(Loop) = TrgtDate) then
> Cnt = Cnt + 1 ;
>end ; { next Loop }
>
>Daily = Cnt ;
>
>Example:  If Condition1 and Daily(Date[0]) then
>
>Ron Archer
>archer@xxxxxxx
>
>