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

Is it possible to assign Values to different panel.

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

    Is it possible to assign Values to different panel.

    I have different Values[0][0] ....Values[5][0].

    However, the last two alues[4][0] and alues[5][0] are very small making difficult for me to see it.
    You can refer the picture below.

    I like to move those 2 values to the new panel so that i can see it clearly.
    Any guide to do this ??
    Attached Files

    #2
    Hello cincai,
    What you can readily do is to add another instance of this indicator to chart & be sure to put it on new panel, now you can make the initial plots as Transparent & retain only the last plots with negligible values here. In original instance make the last plots Transparent to retain original plots only. You can save these settings of both indicators as templates from indicator settings dialog so don't have to do this every time, simply load the indicator template & you're good to go.

    Another way from code itself would be to identify the panel index & based on it apply transparent brushes to what is not required. You can also have a public bool variable to allow you do this at any time from indicator settings.
    Hope it helps!

    Comment


      #3
      Bro, i dont know what you taking about.
      Nvm, thanks ya

      I will wait for the customer service

      Comment


        #4
        Sry to mentioned that not that helpful.

        Comment


          #5
          Hello cincai,

          Thanks for your post.

          An indicator can only send its plots to one panel, either the price panel or an indicator panel (using IsOverLay = true/false).
          Reference: https://ninjatrader.com/support/help...?isoverlay.htm.

          Alternatives are:

          1) Create a new indicator where you plot only the low values plots in an indicator panel (and remove the low value plots from your original indicator)
          2) With the existing indicator, add a price offset to the indicator values so that they plot within your visible price range.
          Paul H.NinjaTrader Customer Service

          Comment


            #6
            Hello,
            Let me share a link to another thread with almost same requirements, NinjaTrader_Kate also shared an example as explained in Post # 2, find below link:-
            Hello Support & Forum, I would like to use the same indicator for both the price panel and a subpanel. I am changing the color of plots based on which panel they are plotted in. Those meant for the subpanel would be transparent in the price panel and those meant for the price panel would be transparent in the subpanel. I

            Also attaching the example indicator for reference.
            Hope it helps!
            Attached Files

            Comment


              #7
              NinjaTrader_PaulH
              Are you kidding me ??


              I don't think I didn't make my question very clear.
              Please read back what I want.

              What you provide is totally different answer.
              Can you be more serious a bit ??

              Don't just answer question randomly.

              Comment


                #8
                Thanks s.kinra
                Please don't send anything already.

                Let the customer service handle this.
                As usual, what you provide is out of my question.

                Comment


                  #9
                  Hello cincai,

                  Thanks for your reply.

                  NinjaTrader_PaulH
                  Are you kidding me ??


                  I don't think I didn't make my question very clear.
                  Please read back what I want.

                  What you provide is totally different answer.
                  Can you be more serious a bit ??

                  Don't just answer question randomly.
                  Okay, just to clarify, my understanding is that you have 5 plots in the price panel, is that correct?

                  2 of those 5 plots are a very small value relative to the other three that are closer to price values, is that correct?

                  The issue then, as I understand it, is that you want to better visualize the 2 plots that have very small values, by displaying them in an indicator panel, is that correct?

                  If the answer to these 3 questions is yes, then my answer to you in post #5 is the answer and I am not kidding.





                  Paul H.NinjaTrader Customer Service

                  Comment


                    #10
                    But when enable IsOverLay = false;
                    then all the plot will go to another panel.

                    What I want is to just move last two plot into another panel.
                    And all these want to be done in 1 same indicator.

                    Comment


                      #11
                      Hello cincai,

                      Thanks for your reply.

                      Correct, IsOverlay directs the indicators plots to either the price panel or the indicator panel. As I advised in my initial reply, "An indicator can only send its plots to one panel..."

                      To repeat, you cannot have one indicator send plots to more than one panel.

                      Plots can only be directed to one panel as determined by the state of IsOverLay.

                      "Alternatives are:

                      1) Create a new indicator where you plot only the low values plots in an indicator panel (and remove the low value plots from your original indicator)
                      2) With the existing indicator, add a price offset to the indicator values so that they plot within your visible price range."


                      Paul H.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by bmartz, 03-12-2024, 06:12 AM
                      5 responses
                      32 views
                      0 likes
                      Last Post NinjaTrader_Zachary  
                      Started by Aviram Y, Today, 05:29 AM
                      4 responses
                      12 views
                      0 likes
                      Last Post Aviram Y  
                      Started by algospoke, 04-17-2024, 06:40 PM
                      3 responses
                      28 views
                      0 likes
                      Last Post NinjaTrader_Jesse  
                      Started by gentlebenthebear, Today, 01:30 AM
                      1 response
                      8 views
                      0 likes
                      Last Post NinjaTrader_Jesse  
                      Started by cls71, Today, 04:45 AM
                      1 response
                      7 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Working...
                      X