Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Each plot in a different panel

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

    Each plot in a different panel

    I would like to know if there is any way to make that each AddPlot, plots in the panel 1 and 2 from the folloowing example
    Click image for larger version

Name:	image.png
Views:	128
Size:	5.1 KB
ID:	1255998
    Thank you!!
    FVJ​

    #2
    Hello efeuvejota01,

    You would need to make two indicators to be able to do that, an indicator can only plot to its own panel.

    Comment


      #3
      Ok, Thank you!!!
      FVJ

      Comment


        #4
        One more Question:
        Is there any way to declare it as Plot, but prevent (it any of them) to Plot.
        (I need to declare them as plot because the value is going to be used in another Indicator.
        And in order to review the correct calculations, I only need one of them at the time to be shown in the chart.)
        Thank you...
        FVJ

        Comment


          #5
          You do not have to declare it as a plot to use the value in another indicator. Just expose a Series<double> or whatever and refer to the property by name.

          But, if you want to make them all plots, you can just make them transparent. You can then choose whether or not to show transparent plots in the data box.
          Bruce DeVault
          QuantKey Trading Vendor Services
          NinjaTrader Ecosystem Vendor - QuantKey

          Comment


            #6
            Hello efeuvejota01,

            There is a sample of exposing a series to another script in the following link. This sample uses a Series<bool> however that could be changed to any type like a Series<double> if you are trying to match how a plot would work.



            Comment


              #7
              Thank you Bruce!!!
              how do you
              show/hide transparent plots in the data box
              ??
              Click image for larger version

Name:	image.png
Views:	135
Size:	8.9 KB
ID:	1256121
              I made one transparent but it does not show in the DataBox...​

              FVJ

              Comment


                #8
                Hello efeuvejota01,

                Transparent plots are hidden by default, you can show them in the databox using ShowTransparentPlotsInDataBox. You will need to re apply the script to see this change take effect.

                https://ninjatrader.com/support/help...ub=transparent

                Comment


                  #9
                  Thank you for your answers!!!!
                  One more related question.
                  Is there any way to show a traditional 'Series<double>' in the Data Box??
                  FVJ

                  Comment


                    #10
                    Hello efeuvejota01,

                    No you would need to use a plot for it to appear in the databox. A series works essentially the same as a plot but lacks any of the visual features in the chart.

                    Comment


                      #11
                      Understood!!!
                      Thank you very much!!!
                      FVJ

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by argusthome, Yesterday, 10:06 AM
                      0 responses
                      18 views
                      0 likes
                      Last Post argusthome  
                      Started by NabilKhattabi, 03-06-2026, 11:18 AM
                      0 responses
                      17 views
                      0 likes
                      Last Post NabilKhattabi  
                      Started by Deep42, 03-06-2026, 12:28 AM
                      0 responses
                      14 views
                      0 likes
                      Last Post Deep42
                      by Deep42
                       
                      Started by TheRealMorford, 03-05-2026, 06:15 PM
                      0 responses
                      9 views
                      0 likes
                      Last Post TheRealMorford  
                      Started by Mindset, 02-28-2026, 06:16 AM
                      0 responses
                      38 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Working...
                      X