Is there any way to determine what price range is being displayed on the screen so you can set an offset for text and shapes that won't either crowd the price bars or disappear off the screen?
I may be missing the question, but if you want to know the high and low shown on the current chart, you need to have an efs that calulates the Donchian high and low over the range of the price chart. The efs must be told how many bars are on the screen, it cant figure it out.
So if there are 20 price bars on the screen, use a donchian 20 in the efs and then find the donchian hi and lo.
Maybe I missed the concept, now that I re read it.
If you use Text.RELATIVETOTOP, RIGHT or LEFT you can control where the text goes, these are called flags.
You got it right the first time. I just want to find out how much blank space there is between the top of a bar and the top of the window, and the bottom of a bar and the bottom of the window.
I doubt I would have ever thought of using Donchian high and low.
Comment