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