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.

    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()

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        173 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        91 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        129 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        208 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        186 views
        0 likes
        Last Post CarlTrading  
        Working...
        X