• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawText on top of bars

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

    DrawText on top of bars

    Hi,
    I'm trying to do something very simple, but it's proving hard.
    I am calling DrawText, but it's drawing the text UNDER some bars instead of on top. How do I force it to draw on top of any bars?
    Thanks ... Ed

    #2
    Hello Ed,

    Thanks for writing in.

    It is not supported to code what z order the drawing object would be placed however you can review the following forum topic on this subject on this.
    http://www.ninjatrader.com/support/f...t=45252&page=2
    BrandonNinjaTrader Customer Service

    Comment


      #3
      Thanks for the response. Where do you put this ZOrder = -1? Just prior to DrawText or in the Initialize method or someplace else. I tried it just prior to my DrawText and it had no effect.
      Thanks ... Ed

      Comment


        #4
        Hello edstaffin,

        Thanks for your reply.

        You can review the VolumeZones indicator that comes with NinjaTrader to see an example of this. It is placed under protected override void Initialize()
        BrandonNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by gemini42, Yesterday, 09:44 PM
        0 responses
        5 views
        0 likes
        Last Post gemini42  
        Started by martyn73, Yesterday, 03:09 PM
        0 responses
        2 views
        0 likes
        Last Post martyn73  
        Started by martyn73, Yesterday, 03:05 PM
        0 responses
        4 views
        0 likes
        Last Post martyn73  
        Started by mic414, Yesterday, 02:17 PM
        0 responses
        1 view
        0 likes
        Last Post mic414
        by mic414
         
        Started by U0000999, 11-15-2019, 06:18 PM
        1 response
        22 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Working...
        X