Login Page - Create Account

Support Board


Date/Time: Tue, 26 Aug 2025 18:32:58 +0000



[Programming Help] - Toggle control bar buttons for a study

View Count: 260

[2025-05-15 16:40:55]
Steve Leon - Posts: 319
I would like to toggle a study on and off of a chart using a control bar button. I am able to add the study to the chart using the control bar button but i am not sure how to toggle the study off or hide it with a button ? Is there a way of doing this. It suggests on the internet that you can but i am not sure how or if you are able to?
Thank you
[2025-05-15 17:07:54]
John - SC Support - Posts: 41485
There is not an option to Hide or Unhide a study using a Control Bar button. But what you can do is to check the status of that button at the beginning of your study and then return immediately if it is enabled to not run the study.

Refer to the following:
Advanced Custom Study Interaction With Menus, Control Bar Buttons, Pointer Events
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account