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 Vietanhnguyen2hotmailcom, Yesterday, 10:29 AM
          4 responses
          23 views
          0 likes
          Last Post Vietanhnguyen2hotmailcom  
          Started by PhillT, 04-19-2024, 02:16 PM
          4 responses
          35 views
          0 likes
          Last Post PhillT
          by PhillT
           
          Started by ageeholdings, 05-01-2024, 05:22 AM
          5 responses
          37 views
          0 likes
          Last Post ageeholdings  
          Started by reynoldsn, Today, 02:34 PM
          0 responses
          14 views
          0 likes
          Last Post reynoldsn  
          Started by nightstalker, Today, 02:05 PM
          0 responses
          23 views
          0 likes
          Last Post nightstalker  
          Working...
          X