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

Re: Simple code help...



PureBytes Links

Trading Reference Links

Cody,

>1. Once price penetrates the highest(high,x)[1] 
>2. I'd like to look at the bar that initially created the above
>referenced: highest(high,x)[1]
>3. and store how many bars ago it occurred as a variable. 

highestbar(price,length) will tell you the number of bars ago the
highest high occurred within the length window.

-- 
  ,|___    Alex Matulich -- alex@xxxxxxxxxxxxxx
 // +__>   Director of Research and Development
 //  \ 
 // __)    Unicorn Research Corporation -- http://unicorn.us.com