Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Set Panel for "Add"ed Indicator

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

    Set Panel for "Add"ed Indicator

    I'm "Add"ing a bunch of indicators (moving avgs, Bollinger bands, etc...) from inside my custom indicator. Is there a way to have some of them appear in Panel 1 (the main chart panel) and others appear in new Panels ?

    (I'm currently using Overlay=true and they all appear in Panel 1)

    #2
    Hi BAltman,

    Thank you for posting.

    You would want to set Overlay = false. Some of the indicators are set to plot in the same panel while other will plot in a new panel.

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hi Cal,

      If I have Overlay=false, how do I indicate which panel each "Add"ed indicator should display in ? I don't want to leave the decision to the indicator's default, I want to specify it explicitly...

      (I also have a few internally created plots that I want to control which panel they appear in...)

      Comment


        #4
        BAltman,

        This would require using unsupported code with in the NinjaScript.

        I will leave this thread open to see if any of our users have been able to accomplish this or would be able to guide you.

        Let us know if we can be of further assistance.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Any non-Ninja users that can help me on this ?

          Thanks !

          Comment


            #6
            adding to a specific panel

            BAltman,
            This was posted by NinjaTrader_Josh

            Its an old post. Don't know if it works now but It seems like according to this you could specify the panel before each add

            Jerry

            To choose which panel you want your indicator plotted on you can use this code snippet into the Initialize() section:
            Code:
            VOLMA(20).Panel = 2; Add(VOLMA(20));

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by AaronKoRn, Today, 09:49 PM
            0 responses
            10 views
            0 likes
            Last Post AaronKoRn  
            Started by carnitron, Today, 08:42 PM
            0 responses
            9 views
            0 likes
            Last Post carnitron  
            Started by strategist007, Today, 07:51 PM
            0 responses
            10 views
            0 likes
            Last Post strategist007  
            Started by StockTrader88, 03-06-2021, 08:58 AM
            44 responses
            3,980 views
            3 likes
            Last Post jhudas88  
            Started by rbeckmann05, Today, 06:48 PM
            0 responses
            9 views
            0 likes
            Last Post rbeckmann05  
            Working...
            X