Support Board
Date/Time: Tue, 16 Dec 2025 16:11:03 +0000
Post From: Reading Persistent variable in other study
| [2020-06-16 15:01:12] |
| User53601 - Posts: 107 |
|
thank you for your effort however I am not sure this is what I need. My intention is to have a dedicated persistent variable which can be shared accros all the studies on the chart. By other words, persistent variable which substitutes the global variable. The idea behind is, that I have multiple studies, each displays some Subgraphs ( for example DRAWSTYLE_POINT, DRAWSTYLE_POINT). These Subgraphs overlap and that is what I try to avoid. That is why I want to control the position of Subgraphs in particulat studies by help of that persistent (or global) variable. My understanding is, that by means of these two functions: SetPersistentIntForChartStudy GetPersistentIntFromChartStudy it is possible to set and get the value of some dedicated Persistent variable, here and there in all the studies on the chart. |
