Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 00:37:00 +0000



ASCIL to draw a least-squares moving average

View Count: 1273

[2015-07-20 08:01:04]
User431614 - Posts: 4
I have been trying to find the right incantations to draw a Least Squares moving average with ASCIL, but it seems to be escaping me.

At first I thought I would be able to access it through sc.MovingAverage(), but that doesn't seem to be the case (it isn't listed as a MovAvgType, below):

http://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Functions.html#MovAvgType

How can I access the least squares function from ASCIL?
[2015-07-20 08:28:01]
Sierra Chart Engineering - Posts: 104368
The documentation has now been updated. This is the moving average type you need to use:
MOVAVGTYPE_LINEARREGRESSION
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

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

Login

Login Page - Create Account