Support Board
Date/Time: Mon, 19 May 2025 01:37:15 +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); |
![]() |