Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 01:45:57 +0000



sc.Index set to zero at new session starts?

View Count: 875

[2017-01-24 02:50:53]
User103949 - Posts: 78
If I set the session start at 17:00:00 and session end at 16:00:00, will the sc.Index be reset to 0 when a new session starts?
[2017-01-24 05:13:49]
Sierra Chart Engineering - Posts: 104368
No. How this works is documented on 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
[2017-01-24 16:31:37]
User103949 - Posts: 78
Do you mean when using automatic looping, sc.ArraySize will keep growing as long as i don't close my chart, so as sc.Index?
I think my original question should be will sc.ArraySize set to 0 when new session starts?
Date Time Of Last Edit: 2017-01-24 16:37:22
[2017-01-24 17:15:48]
Sierra Chart Engineering - Posts: 104368
Do you mean when using automatic looping, sc.ArraySize will keep growing as long as i don't close my chart, so as sc.Index?
Yes this is correct.

I think my original question should be will sc.ArraySize set to 0 when new session starts?
No.
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
[2017-01-27 01:54:56]
User103949 - Posts: 78
I noticed my sc.ArraySize was around 45000 at 19:50 at night. I am setting my chart at 1 tick level.
According to what you described above, sc.ArraySize should always increase, but after one day of running my study without stopping, there was no way that the sc.ArraySize is only 45000. I could not monitor my study during session close time, which was between 16:00 and 17:00. So my only conclusion was sc.ArraySize is related to how many days to load( I set 1 in the chart setting) and when is the session start and end time.

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

Login

Login Page - Create Account