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

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)?


  • administrators

    This is indeed a limitation when plotting along the main data.