Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add bottom plot and add data to it

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

    Add bottom plot and add data to it

    Hi,

    I would like to plot the data on the bottom chart of the chart panel. I can plot data using AddPlot() function. but it plots nicely if the scale matched with price range. I like to add one more plot at the bottom and add data to it from NinjaScript. Like plotting RSI indicator for example. Please let me know if you know how to do that.

    I can provide more information if needed
    Thanks
    Avi007

    #2
    Hello avi007,

    An indicator can only plot in one panel at once so for what you described you would need to use two indicators so one can plot in the chart area and one can plot in its own panel.

    To make an indicator use a new panel you can use IsOverlay = false;

    Comment


      #3
      Thank you for your reply. It kind of solves the problem not completely. I am building a strategy where some data that I generate needs to be plotted on main Panel with price vs Time and some data needs to be plotted on a new panel. When I use overlay, it plots everything into a new separate panel.

      May be the right question is: How can I create a new chart panel and draw data there using AddPlot()

      Comment


        #4
        Hello avi007,

        That's a little different in that case, a strategy can plot to multiple panels by using multiple indicators. There is a sample of plotting strategy date to a sub panel and the price panel in the following link: https://ninjatrader.com/support/help..._a_ninjasc.htm

        In that sample one indicator is using IsOverlay and the other is not, the strategy adds both indicators so it can plot in those areas.

        Comment


          #5
          Thank you, this is exactly what I was looking for.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          630 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          566 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X