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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        59 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X