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

Plotting times on the x-axis instead of dates

  • I'm not sure if this is available in the documentation, but I can't figure out how to use time labels instead of (or in addition to) the date labels on the x-axis. For me, the time of entry is important so I'm looking to figure out whether the algorithm is replicating the manual strategy correctly visually.

    Thanks in advance.

  • And while I'm at it... I would also love to figure out how to change the candlestick width for one data but not another. For example, on hourly resampled data, I would like to have much thicker bodies.

Log in to reply

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