Login Page - Create Account

Support Board


Date/Time: Sun, 21 Oct 2018 20:02:43 +0000



Post From: New Study Summary Window

[2018-01-01 20:42:56]
Sierra Chart Engineering - Posts: 65041
For example, in case if I want to read only the last value, I need to read the whole array. I was hoping in reading just the actual value from the Summary Window instead of several arrays of values
This is still not making sense to us because this is so simple and straightforward. To do this, refer to:
https://www.sierrachart.com/index.php?page=doc/ACSILProgrammingConcepts.html#UsingStudyData

It is fine to access the whole array. You then just simply access the last element at sc.ArraySize -1 (assuming the study is from the same chart). It is all very efficient. This is what the study summary window does internally.

And here is the documentation to access studies on other charts:
https://www.sierrachart.com/index.php?page=doc/ACSILRefOtherTimeFrames.php#DirectReferencing
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2018-01-01 21:01:00