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 AaronKoRn, Today, 09:49 PM
          0 responses
          6 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Today, 08:42 PM
          0 responses
          9 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Today, 07:51 PM
          0 responses
          10 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,977 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          9 views
          0 likes
          Last Post rbeckmann05  
          Working...
          X