Support Board
Date/Time: Sun, 22 Dec 2024 19:50:27 +0000
Persistant nonbasic variable type
View Count: 1355
[2015-05-18 13:10:25] |
Hendrixon - Posts: 130 |
I wrote a study that uses several "deque" collections. to make them persistent I made the deques global (yes with sc.FreeDLL = FALSE). Study works fine when it's loaded once. I see now that to make the deques persistent per study instance I need to use "Dynamic Memory Allocation". http://www.sierrachart.com/index.php?page=doc/doc_ACSILProgrammingConcepts.html#DynamicMemoryAllocations I'm pretty stretched here with my programming abilities. What should be changed in the code example above to use a deque there instead of an array? |
[2015-05-19 04:51:40] |
Sierra Chart Engineering - Posts: 104368 |
Look at the attached file for an example.
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, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
RequestValuesFromServerAndDraw.cpp - Attached On 2015-05-19 04:51:09 UTC - Size: 7.02 KB - 655 views |
To post a message in this thread, you need to log in with your Sierra Chart account: