I need a way to do this automatically so I am not constantly manually adjusting the high/low boundary of the panel when the prices is running.
I would like to write an indicator that will have a parameter, of say a (top and bottom) default of 50 ticks, that once a minute or so, the panel will auto adjust so that at least that the top or bottom (two parameters) boundary has at least that much room to move from the current price
this could be accomplished by drawing an auto-scale object at that new boundary price
to check the current display (panel) Top/Bottom would this be as simple as checking the ChartPanel.MaxValue and ChartPanel.MinValue against the current price?

Comment