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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        164 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        319 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        246 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X