Support Board
Date/Time: Fri, 31 Jan 2025 22:46:38 +0000
Post From: ACSIL Global Variables are seen between chart books
[2019-05-29 16:17:28] |
ForgivingComputers.com - Posts: 992 |
In the documentation (ACSIL Programming Concepts: Global Variables), it says: "There are generally 2 reasons why global variables would be used. 1. To share data between multiple study functions. 2. To maintain data between calls to your study function."
I wish to do both of the above, but keep the variables from being shared across chartbooks. Persistent variables only maintain data between calls to the study function. Apparently, global variables truly are global within the application. Is there any way to share variables between multiple study functions and limit them to the chartbook they are a part of? |