Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 16:45:51 +0000



GetStudyArray and GetStudyArrayFromChart : Clarification of Operation

View Count: 1112

[2013-11-30 00:33:50]
Kiwi - Posts: 374
Are these assumptions correct please:

1. study arrays are maintained in ram so access is fast via pointer arithmetic

2. a call to the GetStudyArray or its variants just maps a pointer to an array existing in ram rather than copying an array

3. a call to the GetStudyArrayFromChart just maps a pointer to an array existing in ram rather than copying an array

4. if an array is copied, how much is copied each time the call is made?

Thanks; I'm trying to make sure I take an efficient approach to a new project.
[2013-11-30 01:30:00]
Sierra Chart Engineering - Posts: 104368
1, 2, 3. Yes.

4. No copy occurs.
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