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

How to force plotyticks on main chart (not subplot)



  • Hi,

    while trying to develop indicator for Support / Resistance lines (yes, yet another one) I tried to use the plotinfo.plotyticks property to draw the computed S/R horizontal levels on the chart. But it's only working when the indicator is charted on a subplot (plotinfo.subplot = True), with plotinfo.subplot = False the custom levels are not drawn - the regular yticks "take over" on the main chart.

    Is there a way how to force custom plotyticks also on the main chart (plot)?

    Thanks
    T.


Log in to reply
 

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