Support Board
Date/Time: Wed, 05 Mar 2025 04:29:07 +0000
Post From: create a custom C++ class that manages trade/logic
[2022-01-08 18:15:41] |
Bet_More_Tim - Posts: 21 |
This might be of interest, idk, but here is an example template of using a controller class persistent pointer to manage study class instance, a static factory, which manages the lifecycle of an acsil study (c++ design pattern implemented with assistance thanks to a very helpful SC user!) Basically the same as above, but you can have multiple studies being controlled https://github.com/TimJones7/SierraChart_ACSIL_Template *btw this is a good starting point to build off, I'm still working on touching it up and adding comments and such I'm not 100% sure, (still learning myself) but if class vars are made static, won't they remain in memory for the duration of the program and not just when the function that 'created' them (aka acsil entryway) goes out of scope? Date Time Of Last Edit: 2022-01-08 18:18:14
|