Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Function to open settings panels

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

    Function to open settings panels

    Hello there,
    I'd like to know which function to call in order to open the settings panel from within an indicator? I have a button below the chart trader and would like to add the functionality, that when clicked the settings panel of the indicator is opened up. Basically the function from the top toolbar button.

    #2
    Hello Human#102,

    This is not supported or documented, but you can try the unsupported and undocumented code below.

    Code:
    myButton = new System.Windows.Controls. Button
    {
    Name = "MyButton" ,
    Content = "Button" ,
    Foreground = Brushes .White,
    Background = Brushes .Green,
    Command = ChartCommands.Indicators
    };
    Or
    Code:
    ChartCommands.Indicators.Execute(null);
    ​​
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you very much!

      Comment


        #4
        Hi again,
        The function works well, but I was wondering, how could I open the settings with the focus on the indicator? So e.g. if I have multiple indicators added to the chart, currently that function opens the indicators menu with the top most added indicator focused/selected. Can I set this focus to a specific indicator, like the one from which I call this method from?

        Comment


          #5
          Hello Human#102,

          Unfortunately, I would not have that information.

          This thread will remain open for any community members that may know of unsupported code to achieve this.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          581 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          338 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X