Support Board
Date/Time: Thu, 28 Nov 2024 23:40:12 +0000
[Programming Help] - ACSIL Custom Array Question reference
View Count: 460
[2023-03-12 16:32:49] |
User213910 - Posts: 13 |
Hi, i have an Custom 2D Array (Array[Variable][12]) in an Study(1). How can i get this Array Data in another Study(2) for e.g. on an other timeframe Chart? GetPersistent will not do Arrays, or? Thanks for help Date Time Of Last Edit: 2023-03-15 17:01:17
|
[2023-03-15 17:00:11] |
User213910 - Posts: 13 |
Anyone can help please?
|
[2023-03-15 17:55:49] |
Tony - Posts: 522 |
I assume those 2 charts are in the same chartbook, and 2 studies are in the same .cpp/.dll file What I am doing now is put array outside/above those 2 studies as public, then both studies will have access. The coding part could be tricky though, especially when both studies need to change the values of that array. |
[2023-03-16 09:49:16] |
User213910 - Posts: 13 |
Thank you very much, i will try that. The 2.Study only needs to read the Data.
|
[2023-03-16 17:33:17] |
User275839 - Posts: 61 |
There is this on using globals in the Sierra docs as well: ACSIL Programming Concepts: Global Variables |
To post a message in this thread, you need to log in with your Sierra Chart account: