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

Re: Highest High Ever!



PureBytes Links

Trading Reference Links

On Mar 19, 12:05pm, Alfredo Mayall Simas wrote:
> Subject: Highest High Ever!
> Hi Netters,
> 
> Do you know of an easy way to code a "Highest High Ever" type 
> breakout?
> 

Haven't cheked this out, but maybe something along these lines?

{
   function: alltimehigh
}
input: price(numericseries);
alltimehigh = iff(currentbar = 1, highest(price, maxbarsback),
				  maxlist(alltimehigh, price));

-- 
| Gary Funck,  Intrepid Technology, gary@xxxxxxxxxxxx, (650) 964-8135