Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 08:40:57 +0000



Post From: Using ACSIL To Access the subgraph value of a Study

[2023-02-19 00:21:19]
Ticks - Posts: 183
Still a no-go.
using

SCGraphData name;
SCFloatArrayRef name2 = name[3];
sc.GetStudyArray(3, TrendDirection0, name2); //TrendDirection0 added as an input to keep from going into the code to set a number
float trend = name2[sc.Index];
Subgraph_DataTester[sc.Index] = trend;//visual output to chart

I cycled thru numbers 0 to 10 and it only returns the value of the first subgraph when the input is a 1.
All other numbers return a 0 as output.