Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 10:37:47 +0000



Quick Clarification on SC.Index

View Count: 1713

[2013-06-25 19:20:11]
User45685 - Posts: 36
Dear Sierra Support,

when using sc.Index, will the newest bar or the oldest bar on the chart have an index of 0/1?

I.e are bars indexed like in the first or second picture? (assuming these are all the bars available for view in the current chart window)

http://www.sierrachart.com/Download.php?Folder=SupportBoard&download=705
http://www.sierrachart.com/Download.php?Folder=SupportBoard&download=706
imagescindex.PNG / V - Attached On 2013-06-25 19:19:50 UTC - Size: 24.4 KB - 816 views
imagescindex2.PNG / V - Attached On 2013-06-25 19:19:53 UTC - Size: 24.51 KB - 821 views
[2013-06-25 20:46:44]
Sierra Chart - Max - Posts: 5730
Please refer to the documentation here:
https://www.sierrachart.com/index.php?l=doc/doc_ACS_ArraysAndLooping.html#ArrayIndexing
Sierra Chart Support
Date Time Of Last Edit: 2013-06-25 22:01:59
[2013-06-25 22:10:28]
Sierra Chart Engineering - Posts: 104368
The 2nd picture is correct. The documentation has been updated to make this clear:
https://www.sierrachart.com/index.php?l=doc/doc_ACS_ArraysAndLooping.html#ArrayIndexing
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
[2013-06-25 23:17:44]
User45685 - Posts: 36
Thanks!

Stage one of my indicator completed! :D

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

Login

Login Page - Create Account