OPEN-SOURCE SCRIPT

Polynomial-Regression-Fitted Oscillator [Loxx]

Updated
Polynomial-Regression-Fitted Oscillator [Loxx] is an oscillator that is calculated using Polynomial Regression Analysis. This is an extremely accurate and processor intensive oscillator.

What is Polynomial Regression?
In statistics, polynomial regression is a form of regression analysis in which the relationship between the independent variable x and the dependent variable y is modeled as an nth degree polynomial in x. Polynomial regression fits a nonlinear relationship between the value of x and the corresponding conditional mean of y, denoted E(y |x). Although polynomial regression fits a nonlinear model to the data, as a statistical estimation problem it is linear, in the sense that the regression function E(y | x) is linear in the unknown parameters that are estimated from the data. For this reason, polynomial regression is considered to be a special case of multiple linear regression .

Things to know
  • You can select from 33 source types
  • The source is smoothed before being injected into the Polynomial fitting algorithm, there are 35+ moving averages to choose from for smoothing
  • This indicator is very processor heavy. so it will take some time load on the chart. Ideally the period input should allow for values from 1 to 200 or more, but due to processing restraints on Trading View, the max value is 80.


Included
  • Alerts
  • Signals
  • Bar coloring


Other indicators in this series using Polynomial Regression Analysis.

Poly Cycle
Poly Cycle [Loxx]


PA-Adaptive Polynomial Regression Fitted Moving Average [Loxx]
PA-Adaptive Polynomial Regression Fitted Moving Average [Loxx]
Release Notes
Small update on Alerts.
Linear RegressionOscillatorspolynomialpolynomialregressionanalysisregressionregressions

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Also on:

Disclaimer