Support Board
Date/Time: Sun, 24 Nov 2024 08:20:04 +0000
ACSIL - storing persistent structs / other large data
View Count: 311
[2024-06-08 23:09:26] |
User740504 - Posts: 110 |
I know I can store ints, floats, etc. I'm writing an automated trading system which interacts with buttons on the control bar. These buttons enable/disable automated trading, move stop-losses, alter trade quantity, etc. Depending on what's going on they may have updated text, color, etc. I'm trying to store vectors of structs persistently to manage this, so I can query the state rather than have a long list of switch statements or nested if/elses in the main function. This keeps the creating of control bar functionality to one line (vec.push_back({... create struct ... }) and definition to a few lines (struct creation). What would be the best approach to manage this? Is this possible? Date Time Of Last Edit: 2024-06-08 23:19:15
|
[2024-06-09 01:03:33] |
Sierra_Chart Engineering - Posts: 17154 |
Refer to: ACSIL Programming Concepts: Dynamic Memory Allocations Within Study Instance 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 |
[2024-06-09 01:07:30] |
User740504 - Posts: 110 |
Not sure how I missed this. Looked all over. Thank you.
|
To post a message in this thread, you need to log in with your Sierra Chart account: