Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 20:58:03 +0000



use-case examples for OpenChartOrGetChartReference, getChartNumber, setChartNumber

View Count: 713

[2019-08-24 19:54:35]
Chad - Posts: 231
Hi SCE, are there additional use-case examples for sc.OpenChartOrGetChartReference, getChartNumber or setChartNumber, aside from the examples in ACS_Source\Studies.cpp?

Basically I want to read a list of symbols (and any study names listed for each one) from a CSV file (using sc.OpenFile presumed), then assign these to a set of Chart windows...seems doing a 'watchlist scan' can't be done since the flexibility I need for study configs doesn't allow fixed settings to be done for each window.

Would sc.OpenChartOrGetChartReference alone be able to achieve this objective?
Date Time Of Last Edit: 2019-08-24 19:58:10
[2019-08-26 15:53:39]
Chad - Posts: 231
On a separate note, is there a comprehensive list within the documentation (or a source script within \ACS_Source) of all members allowed for use within the sc.SetDefaults structure? i.e. sc.MaximumPositionAllowed, sc.SupportReversals, etc.
Date Time Of Last Edit: 2019-08-26 15:54:27
[2019-08-26 18:16:22]
Sierra Chart Engineering - Posts: 104368
You cannot fully do what you want because you cannot add a study to a chart using ACSIL. Although we do have a function we are working on to add a Study Collection to a chart.

In regards to the second post, no but complete information in regards to this is explained here:
ACSIL Interface Members - Variables and Arrays: sc.SetDefaults
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: 2019-08-26 18:16:53
[2019-08-26 18:44:34]
Chad - Posts: 231
Thanks, SCE. Any guesstimate on when the fcn for adding a Study Collection to a Chart will be released?

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

Login

Login Page - Create Account