Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 16:51:09 +0000



Create MA w/in ACSIL

View Count: 833

[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];

[2015-02-09 22:27:37]
Sierra Chart Engineering - Posts: 104368
The method to do this is explained here:
https://www.sierrachart.com/index.php?page=doc/doc_ACSILProgrammingConcepts.html
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-02-09 22:30:38

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account