Login Page - Create Account

Support Board


Date/Time: Thu, 13 Mar 2025 01:43:25 +0000



Post From: How to access sc.BaseData data from an additional symbol in ASCIL?

[2022-05-30 09:15:53]
User431178 - Posts: 613
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.