Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 13:10:55 +0000



Post From: ASCIL to draw a least-squares moving average

[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?