Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 02:34:39 +0000



Post From: Create MA w/in ACSIL

[2015-02-09 21:08:06]
SgtJ - Posts: 154
Trying to create a mov ave of bar range w/in ACSIL. I know this can be done natively w/ the gui. Can anyone tell me what I'm doing wrong? Tried a few other possibilities to no avail...this is the gist of it. ty

float range = (sg.BaseDataIn[SC_HIGH][Index] - sg.BaseDataIn[SC_LOW][Index]);
sg.SimpleMovAve(range[SC_LAST],sg.Subgraph[11],Index,10);
float rangeave = sg.subgraph[11][Index];