Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 20:01:49 +0000



[Programming Help] - Problem with GetTradeListEntry

View Count: 101

[2024-03-29 16:04:26]
User615988 - Posts: 3
Hello,

our study is making use of GetTradeListEntry function. It was working fine with Rel. 2415 but after upgrading to the latest version, It is not working anymore and i got the erroe message:

2024-03-29 15:50:05.703 | Warning: The Custom DLL study "Market_Pressure_Strategy.scsf_BW_Trading_Algo0" has just caused a CPU exception. *

the piece of the code where this problem occurs:

if (sc.GetTradeListEntry((sc.GetTradeListSize() - 1), ACSTrade) {
// some code
}

any idea how to mitigate this issue ?

br
[2024-04-01 16:46:07]
User615988 - Posts: 3
any ideas here what could be the problem with this sierra chart version ? given the fact that the code was working in older versions without problems.
[2024-04-03 02:08:02]
Sierra_Chart Engineering - Posts: 14143
Do you have the source code? Rebuild it under the current version.
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

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

Login

Login Page - Create Account