I have an indicator and I want to add a feature where I can backtest using a static chart (no market replay) and historical data.
The first goal is to avoid render/plot some bars to analyze to scenario without seeing what was happened.
How can I achieve it?
I've already tried to "hide" the bars (changing the color to transparent) in the OnBarUpdate method but when I use the "Fixed scale" (button "F" up in the right corner) I can see if the price was gone up or down because the chart auto scale also the hidden bars. So, I would remove or avoid rendering these bars.
Thanks.
Regards,
Comment