Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to draw line on top of bars?

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

    How to draw line on top of bars?

    Hi,

    I have 2 indicators on 1 panel:
    • first indicator consists of bars
    • second indicator is in form of line


    My problem is, that line is hidden, behind the bars.
    This happens if candlesticks are small (press Ctrl + UpArrow multiples times).
    In case, candlesticks are bigger, the line can be seen.

    But clearly, the line is not drawed on top of the bars, but below them.
    The order of indicators does not change anything.

    See picture:
    Attached Files

    #2
    Hello misova,

    Thanks for your post.

    You can change the "Z-order" relationship of the two indicators to bring the one behind in front.

    To adjust the z-order of an object:

    1. Select the chart object by left mouse clicking on it
    2. Hold down the "Shift" key on your keyboard and roll the mouse scroll wheel up or down to change the z-order of the object. As you scroll, the object's z-order will be displayed near your mouse cursor.

    Reference: http://ninjatrader.com/support/helpG...rt_objects.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you Paul!

      I was not aware of such a trick
      It works really fine.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by TradeForge, 04-19-2024, 02:09 AM
      2 responses
      28 views
      0 likes
      Last Post TradeForge  
      Started by aprilfool, 12-03-2022, 03:01 PM
      3 responses
      327 views
      0 likes
      Last Post NinjaTrader_Adrian  
      Started by giulyko00, Today, 12:03 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by f.saeidi, Today, 12:14 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by AnnBarnes, Today, 12:17 PM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Working...
      X