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

Price Panel

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

    Price Panel

    Hi,

    Is there a way to specify (using code) the price panel number on which you would like indicator output to be drawn? Please advise. Thank you.

    #2
    Hello,

    Thanks for your post.

    There is no way to specify the panel number in code, but you could use either isOverlay or DrawOnPricePanel.

    Using isOverlay decides whether the indicator is on the price panel as a whole (true) or in it's own panel (false).

    Using DrawOnPricePanel will not affect plots but will determine whether drawing objects will be on the input series panel (true) or in the indicators panel (false).

    I have included our help guide documentation on these two properties for your reference.

    isOverlay NinjaScript Reference

    http://ninjatrader.com/support/helpG...?isoverlay.htm

    DrawOnPricePanel NinjaScript Reference

    http://ninjatrader.com/support/helpG...pricepanel.htm


    If you have any further questions please let us know.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh. Appreciate the clarification.
      It would be a nice feature to have: the ability to specify the panel where you want your output.

      Comment


        #4
        Originally posted by Zeos6 View Post
        Thanks Josh. Appreciate the clarification.
        It would be a nice feature to have: the ability to specify the panel where you want your output.
        Use PanelUI? Read the NT Help.

        Comment


          #5
          Thanks for the hint koganam. Appreciate it. Will have a close look.

          Comment


            #6
            koganam,

            Thanks for the info re PanelUI. Interesting. It is a readonly property. Not sure what you were hinting at though as I'd like to be able to specify the panel to which I render.

            Comment


              #7
              Originally posted by Zeos6 View Post
              koganam,

              Thanks for the info re PanelUI. Interesting. It is a read-only property. Not sure what you were hinting at though as I'd like to be able to specify the panel to which I render.
              My mistake then. I thought that you wanted to know the panel to which the indicator was rendering. But, then again, I do not remember it being a read-only property. I must have been mistaken about that too. I apologize.

              Comment


                #8
                The internal tracking number for your feature request is SFT-2701. Please reference this internal tracking number if you ever have questions regarding this feature request.
                Josh G.NinjaTrader Customer Service

                Comment


                  #9
                  No problem koganam.I wasn't aware of PanelUI so it was good to become familiar with it. Thanks for the info.

                  Comment


                    #10
                    Hello, I have a problem with panel too.
                    I'm want make an indicator draw only on price panel, and i'm not want it open a new panel when user put it on graph.

                    I'm use in state: State.Configure :
                    IsOverlay = true;
                    DrawOnPricePanel = true;

                    But it's appear on a new panel if i'm not indicate, when i instanciate it on graphe on visual ui tab, Panel = Same as input series.

                    If i'm set in code Panel = 0;, the indicator is drawed correctly on chart, but a new empty panel still created.

                    So actualy the unique way i'm found to have it working properly it's the user who create the indicator on graph set Visual => panel => Same as ....

                    they are a way to force this from code ?

                    Thx.
                    Last edited by Twanaar; 10-30-2017, 10:29 AM.

                    Comment


                      #11
                      Hello,
                      The proper place to put IsOverlay and DrawOnPricePanel is in State.SetDefaults. I have included links to our help guide on these two properties.

                      DrawOnPricePanel
                      https://ninjatrader.com/support/help...pricepanel.htm

                      IsOverlay
                      https://ninjatrader.com/support/help...?isoverlay.htm

                      Please let us know if you have any further questions.
                      Josh G.NinjaTrader Customer Service

                      Comment


                        #12
                        My bad, thanks a lots for the clarification, setting this on SetDefault working well.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by mjairg, 07-20-2023, 11:57 PM
                        3 responses
                        213 views
                        1 like
                        Last Post PaulMohn  
                        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
                        4 responses
                        544 views
                        0 likes
                        Last Post PaulMohn  
                        Started by GLFX005, Today, 03:23 AM
                        0 responses
                        3 views
                        0 likes
                        Last Post GLFX005
                        by GLFX005
                         
                        Started by XXtrader, Yesterday, 11:30 PM
                        2 responses
                        12 views
                        0 likes
                        Last Post XXtrader  
                        Started by Waxavi, Today, 02:10 AM
                        0 responses
                        7 views
                        0 likes
                        Last Post Waxavi
                        by Waxavi
                         
                        Working...
                        X