Login Page - Create Account

Support Board


Date/Time: Thu, 23 Jan 2025 09:26:19 +0000



[Programming Help] - ACSIL-how to store bar index and time at certain indicator event

View Count: 1371

[2018-11-12 17:56:37]
User525733 - Posts: 126
Hi folks,

I am starting out with ACSIL. I need to store the chart bar's array index and time where a specific indicator event happened....for example store bar index and time where two moving averages cross.

how can we do that in ACSIL? what are the specific ACSIL member functions/variables involved?

thanks
[2018-11-13 02:24:45]
User525733 - Posts: 126
engineering,

can you think of a study where something similar is implemented so i can take a look and work backwards?
[2018-11-13 10:43:52]
Sierra Chart Engineering - Posts: 104368
One thing you need to understand is persistent variables:
sc.GetPersistentInt()

And refer to this page:
Working with ACSIL Arrays and Understanding Looping
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