Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add text on top of the plot values

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

    Add text on top of the plot values

    In my indicator, I have a plot values.
    Values[0][0] = value.

    However, I want to add a text on top of it to show what is the value of it.
    I know there is some kind like draw.text

    But I want to on top on the line.
    Even if I make the y-value on the draw,text.

    If it goes to others plot, it still may falls middle of the lines .

    What I want is to create a standardize text price that will always on top of the plot values without intersect it.

    #2
    Hello cincai,

    You can find a sample of adding plot names in the following user app share indicator. You could use that as a starting point to use the values instead of the names or change the positing as needed. OnRender would be used for any kind of custom drawing/positioning of drawing https://ninjatraderecosystem.com/use.../addplotnames/

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    599 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    344 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
    558 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    557 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X