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

Re: ELA Question: Entry as soon as MA xover vs at the close



PureBytes Links

Trading Reference Links

The only way to enter mid bar is with a stop or limit order which must be
placed on the *prior* bar. See EL documentation.

----- Original Message -----
From: <erwilm45@xxxxxxxxx>
To: "Omega List" <omega-list@xxxxxxxxxx>
Sent: Friday, September 21, 2001 7:57 AM
Subject: ELA Question: Entry as soon as MA xover vs at the close


> Hello,
>
> How can I program a system to enter as soon as criteria are met versus
> close of the bar?  Please see code example below:
>
> If Average((H+L)/2,11) > Average((H+L)/2,20) then buy at market;
>
> For some reason, TS will enter on the close of the NEXT bar when this
> code is used.  I'd like it to enter as soon as the criteria are met.
>
> Thanks in advance for your help.
>
> Regards.
>
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
>