The button works and the indicators are being correctly made not visible however when an indicator was drawn on another chart panel like with the RSI or VOL indicators then when I make these indicators not visible the chart doesn't rescale or resize to use the entire chart window and I have to do a reload ninjascript for the chart to realize that the indicator in panel #2 is now not visible and make the panel #2 disappear and use up the space it occupied for drawing the chart bars.
I've tried using
chartWindow.ActiveChartControl.InvalidateVisual();
ForceRefresh();
but it doesn't do the job.
I've tried searching for this problem on the forum but I really don't even know how or what i would search for on this one - so it's time to ask the experts.
thanks

Comment