Support Board
Date/Time: Tue, 04 Mar 2025 22:14:08 +0000
[Programming Help] - Please help variable transfer between different timeframes
View Count: 520
[2022-01-06 23:18:55] |
User411647 - Posts: 21 |
Dear support or traders I need transfer variable (big trades) from one trade TF to 1s TF Some ideas or experience ? I used sc.getpersistentint() variable works but i don't know how to return zero when updating new index in 1s TF Thanks :) |
[2022-01-07 15:44:02] |
1+1=10 - Posts: 270 |
There's two ways to do this: 1. On the 1 trade chart write the data into write the data into one of the extra array subgraphs. Then on the 1s chart use sc.GetStudyExtraArrayFromChartUsingID(): Extra Arrays: ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].Arrays[][] ACSIL Interface Members - Functions: sc.GetStudyExtraArrayFromChartUsingID() 2. Use a global variable: ACSIL Programming Concepts: Global Variables |
To post a message in this thread, you need to log in with your Sierra Chart account: