Moving Regression Line

The Moving Regression Line function fills two output arrays with the slope and constant of a least squares regression line of the input data series over the given time period. This function is used in the calculation of several indicators. It can be used to calculate the slope of the price or any indicator.


Copyright © 2020, FM Labs, Inc.