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

Re: text on chart question



PureBytes Links

Trading Reference Links

> You can also use the "Highest" and "Lowest" functions to find the
> highest and lowest prices back some number of bars. This would allow
> you to find the range that is plotted on the screen if the number of
> bars back equals the number of bars on the screen. 

That's the trick.  There's no way to know how many bars are on the 
screen.  The user can change the screen bar compression and totally 
change the # of bars on the screen.

I look at the Highest/Lowest for some number of bars that I think 
will be included in the onscreen chart, then aim the invisible 
indicator line around that.  If the Highest/Lowest lookback is too 
short, the text might be below the top of the screen -- at least 
until the old higher bars scroll off the screen.

It's messy either way.
Gary