Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 20:38:32 +0000



Post From: Using ACSIL, how can more than one ACS Control Bar button be active?

[2020-05-26 04:08:32]
Sierra Chart Engineering - Posts: 104368
We would like to help with this, and support multiple ACS Control Bar buttons to be enabled at the same time but that would cause an issue with existing studies that are relying on the current model.

As an alternative, what we recommend you do is that when a button is enabled, internally invert a boolean state variable that the button is associated with to remember the current state. After that disable the button so that it is no longer in an on and pushed in-state:
Advanced Custom Study Interaction With Menus, Control Bar Buttons, Pointer Events: sc.SetCustomStudyControlBarButtonEnable()

And then change the text of the button to indicate the current state (whether on or off):
Advanced Custom Study Interaction With Menus, Control Bar Buttons, Pointer Events: sc.SetCustomStudyControlBarButtonText()
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-05-26 04:09:13