Support Board
Date/Time: Sat, 11 Jan 2025 23:00:53 +0000
Post From: ACS - Subgraph arrays
[2017-01-04 18:35:31] |
jizzary - Posts: 177 |
Further on the same issue as i'm reading yr documentation i found the foloowing (my answer is found follwoing the quote) ---------------------------------------------------------------------------------------------------------- Note: Some study functions that take arrays for input and output require a reference to a sc.Subgraph and not a reference to a SCFloatArray contained within a sc.Subgraph. An example is sc.MACD(). These functions will use the extra arrays contained within the passed sc.Subgraph (sc.Subgraph[].Arrays[]). Usually they will use 2 or 3 extra arrays, but it could be up to 6 to 8 extra arrays. After passing a Subgraph to one of these functions, you do not want to use one of these extra arrays in the sc.Subgraph for another purpose by writing to it. ----------------------------------------------------------------------------------------------------------- this means (unless text is unclear) that i should avoid using the extra arrays in order to keep my background info to be saved from one call to the next one - as calling such functions will overwrite my data so where can i keep intermediate background data that is expected to be used by following calls - should i use unamed sc.Subgraph[][] arrays ? |