Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Relocating the Text in Priceonline Indicator

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

    Relocating the Text in Priceonline Indicator

    In my view, the priceonline indicator posted on the NinjaTrader forum fills a badly needed shortcoming in NinjaTrader. Unfortunately the text ends up within the field of view of the bars rather than in the right margin. So I attempted to solve this problem by adding a parameter to shift the text to the right, as illustrated in the attached code, but it doesn't work. Can someone please explain to me why it doesn't work and what I need to do so that it will work.

    Thanks in advance.
    Attached Files

    #2
    Hello ECI-Ed,

    You may want to view he following indicator that may help with drawing the text.
    JCNinjaTrader Customer Service

    Comment


      #3
      JC,
      Thanks for the response, but is there no way to accomplish this with the DrawText method?

      Comment


        #4
        DrawText will not give you the same flexibility of placing text so you would need to override Plot() if you wish to have it display in the right margin

        Other examples of this within NinjaTrader are the TickCounter Indicator and Pivots Indicator.
        Unfortunately we don't offer support on this method but can provide you with examples that you can reference.
        LanceNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        577 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X