Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 04:08:19 +0000



[Programming Help] - ASCIL - Storing Extra data from custom chart bars studies

View Count: 95

[2024-03-18 14:58:38]
hamezigno_esseco - Posts: 1
Greetings everyone,

I wish to implement a custom bar chart study using complex indicators.

However I would also like to display such indicators on the chart

It feels like to achieve this I would need to somehow tell the sc.fp_ACSCustomChartBarFunction member of the study to store those indicators somewhere, which could then be read by some other study

Can this be achieved ? And is there any other alternative ? Thanks !
[2024-03-23 21:28:02]
bradh - Posts: 854
You can have one study read the subgraphs of another study using sc.GetStudyArrayUsingID() which takes as inputs the Study ID and Subgraph of another study on the chart. The output is an SCFloatArray of values, one per bar, and accessible with sc.Index.

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

Login

Login Page - Create Account