Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 08:44:08 +0000



Post From: Importing study in ACSIL code, any other way than that ?

[2023-12-21 14:03:42]
BenjFlame - Posts: 324
Hi,
I usually import study subgraph data in my ACSIL code like so:


SCFloatArray heikenOpen;
if (sc.GetStudyArrayUsingID(5, 1, heikenOpen) >= 0 && heikenOpen.GetArraySize() > 0)
{

Subgraph_Ref_HeikenOpen[sc.Index] = heikenOpen[sc.Index];
}

Isn't there a less verbose way to do so ?