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

Overlay so shows on top

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

    Overlay so shows on top

    Hello,
    Regarding NT7. When I am plotting multiple plots on an indicator, is there a way to force one of the plots to show on top of the others. Currently, my line plot shows behind the bar plots. I would like the line plot to be on top. I have tried moving the order they are displayed in the code, but it doesn't seem to help.

    Any suggestions would be appreciated.

    Thanks,

    #2
    Originally posted by rgb_wins View Post
    Hello,
    Regarding NT7. When I am plotting multiple plots on an indicator, is there a way to force one of the plots to show on top of the others. Currently, my line plot shows behind the bar plots. I would like the line plot to be on top. I have tried moving the order they are displayed in the code, but it doesn't seem to help.

    Any suggestions would be appreciated.

    Thanks,
    Change the ZOrder of the indicator itself.

    Code:
    this.ZOrder = 10;
    in the Initialize() method.

    Comment


      #3
      koganam

      Thanks for your reply... I just need a bit more clarification.
      I am using, for example, Add(new Plot.....,PlotStyle.Bar,"Plot0"). statements for the different plots in the initialization section. I assume that I would then use the ZOrder statement after each "Add()" statement to set the priority. I am not sure what the actual ZOrder statement would be for the example above. How do I make the ZOrder statement point the the particular Add statement.

      Appreciate you help..

      Comment


        #4
        Originally posted by rgb_wins View Post
        koganam

        Thanks for your reply... I just need a bit more clarification.
        I am using, for example, Add(new Plot.....,PlotStyle.Bar,"Plot0"). statements for the different plots in the initialization section. I assume that I would then use the ZOrder statement after each "Add()" statement to set the priority. I am not sure what the actual ZOrder statement would be for the example above. How do I make the ZOrder statement point the the particular Add statement.

        Appreciate you help..
        Unfortunately, I believe the ZOrder statement applies to the indicator as a whole, so all of its plots will initially be at the ZOrder set. The ZOrder of individual plots can only be adjusted manually at this time.

        ref: http://www.ninjatrader.com/support/h...ng_a_chart.htm

        Comment


          #5
          Originally posted by koganam View Post
          Unfortunately, I believe the ZOrder statement applies to the indicator as a whole, so all of its plots will initially be at the ZOrder set. The ZOrder of individual plots can only be adjusted manually at this time.

          ref: http://www.ninjatrader.com/support/h...ng_a_chart.htm
          Thanks for the help here koganam, your understanding is correct.
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by lightsun47, Today, 03:51 PM
          0 responses
          2 views
          0 likes
          Last Post lightsun47  
          Started by 00nevest, Today, 02:27 PM
          1 response
          8 views
          0 likes
          Last Post 00nevest  
          Started by futtrader, 04-21-2024, 01:50 AM
          4 responses
          42 views
          0 likes
          Last Post futtrader  
          Started by Option Whisperer, Today, 09:55 AM
          1 response
          13 views
          0 likes
          Last Post bltdavid  
          Started by port119, Today, 02:43 PM
          0 responses
          8 views
          0 likes
          Last Post port119
          by port119
           
          Working...
          X