Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 10:43:52 +0000



[Programming Help] - ACSIL error

View Count: 290

[2022-11-29 19:57:54]
User509820 - Posts: 69
Hello, I have this code build a few years ago. Went back to remote build it. Have this error. Any idea or do I need to provide more of the code?

The remote build did not succeed. Result:

Bot201.1.cpp: In function 'int OrderQuantity(SCStudyInterfaceRef, int, int)':
Bot201.1.cpp:129:47: error: '__gnu_cxx::__alloc_traits<std::allocator<s_ACSTrade>, s_ACSTrade>::value_type' {aka 'struct s_ACSTrade'} has no member named 'ClosedProfitLoss'; did you mean 'TradeProfitLoss'?
129 | TradePL = TradesList[TradesList.size() - 1].ClosedProfitLoss;
| ^~~~~~~~~~~~~~~~
| TradeProfitLoss
Date Time Of Last Edit: 2022-11-29 19:58:29

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

Login

Login Page - Create Account