Support Board
Date/Time: Wed, 05 Feb 2025 23:53:36 +0000
Post From: Sierra Chart Crashing after an Upgrade
[2020-04-02 21:39:34] |
User272786 - Posts: 13 |
After a version upgrade, following runtime error started happening (around a Custom Study code): "...Run-Time Check Failure #2 - Stack around the variable 'tradeStats2' was corrupted" following is the related code section: n_ACSIL::s_TradeStatistics tradeStats2;
if (sc.GetTradeStatisticsForSymbolV2(n_ACSIL::STATS_TYPE_DAILY_ALL_TRADES, tradeStats2)) { sp.EquityPeak = tradeStats2.EquityPeak; sp.EquityValley = tradeStats2.EquityValley; } How can I get rid of this runtime error?...currently I am running this Custom Study without this section of code. Also I have done another version upgrade recently, still this run time error happens, if this section of code is used. Thanks Date Time Of Last Edit: 2020-04-02 21:42:48
|
SCRuntimeError.jpg / V - Attached On 2020-04-02 21:30:07 UTC - Size: 7.5 KB - 180 views |