Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hide buttons when switching chart panels

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

    Hide buttons when switching chart panels

    Hello,

    I have added my custom indicator to the first chart, CL 10 range.
    On the same window (different tab) - I have other charts where my indicator is not added.

    This indicator adds 2 buttons to the panel above chart (where Chart Trader, Data Series and other buttons are).
    How can I make them disappear when I switch from the first chart to other and reappear when I go back to the chart where this indicator is added ?

    Regards,
    Darek

    #2
    Hello Darek,

    Thanks for your post.

    My colleague Chelsea has shared some examples for adding UI controls to a chart and uses the Chart Window's MainTabControl.SelectionChanged event handler to pick up on when the tab changes to make those items invisible when switching tabs.

    You could check the ChartToolbarCustomMenuExmaple for further direction.

    These scripts can be found here - https://ninjatrader.com/support/foru...considerations

    Please let us know if there is anything else we can do to help.

    Comment


      #3
      Hello Jim,

      That's exactly what I needed.

      Thank you
      Darek

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      633 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      364 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      567 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      568 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X