Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 15:48:48 +0000



Post From: ACSIL - Couple of questions on sc.GetStudyArrayUsingID

[2016-11-06 13:29:11]
ejtrader - Posts: 688
For anyone interested - Here is the solution for this.


SCGraphData ReferenceArrays;
sc.GetChartBaseData(sc.ChartNumber, ReferenceArrays);

int RefDataIndex = sc.GetNearestMatchForDateTimeIndex(sc.ChartNumber, sc.Index);

SCString Message;

Message.Format("GetArraySize: %d", ReferenceArrays[SC_OPEN].GetArraySize() - 1);
sc.AddMessageToLog(Message, 0);

Message.Format("RefDataIndex: %d", RefDataIndex);
sc.AddMessageToLog(Message, 0);

imagesc_GetArraySize_corrected.jpg / V - Attached On 2016-11-06 13:29:02 UTC - Size: 22.07 KB - 349 views