Support Board
Date/Time: Fri, 12 Dec 2025 16:25:46 +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); |
| |
