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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X