Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Text in line with price

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

    Text in line with price

    Hi,

    I have some data which currently plots to the bottom right of the panel 1 (same as input series), in fact, in the indicator parameters it is possible to chose from a drop down menu where the text will be placed... top right, top left, bottom right, bottom left and even "center".

    I actually want the text to be displayed to the right of current price. How can I add that to the choices for where the text displays?

    Thanks.

    #2
    ScottieDog, this could unfortunately not be done with the DrawTextFixed you're using here, however with the regular DrawText you can place text exactly at the desired bar / price value, so my suggestion would be looking to change over to user that in your script.

    Comment


      #3
      Thanks.

      I´d like to have a go at this myself, is it difficult to do for a new coder?

      Could you talk me through it?

      Comment


        #4
        Sure, if you're not familiar with those aspects of our NinjaScript then this would be for example a good start - http://www.ninjatrader.com/support/f...ead.php?t=3419 This should cover the basics and help you get going modifying your code. With the DrawTextFixed you just have one object basically which you modify, with the more general DrawText you can create as many as you want (provided a new tag id is supplied) and you can designate what to plot, at which bar and which price level.

        Comment

        Latest Posts

        Collapse

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