Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Good way to have both non and overlay plot

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

    Good way to have both non and overlay plot

    Hello Support team,

    I am developing my own indicator, which currently has six plots on its own panel and draw regions and arrows on the price panel. Now I need to take it to next level in which in would churn out plots in relation to price level, so it can be used building strategies. But setting overlay to true means the whole plots appear at the price panel. I would need at least two plots on the price panel.
    What is the best way to do this?

    Thanks.

    Best Regards.
    Edward Kunafi

    #2
    Edward,

    It is an all or nothing setting. You will likely need to break up your indicator into two to add one as overlay and one in its own panel.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      you can then use both indicators in a dummy strategy. So that by launching the strategy you will plot both indicators (you have to tell the strategy to plot them of course)

      Comment


        #4
        If your calculations are computationally expensive then duplicating them in two different indicators *could* become an issue if the indicators are tick based on a fast moving instrument like CL.

        One workaround is to create a base indicator which does most of the calculations and then use that indicator and the exported values in two new plotting indicators which do the plotting. NT caches indicators with the same signature (instrument and input parameters) so there will be only one instance of the calculation indicator active.

        You will have to make sure that the Update() function is called on the base indicator before you use a value in the two plotting indicators.

        Comment


          #5
          Method to have overlay and non-overlay plots

          Thank you all for the recommendation.

          Regards.

          Edward K

          PS: Happy New Year, Cheers!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          580 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          335 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          102 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X