Support Board
Date/Time: Fri, 20 Jun 2025 15:54:17 +0000
Post From: How to access sc.BaseData data from an additional symbol in ASCIL?
[2022-05-30 09:15:53] |
User431178 - Posts: 716 |
Get all the arrays using this - ACSIL Interface Members - Functions: sc.GetStudyArraysFromChartUsingID() Or get the specific array of interest using this - ACSIL Interface Members - Functions: sc.GetStudyArrayUsingID() Using your example, for number of trades data: SCFloatArray StudyReference3; if (sc.GetStudyArrayUsingID(23, SC_NUM_TRADES, StudyReference3) > 0 && StudyReference3.GetArraySize() > 0) { // do stuff.... } By the way, is the step of storing the ES in an array necessary?
No, not unless you want to.
|