Support Board
Date/Time: Wed, 15 Jan 2025 22:51:13 +0000
Post From: Array of persist var
[2017-09-08 17:57:04] |
User53601 - Posts: 106 |
Hello, I want to use the sc.Subgraph[x].Arrays[y] as an array of persist var. I want to set the values for sc.Subgraph[x].Arrays[y] only once, at the beginning of trading, It means: if ( sc.Index==0 ). My question is whether there is a limit, how many bars forward ( how far the y can be higher then sc.Index ? ) I can set the value of sc.Subgraph[x].Arrays[y], for example is this a valid code?: if ( sc.Index==0 ) { sc.Subgraph[1].Arrays[2000] = 1 ; } thank you |