Hello Traders, There are several nice Linear Regression Channel scripts in the Public Library. and I tried to make one with some extra features too. This one can check if the Price breaks the channel and it shows where is was broken. Also it checks the momentum of the channel and shows it's increasing/decreasing/equal in a label, shape of the label also...
Simple tool to find when to buy in bull market, and when to sell when bull ended. 26 EMA on weekly seems to be a decent combination for 2017 bull market. Use it and find your combination, and hope it guide you through current bull market.
This script is a combination of different logarithmic regression fits on weekly BTC data. It is meant to be used only on the weekly timeframe and on the BLX chart for bitcoin. The "fair value" line is still subjective, as it is only a regression and does not take into account other metrics.
A Linear Regression Channel gives more objective potential buy and sell signals based on price volatility. It consists of three parts: Linear Regression Line: A Linear Regression Line is a straight line that best fits the prices between a starting price point and an ending price point. A "best fit" means that a line is constructed where there is the least...
Thanks to The Sweet Lord , here is the Gaur's Polynomial Regression Channel. Its a Polynomial Regression Channel but applied a little differently. Wont go into technical details much. Overview of options is as follows- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
Example of applying polynomial regression channel to spreads or hedges between 2 assets.
This is an experimental study designed to calculate polynomial regression for any order polynomial that TV is able to support. This study aims to educate users on polynomial curve fitting, and the derivation process of Least Squares Moving Averages (LSMAs). I also designed this study with the intent of showcasing some of the capabilities and potential applications...
Logarithmic regression of the USD price of Bitcoin , calculated according to the equation: y=A*exp(beta*x^lambda + c) + m*x + b where x is the number of days since the genesis block. All parameters are editable in the script options.
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. ...
Description: A Function that returns a linear regression channel using (X,Y) vector points. Inputs: _X: Array containing x data points.¹ _Y: Array containing y data points.¹ Note: ¹: _X and _Y size must match. Outputs: _predictions: Array with adjusted _Y values at _X. _max_dev: Max deviation from the mean. _min_dev:...
Hello Traders, With the info "Trend is Your Friend ", you should not take position against the trend. This script checks multipte moving averages if they are above/below the closing price and try to find trend. The moving averages with the length 8, 13, 21, 34, 55, 89, 144, 233, 377 used. these are fibonacci numbers, but optionally you can change the lengths...
Return a linear regression channel with a window size within the range (min, max) such that the R-squared is maximized, this allows a better estimate of an underlying linear trend, a better detection of significant historical supports and resistance points, and avoid finding a good window size manually. Settings Min : Minimum window size value Max :...
The tool plots a linear regression line using the entire history of an instrument on chart. There are may be issues on intraday timeframes less then 1h. On daily, weekly and monthly charts it works without problem. If an instrument has a lot of data points, you may not see the line (this is TV feature): To fix that you need to scroll your chart to the left...
Dynamic Regression Bandings (Base10) is designed to provide a statistical range of outlier pricing within an established trend. Instead of calculations being performed on a linear scale, spot price is adjusted logarithmically, allowing for regression to be performed over longer periods without compound movement creating abnormal behaviour. The range is set...
Hello Traders! We need to make things better & better to solve the puzzle and I try to do my best on this way. now I am here with my new Trend Lines Pro script. As you know, Trend Lines is very subjective and many people (even professionals) draw different Trend Lines on the same chart. This is confusing and there must be an automation to make the life easer....
Fit a quadratic polynomial (parabola) to the last length data points by minimizing the sum of squares between the data and the fitted results. The script can extrapolate the results in the future and can also display the R-squared of the model. Note that this script is subject to some limitations (more in the "Notes" section). Settings Length : Number of...
Plot a linear regression channel through the last length closing prices, with the possibility to use another source as input. The line is fit by using linear combinations between the WMA and SMA thus providing both an interesting and efficient method. The results are the same as the one provided by the built-in linear regression, only the computation differ. ...
**DESIGNED FOR ES/MES** This script provides an easy visualization of potential reversion zones to take trades back to the intraday midline. A common use would be to enter a position once price reached the outer yellow zones and retreats to either the red zone (for a short toward the midline) or a green zone (for a long back to the midline).