Weighted Least Squares Regression Indicator

指定

This indicator should plot a line based on the endpoints of a linear regression line calculated over the last n price points/bars. (Example: http://tuckerreport.com/indicators/angle-measure/) The result is a "moving linear regression" line.

However, in this indicator, the calculation of the linear regression line for each set of data points should involve different weights given to different data points, similar to an exponential moving average.

The "indicator" should be presented in the form of a function, to be added to MovingAverages.mqh (as "WLSQOnBuffer()", similar to for example "ExponentialMAOnBuffer()").

Weight function and regression formula provided upon request.

応答済み

1
開発者 1
評価
(30)
プロジェクト
71
18%
仲裁
9
22% / 67%
期限切れ
15
21%
2
開発者 2
評価
(2)
プロジェクト
2
0%
仲裁
0
期限切れ
0
3
開発者 3
評価
(272)
プロジェクト
394
63%
仲裁
70
53% / 26%
期限切れ
198
50%
4
開発者 4
評価
(1)
プロジェクト
2
0%
仲裁
0
期限切れ
2
100%

プロジェクト情報

予算