Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddPlotNames code help needed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AddPlotNames code help needed

    Hello NT Support,

    This indicator in the ecosystem is an excellent chart addition:

    This indicator, when added to a panel, will sort through all indicator plots and if available, pull their plot name to use as a label for the plot. The plot names are then drawn on the chart centered Y-axis on the last plot value. The plot names are colored according to the plot itself. Changing […]


    I am wondering if someone can tell me if its possible to display indicator text in that margin but NOT on the chart itself.

    Example: if one wanted to print a High or Low of a given timeframe on that indicator but not have the line on the chart itself.

    Is this possible?

    I am just having a hard time coming up with a starting point to try and code that into my own version of the indicator or another custom indicator that will be picked up and displayed by the AddPlotNames indicator.

    I tried making the Plot transparent... but as I assumed it hides the text from the AddPlotNames indicator display as well.

    Any general direction would be great.

    Or even confirming this cannot be done.

    Thanks!

    #2
    Hello MattD888,

    Thank you for your post.

    To do this, you could modify the script to return in OnRender() without calling base.OnRender() (only after any custom rendering).

    Please note, this would only work for indicators that are adding the plot using AddPlot().

    Please let me know if you have any other questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    596 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    554 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X