Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 21:00:13 +0000



Error in sample code in docs

View Count: 816

[2019-03-13 11:37:59]
jmt816 - Posts: 45
Just noticed that there is a small error in the sample code at: Using ACSIL Study Calculation Functions: Example Source Code

near the very end, it says "Array8" which has not been defined. This should be Array11.

also, the documentation (a few lines above where the sample is) refers to MAX_STUDY_EXTRA_ARRAYS. This is not defined in scconstants.h and when i was curious about what that value is, i was unable to find a definition in any of the source or header files in ACS_Source directory.

Thanks :)
Date Time Of Last Edit: 2019-03-13 11:44:20
[2019-03-13 18:58:34]
Sierra Chart Engineering - Posts: 104368
Both of these are now corrected.
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
[2019-03-14 09:56:35]
jmt816 - Posts: 45
Liked the more descriptive rename of the array :)
RE: the MAX_STUDY_EXTRA_ARRAYS, the documentation still mentions that constant, and no new source files have been pushed out (yet?).
Was unclear whether the "now corrected" was supposed to mean that the article would get a #, or if MAX_STUDY_EXTRA_ARRAYS would be added to scconstants.h (or some other header file)?
[2019-03-15 04:29:28]
Sierra Chart Engineering - Posts: 104368
In the next release which is now out, 1883, this constant is now defined.
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
[2019-03-15 09:41:31]
jmt816 - Posts: 45
TY. One thing worth mentioning (especially in case anyone is following this thread) is that 1883 is the new PRE-release version, not the release version, as of this writing.

Suggestion to support: when saying things like "next release which is now out" to be clear whether that is a PRE-release version or final release.

Thanks for your prompt handling of the underlying issue, tho! :)

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

Login

Login Page - Create Account