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 ghoul, Today, 06:02 PM
            3 responses
            14 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            44 views
            0 likes
            Last Post jeronymite  
            Started by Barry Milan, Yesterday, 10:35 PM
            7 responses
            20 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by AttiM, 02-14-2024, 05:20 PM
            10 responses
            180 views
            0 likes
            Last Post jeronymite  
            Started by DanielSanMartin, Yesterday, 02:37 PM
            2 responses
            13 views
            0 likes
            Last Post DanielSanMartin  
            Working...
            X