Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 16:05:00 +0000



Expose set of single values from the custom study

View Count: 596

[2019-04-16 15:44:55]
User972768 - Posts: 166
Hello,

I'm trying to build study that produces set of single values based on current chart. These are some statistics covering current price action. What would be the best way to expose these single values to user?

1) IMHO best way would be to store all values in persistent variables, but I don't believe that other study can access memory of my DLL. At least I'm not aware of the way
2) I can store them in last elements of subgraphs, but I can easily have more than 16 values to present (which is a limit on a number of subgraphs, please correct me if I'm wrong)

It would be great to connect those specific values with some text labels too, like "Stat #1" -> persistent float #5.

Thanks and best regards
[2019-04-16 17:56:17]
User972768 - Posts: 166
After more googling, came across this link: sc.GetPersistentIntFromChartStudy()

This answers my question about way to expose set of single values from my custom study

Best regards
[2019-04-17 03:21:28]
Sierra Chart Engineering - Posts: 104368
There are 60 Subgraphs per study and each subgraph contains an array of arrays:
ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].Arrays[][]
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

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

Login

Login Page - Create Account