Specification
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.
Responded
1
Rating
Projects
71
18%
Arbitration
9
22%
/
67%
Overdue
15
21%
Free
Published: 2 codes
2
Rating
Projects
2
0%
Arbitration
0
Overdue
0
Free
Published: 7 articles
3
Rating
Projects
396
63%
Arbitration
70
53%
/
26%
Overdue
198
50%
Free
4
Rating
Projects
2
0%
Arbitration
0
Overdue
2
100%
Free
Project information
Budget