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 Fitspressorest, Today, 01:38 PM
            0 responses
            2 views
            0 likes
            Last Post Fitspressorest  
            Started by Jonker, Today, 01:19 PM
            0 responses
            1 view
            0 likes
            Last Post Jonker
            by Jonker
             
            Started by futtrader, Today, 01:16 PM
            0 responses
            6 views
            0 likes
            Last Post futtrader  
            Started by Segwin, 05-07-2018, 02:15 PM
            14 responses
            1,791 views
            0 likes
            Last Post aligator  
            Started by Jimmyk, 01-26-2018, 05:19 AM
            6 responses
            844 views
            0 likes
            Last Post emuns
            by emuns
             
            Working...
            X