Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Solid Bars

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

    Solid Bars

    In 6.5 I was able to draw a line through a bar

    DrawLine("xLine"+CurrentBar, true, 0, High[0], 0, Low[0], Color.Gold, DashStyle.Solid, xwickwidth);

    In 7 the Bar Color seems to be overiding the line. It draws over the wick, but not the body. Any ideas?

    Thx.

    #2
    Hi BradB,

    In NinjaTrader 7, you can change the Z-order.

    Please see "New Chart Object Paint Ordering (z-order)" section at - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html

    For IDrawObject, you will need to unlock the objects first.
    More info at - http://www.ninjatrader.com/support/h...drawobject.htm
    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks Tim, but how do I set the Z order of my draw line to appear "on top" of my bar programmatically? I don't don't see any parameters in DrawLine to do this.

      Comment


        #4
        Hi BradB,

        This will have to be done manually.
        TimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        597 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        555 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X