How max - min plot boundaries are set?
-
Hi @backtrader
Could you please clarify how the max and min boundaries of the plot are set?
I was always thinking that if data series and indicators are shown on the same plot, then max and min boundaries are set as max and min values of all data series and indicators shown. But recently I got different results (see figure attached).
Could you please point out how to set these boundaries?
-
The data feed controls the limits because it creates the axis. Indicators are simply plotted on top, being the (possibly naive) assumption that they are scale-compatible with the data feed.
-
Got it. So no way to change it without getting inside the
bt
.
Thank you! -
ab_trader How do you got it.....can you share it please....?
-
He meant he "got the answer": he needed to modify the internals.
-
yes....its ok....but i need to know how he did it......i hope he post the modified code or some.....
-
I didn't make changes.