Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 02:50:00 +0000



[Programming Help] - Problem with GetTradeListEntry

View Count: 290

[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: 17166
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