Support Board
Date/Time: Wed, 27 Nov 2024 23:50:16 +0000
ACSIL accessing persistent variables in another study on same chart
View Count: 432
[2023-07-01 04:42:44] |
William O - Posts: 16 |
I want to access the persistent variable values bar by bar of another study on the same chart during a recalculation . Is this possible? In other words here is the sequence I'm trying to achieve in a recalculation: Study A is called for sc.Index = 0 and sets the persistent int to 10 Study B is called for sc.Index = 0 and accesses Study A's persistent int with the current value of 10 Study A is called for sc.Index = 1 and sets the persistent int to 20 Study B is called for sc.Index = 1 and accesses Study A's persistent int with the current value of 20 etc... Do studies under the same chart recalculate this way, sequentially called bar by bar? I'm attempting to do it using automatic looping where Study B accesses Study A's persistent pointer variables using sc.GetPersistentPointerFromChartStudy. However, study B is only getting the final value of Study A's persistent pointer. It seems all bars are processed in Study A then Study B's bars are all processed. Thank you |
[2023-07-01 09:29:04] |
Sierra_Chart Engineering - Posts: 17198 |
No definitely not: I want to access the persistent variable values bar by bar of another study on the same chart during a recalculation . Is this possible?
No definitely not: Do studies under the same chart recalculate this way, sequentially called bar by bar? Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2023-07-01 09:29:37
|
To post a message in this thread, you need to log in with your Sierra Chart account: