Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 22:12:56 +0000



Post From: ACSIL: Controlling Visibility of Studies in Other charts

[2018-07-13 17:30:40]
Jezz - Posts: 33
Hi

Trying to code a button for hiding some studies, followed the idea described in
https://futures.io/sierra-chart/26630-hide-show-studies-buttons-study.html#post346912

and found that sc.SetStudyVisibilityState (sc.SetStudyVisibilityState) only hide studies for the same chart, not for other charts.
If there is a solution, I didn't I find it, and appreciate any pointer.
If unimplemented, as an idea, a new function like sc.SetChartStudyVisibilityState could accept appropriated arguments to identify the study.

Thanks in advance


PD: The code in the above link needs a couple of tweaks in order to be compiled in recent versions:
1. Rename sc. MouseEventType to sc.PointerEventType as suggested in Problems compiling Study | Post: 95057
2. Definition of constants SC_ACS_TOOLX as X
3. Clean up the #includes