Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 09:44:00 +0000



ACSIL - chart change and data loaded test- sc.SetDefaults or other initialization options?

View Count: 468

[2021-07-09 09:42:38]
ATricky1 - Posts: 16
Is there a way in ACSIL of:

1) Testing to see if a symbol has been changed on a chart
2) All data has been downloaded for a symbol on a chart

I need to run some code within a study only when both of the above have been fulfilled.

e.g. only AFTER a chartgroup chart has been loaded and the data has been downloaded or the chart symbol has been changed and the data downloaded.

Thanks in advance.

Edit: Reason: If a user drawn drawing (drawn in ACSIL) is, for example, moved mid chart I need it to be always re-positioned beyond the rightmost bar in the chart after the chart load but only as a one off event. After that it can be re-positioned again.
Date Time Of Last Edit: 2021-07-09 11:31:03
[2021-07-09 15:24:35]
John - SC Support - Posts: 31627
1) Refer to the following:
ACSIL Interface Members - Variables and Arrays: sc.Symbol

2) Refer to the following:
sc.ChartIsDownloadingHistoricalData()
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-07-09 16:45:09]
ATricky1 - Posts: 16
Nice one John. Thanks. I just found finally sc.Symbol a few minutes ago but hadn't seen sc.ChartIsDownloadingHistoricalData().

Richard

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

Login

Login Page - Create Account