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

Drawing Objects on Multiple Panels

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

    Drawing Objects on Multiple Panels

    I've created an indicator with drawing objects on an Oscillator panel. Can you please tell me how I can put duplicate drawing objects on the price panel?
    thanks

    #2
    Hi Ken,

    This will have to be in a separate indicator. Draw objects are drawn in their own panel or the price panel, depending on property DrawOnPricePanel
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Y'all have BROKEN this Ryan. It used to be that an indicator did write to both Price & Indicator panel by changing DrawOnPricePanel in the OnBarUpdate code. It needs to be fixed.

      Comment


        #4
        Thank you for your suggestion, LostTrader. I will forward your suggestion for dynamic control of this property.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Has this been fixed yet? Can I use an Oscilator panel and a price panel for an indicator?

          Comment


            #6
            Hi Ken,

            Thanks for the follow - up. Currently this remains a feature suggestion for consideration in a future release. Unfortunately, no time frame on when or if this will be changed is available.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Ryan, please look into raising the priority on this.
              Since y'all refused to multi-thread charting, NT7 is still bottle-necked real-time. Now NT7 is even worse than 6.5 because now we are supposed to duplicate indicator resources to do what one used to do before. It is not logical.

              Comment


                #8
                You can see how to make this work in the current version at BigMikes. Here is the thread.
                I've attached the indicators and will provide links as well. I'm also attaching a screenshot that shows both components of the smittyMASlopeMonitor more clearly than the previous post. The SmittyMASlopeMonitor indicator window has two main things it displays, which wasn't obvious from the original screenshot. It paints the background of the indicator window, which is either uptrend or downtrend. The other that thing that it prints is 5 moving averages. I changed the colors of the moving averages …

                Look around post #1342. You need to be an Elite member to see this though.

                Dan
                eDanny
                NinjaTrader Ecosystem Vendor - Integrity Traders

                Comment


                  #9
                  Just explicitly set DrawOnPricePanel = true; in the Initialize() method. After that, you can switch in OnBarUpdate(). Please do not ask me why: I discovered it quite by accident myself while I was troubleshooting the same issue with one of my indicators that worked correctly in NT6.5, but would not cut the mustard in NT 7.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by gbourque, Today, 06:39 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post gbourque  
                  Started by cmtjoancolmenero, Yesterday, 03:58 PM
                  1 response
                  17 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by benmarkal, Yesterday, 12:52 PM
                  3 responses
                  23 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by helpwanted, Today, 03:06 AM
                  1 response
                  20 views
                  0 likes
                  Last Post sarafuenonly123  
                  Started by Brevo, Today, 01:45 AM
                  0 responses
                  12 views
                  0 likes
                  Last Post Brevo
                  by Brevo
                   
                  Working...
                  X