編輯精選
OPEN-SOURCE SCRIPT
已更新

Function Polynomial Regression

39 365
Description:
A function that returns a polynomial regression and deviation information for a data set.

Inputs:
_X: Array containing x data points.
_Y: Array containing y data points.

Outputs:
_predictions: Array with adjusted _Y values.
_max_dev: Max deviation from the mean.
_min_dev: Min deviation from the mean.
_stdev/_sizeX: Average deviation from the mean.

Resources:
en.wikipedia.org/wiki/Polynomial_regression
rosettacode.org/wiki/Polynomial_regression
發行說明
optional colors as input
發行說明
added optional degree and use of external library.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。