Support Board
Date/Time: Mon, 25 Nov 2024 04:39:55 +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: 57 |
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 |