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?

    picture


  • administrators

    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!


Log in to reply
 

Looks like your connection to Backtrader Community was lost, please wait while we try to reconnect.