Simple way how to use Linear Regression for trading. What we use: • Linear Regression • EMA 200 as a trend filter Logic: Firstly we make two different linear regression movings as oscillator. For this we need to subtract slow moving from fast moving, so we get the single moving around zero. This is the green/red line which appears on the chart. The trade open...
This strategy is based on LonesomeTheBlue's Linear Regression Channel Indicator. First of all, I would like to thank LonesomeTheBlue. Breaking the Linear Regression Channel to close the candle triggers a Long or Short signal. If the slope of the Linear Regression Channel is positive, it is Short when it breaks out the lower line, and when the slope is negative, it...
This script consist of two parts: linear SSL and DEMA. The difference between original SSL and current is that it calculated by linear regression. The logic is simple: when SSL "crossunder" and DEMA is above the price - we get short signal. When price became above DEMA and SSL "crossover" - close short.
This oscillator based on linear regression . By subtracting the slower LMA from the faster LMA we can get a value, which we will further compare with zero. If the resulting difference is greater than 0, then we can assume that the trend is upward. Also by using offset we could increase the expected profit (focusing on backtest data). You could get access for this...
The worst way of the using Linear Regression