Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

New panel for a new indicator

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

    New panel for a new indicator

    Hello,

    I'm a little bit lost when creating a new panel with a diferent indicator through ninjascript.

    I didn't find a sample. It's just plotting and indicator on the main data series and another on a new panel.

    Need some help

    thanks

    #2
    Hello,

    In your Initialize() method you can specify Overlay = false;



    Once you've done this, you can remove the indicator from the chart and re-add it and it should default to the panel below.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Thanks for your reply,

      I think I didn't explain very well. I need one indicator on the main window and another different on a secondary panel. It seem that what you told me it just puts the indicator on the main window on a secondary panel. I need both.

      Comment


        #4
        You mean from the same indicator, you'd like to plot on both the main panel and the secondary panel?

        Or do you mean you have two instances of an indicator, where one would be in the main and the other would be in the secondary?

        I look forward to assisting you further.
        MatthewNinjaTrader Product Management

        Comment


          #5
          Indicator secondary panel.

          To be more clear I paste an image. I have an average indicator on the main chart and MACD on the secondary panel.

          How would you programmaticaly do this? (I attach an image)

          thanks
          Attached Files

          Comment


            #6
            Hi,

            You cannot do that from a single indicator programmatically. You can either plot on the main panel or to the indicator panel, but not both.

            In order to set this up, you'd need to manually add the indicators to the chart and then set each instance of the indicator to the desired panel.
            MatthewNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            85 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            47 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            67 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X