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

Re: Help with EL code



PureBytes Links

Trading Reference Links

HighD and LowD are functions, so you want to use
rounded parenthesis. Example:

If High > HighD(1) then ...

Victor Cuadra
www.cuadraE.com

--- "Roger L. Shepherd" <mailrs@xxxxxxxxxx> wrote:
> Hi Michael;
> 
> HighD and LowD are the daily highs and lows, so on a
> 5 minute bar HighD[1]
> will give your the high of yesterday
> 
> Roger
> 
> ----- Original Message ----- 
> From: "Michael Harris" <baldeagle99@xxxxxxxxxxx>
> To: "Omega List" <omega-list@xxxxxxxxxx>
> Sent: Wednesday, August 22, 2001 9:06 PM
> Subject: Help with EL code
> 
> 
> > Can someone tell me how to code the following:
> > 
> > I'm using 5-minute bars and want enter a trade if
> the price of the
> > current bar exceeds the high of the previous day. 
> I'm not sure how the
> > high of all of yesterday's bars is written.
> > 
> > High [1] is the high of the previous bar but  I'm
> comparing to the highs
> > of all bars from the previous day.
> > 
> > I hope this is clear.
> > 
> > Thanks in advance,
> > Mike
> > 
> 


=====
Victor Cuadra
www.cuadraE.com