Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 10:38:25 +0000



Post From: ACSIL - How to draw multiple lines on the chart and read price of line from another study

[2024-04-03 07:38:33]
emmanuel - Posts: 37
If you know the size of the array that you need, then you can use `sc.[Get|Set]PersistentPointer()` to dynamically allocate the memory for the array. See ACSIL Programming Concepts: Dynamic Memory Allocations Within Study Instance

If you need an "array" which grows dynamically, then you can use a vector from the standard C++ library. But memory allocation for classes is different in ACSIL. See ACSIL Programming Concepts: Allocating Memory for Classes