Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Multiple data feeds: disable chart plot but not indicator plot

    General Discussion
    1
    1
    92
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hoflz5 last edited by

      I'm using multiple datafeeds with different time frames,

      cerebro.adddata(data5m)
      cerebro.adddata(data15m)
      

      But I only want to plot one of the charts.
      I'm currently using plot=False/True when creating the data5m and data15m in order to control this.
      HOWEVER, I would like to be able to see the indicator sub plots, even when the main plot is not showing.

      I have tried to set subplot=True, without any luck:

      rsi = bt.indicators.RSI(subplot=True)
      

      I guess plot=True needs to be set on the data source, but then I somehow need to disable the chart plot. Any thoughts on how to do this?

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors