Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawTextFixed offset

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

    DrawTextFixed offset

    DrawTextFixed overwrites the NT copyright on the BottomLeft position. I would also like to have more then one indicator write to BottomLeft for example. Each indicator issuing DrawTextFixed to the BottomLeft would overwrite each other. How about adding a y-pixel offset to DrawTextFixed, so that you can displace the text written by a number of pixels vertically? That way you can actually write multiple lines in any position by offseting each line by a few pixels vertically.

    #2
    Hi monpere,

    Using the DrawText() instead will offer you a little more flexibility:


    Aside from that, this would involve some unsupported materials, perhaps look at how the Plot method is overridden in the TickCounter indicator.
    TimNinjaTrader Customer Service

    Comment


      #3
      I do use the DrawText(), and Plot() override to write text anywhere on the chart, but that requires much code to position the text precisely. For your users who are not advanced programmers, a simple y-pixel offset in DrawTextFixed() would give them more flexibility without needing to know how to do any advanced coding.

      Comment


        #4
        Hi monpere,

        Agreed, thank you for the suggestion, I will forward this to our development team for future consideration.
        TimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        600 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
        558 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