Login Page - Create Account

Support Board


Date/Time: Mon, 23 Mar 2026 08:20:41 +0000



Stack corruption exception - s_ACSTrade

View Count: 35

[2026-03-22 15:18:08]
User907968 - Posts: 867
In versions 2888 and 2891 I'm seeing exception due to "stack corruption around variable 'trade'" when running studies built on earlier version (in this instance trade is s_ACSTrade used when looping over trades list).
Seems related to the addition of EntryInternalOrderID and ExitInternalOrderID as they are present in both 2888/2891 but not in the version the study was built on.
There is no error message sent to the message log (about the exception) and the chart either doesn't load fully, stops working correctly, or the entire program shuts down.
[2026-03-22 20:13:48]
Sierra_Chart Engineering - Posts: 23299
Sierra Chart will only set EntryInternalOrderID and ExitInternalOrderID in the s_ACSTrade structure, when the study version is built for version 2882 or higher and that is when they were added.

What version was the study built for?
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2026-03-22 20:15:37

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

Login

Login Page - Create Account