PureBytes Links
Trading Reference Links
|
>From the code it looks like your ptting it on a 1 min chart bars if so try
Highest(H, 5)[9]
Cheers,
Bruce.
----- Original Message -----
From: "Jim Johnson" <jejohn@xxxxxxxxx>
To: "David J. Loomis" <dloomis@xxxxxxxxxxxx>
Cc: "Omega List" <Omega-List@xxxxxxxxxx>
Sent: Friday, April 13, 2001 11:17 PM
Subject: Re: maxlist(h[5],h[6],h[7],h[8],h[9])
> Hello David,
>
> I think your question is missing information. yOU need to specify the
> length in # bars to search for the highest high. E.g., highest high
> of the last five would be Highest(H, 5). You could also write this
> as Highest(H, 5)[0]. This would include the current bar [0] in the
> search. Often it is useful to make this value [1] so current ticks
> aren't creating new highs. Depends on your objective.
>
> Try these:
>
> maxlist(H[3], H[4], H[5], H[6], H[7], H[8])
>
> or
>
> Highest(H, 5)[3] where 5 is the length in bars you want to search and
> [3] is the bar ending two 5 min bars ago.
>
> Best regards,
> Jim Johnson
>
> Friday, April 13, 2001, 1:01:44 AM, you wrote:
>
>
> DJL> What is the ELA code for the highest high for the 5 minute range
ending 10
> DJL> minutes ago? i.e.
>
> DJL> maxlist(h[5],h[6],h[7],h[8],h[9])
>
> DJL> or how about
>
> DJL> MaxList (h,5[10]) ???????
>
>
>
> --
> mailto:jejohn@xxxxxxxxx
>
>
|