Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

drawing text

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

    drawing text

    In order to reveal some of what’s going on in my Strategy, I’d like to Draw Text at the bottom of each bar, for every Bar on my Chart. It looks like the DrawText() method could work, I’m not sure how draw the text at the bottom of the bar. Is this possible and if so how?

    Thanks,

    jhill

    #2
    Hi jhill,

    To draw on chart there is: DrawText() and DrawTextFixed(), as we discussed by email. In the future please post to the forum only rather than send in duplicate request by email and forum.

    DrawText draws where you tell it to. The position on the chart is the Y parameter. If you want to draw below every bar, draw at an offset of Low like: Low[0] - TickSize * 20.

    DrawText("myText" + CurrentBar, "someText", 0, Low[0] - TickSize * 20, Color.Black);
    Last edited by NinjaTrader_RyanM1; 09-16-2011, 02:16 PM.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks Ryan,

      Sorry for the dulication of messages. My fault.

      jhill

      Comment


        #4
        OK, no problem. Hopefully the information is useful and you can use to start drawing text on the chart. Have an excellent weekend!
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        670 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X