Login Page - Create Account

Support Board


Date/Time: Fri, 14 Mar 2025 17:13:26 +0000



Post From: Study Reference

[2022-06-21 19:50:07]
User39772 - Posts: 311
Hello,

when I use the following code from your example:

if (sc.GetStudyArrayUsingID(sc.Input[1].GetStudyID(), 0, StudyReference) > 0
&& StudyReference.GetArraySize() > 0)
{

//Copy the study data that we retrieved using GetStudyArrayUsingID, into a subgraph data output array
sc.Subgraph[0][sc.Index] = StudyReference[sc.Index];
}


and when I display the sc.Subgraph[0] in the chart, I do not see all values from Index 0, only the values from new updated candles.

What can I do to see all values of historical data loaded also, even if real time data is switched off.