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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        153 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        89 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        133 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        128 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X