For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

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?


  • 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!