Trading with Linear Regression Indicator - Crypto Academy /S5W5-Homework Post for kouba01

in hive-108451 •  9 months ago 

Picture1.png


This is a very interesting and informative lecture on the Linear Regression indicator. Another Indicator is added in the list of technical analyses indicator tools. I have learned that how to trade with this indicator. I try to answer all the questions according to my understanding of this indicator. I hope, it will help you to understand this topic.

Crytoline.png

Question no. 1

Discuss your understanding of the principle of linear regression and its use as a trading indicator and show how it is calculated?


Linear regression is a term that is used in statistics. It is used to find out the value of one variable by using another variable. There are two variables in this concept one is dependent variable and another is independent variable.

If we talk about variables in the context of the crypto chart then the previous data of the chart behave like an independent variable and the outcome that we generate after the calculation is the dependent variable. This dependent variable is the end result that we see on the chart in the form of a line.

There are a few things that are included in this indicator to find out the line as a result. For instance, we have charted and have one along the x-axis that is horizontally named X. and one line along the y-axis named Y. There are multiple values lying around the line. And this line is drawn at a particular angle on the basis of surrounding values.

6.png

||Screenshot from TradingView

In the above figure, you can see that a line is drawn in the chart. There are many dots around the line. This line is drawn on the basis of calculation dots. To achieve this line, we measure the distance of each and every dot from the line. The dots that are lie above the line consider positive and those that lie below the line are considered negative. Next, we take a square of every distance value to make them positive. After that add all the values.

In the chart scenario, all the dots are the value of the previous candle. The value of a candle is opening, closing, high, and low. One more element is included that is the number of days or periods that we will consider while calculating the outcome.
l.png

How to Calculate Linear Regression?


The calculation is Linear Regression is complex with respect to other indicator calculations. I will explain in an easy way that, how to calculate LRI. First, we look at the formula of LRI that calculates the value of the indicator.

abd.png

Where:
l.png
y = Asset current price
m = Slop of chart
x = Current period
c = Constant
n= Number of previous periods selected
l.png

Crytoline.png

Question no 2

Show how to add the indicator to the graph, how to configure the linear regression indicator, and is it advisable to change its default settings? (Screenshot required)


There are many platforms where we can see the chart of any asset and do technical analyses by applying the different tools on the chart. I will apply the Linear Regression indicator on TradingView.com. To apply the indicator on the chart, you need to follow the following steps.

  • Go the TradingView and open the chart for any asset of choice.
  • Next, click on the fx Indicator button on the top of the chart.
  • Then, search for indicator and write linear and the auto-match result is the display.
  • You need to click on Linear Regression Line as shown in the figure.

1. Add.png

2.add.png

Adding LRI Indicator ||Screenshot from TradingView

In this way, we can add the LRI indicator to the chart. You can in the following figure, the indicator is applied on the chart.
3.add.png

Indicator Added ||Screenshot from TradingView

Indicator Configurations


We can change the indicator settings according to our choice. Experienced traders change the indicator setting which is the best fit for their strategy. The out of indicator is changed when the setting becomes altered. There are two major settings of the LRI indicator. Click on the indicator setting button and open the setting window of the indicator.
l.png

  • Input Setting

In this setting, we can change the period length of the indicator. The default period length of LRI is 14. We can change the period length according to our trading strategy.

18.12.2021_13.05.50_REC.png

Input Setting ||Screenshot from TradingView

l.png

  • Style Setting

In this, we can change the appearance of an indicator line. Here we can change the color of the indicator line and also increase and decrease the thickness of the indicator line.

18.12.2021_13.06.41_REC.png

Style Setting ||Screenshot from TradingView

l.png

Is it advisable to change the settings of the LRI indicator?


Changing the settings totally depends on you. The default period length is 14. When noticing the line of the indicator at 14 lengths, the line is stuck with the lows or highs of candles. The default setting is set by the creator of the indicator after deep studies. So, according to this, if we are not experienced traders then, it is not advisable to change the default settings.

ADAUSDT_2021-12-18_12-56-28.png

LRI 14 periods ||Screenshot from TradingView

According to my perception, the line behavior over 14 periods is sticky with candle highs and lows. The line is merged with candles. I have a problem with the appearance of the indicator. So, I recommend changing the 14-period length to 66. In this way, we can find out clear signals.

ADAUSDT_2021-12-18_12-54-22.png

LRI 66 periods ||Screenshot from TradingView

The signals of 66-period length are late than 14 lengths. But one advantage of the late signal is confirmation of a bullish or bearish trend. After confirming the trend, the signal is produced by 66 length line. We can see in the figure; the late signal is produced by 66 length line. But we can take advantage of this late signal that is confirmation of the trend. Some the trend is suddenly changed and the signal produced by the 14-length period becomes false.

Crytoline.png

Question no 3

How does this indicator allow us to highlight the direction of a trend and identify any signs of a change in the trend itself? (Screenshot required)


Linear regression indicator is used to determine the direction of the current trend whether the trend is bullish or bearish. The indicator line is formed after the calculation of variables. The variables are previous candle’s highs, lows, closing, and openings as we discussed in the above questions.

Highlight the Uptrend


We can identify the trend direction by observing the line placement and direction. When the line of indicator remains slightly below the chart price candles and travels in the upward direction for a while, then the trend is an uptrend.

BTCUSD_2021-12-18_10-56-22.png

Uptrend Identification ||Screenshot from TradingView

In the above, the above figure, you can see that the indicator line is slightly below the price action candles. It remains below the candles and travels in an upward direction. In this way, the area that is mentioned above is indicating the direction of the uptrend.
l.png

Highlight the Downtrend


On contrary, when the line of indicator remains slightly above the chart price candles and travels in the downward direction for a while, then the trend is a downtrend. The area in which the line remains slightly above the candles indicates the direction of a downtrend.

BTCUSD_2021-12-18_10-59-57.png

Downtrend Identification ||Screenshot from TradingView

In the above, the above figure, you can see that the indicator line is slightly above the price action candles. It remains slightly above the candles and travels downward direction. In this way, the area that is mentioned above is indicating the direction of the uptrend.
l.png

Trend Reversal


We can easily determine the change in the direction of the trend with the help of LRI. We can do that by observing the line behavior with the chart. After the trend reversal, the current trend direction is completely changed. There are two types of reversals. One is a bullish trend reversal and the second is a bearish trend reversal.

Change Trend from bottom


When the market is on a downtrend and the indicator line is slightly above the candles but not cross them, then the indicator line is changing its direction by intercepting the candles and putting itself in the upward direction, then its indicator indicates the trend reversal in the market. The is trend reversal is a bearish reversal.

ETHUSDT_2021-12-18_11-10-36.png

Change Trend ||Screenshot from TradingView

In the above figure, you can notice the same condition that is mentioned above. The market is on a downtrend and the line of indicator is slightly above the price action. As you can notice that, the indicator line crosses the candles and puts himself slightly on the bottom side of the candles, then travels in an upward direction. It is indicating the change in trend direction.
l.png

Change Trend from Top


When the market is on an uptrend and the indicator line is slightly below the candles but not cross them, then the indicator line is changing its direction by intercepting the candles and putting itself in the downward direction, then the indicator indicates the trend reversal in the market. The is trend reversal is bullish reversal.

BTCUSDT_2021-12-18_11-05-04.png

Change Trend ||Screenshot from TradingView

In the above figure, you can notice the same condition that is mentioned above. The market is on a downtrend and the line of indicators is slightly below the price action. As you can notice that, the indicator line crosses the candles and puts himself slightly on the upside of the candles, then travels in an upward direction. It is indicating the change in trend direction.

Crytoline.png

Question no 4

Based on the use of price crossing strategy with the indicator, how can one predict whether the trend will be bullish or bearish (screenshot required).

We can easily predict and determine the bullish and bearish signal by observing the crossings of linear regression indicators. can predict the bullish and bearish market by the intersection of indicator line and price candles. After the intersection, the line changes its path.
l.png

Bullish Trend


When the market is on a downtrend and the indicator line lies above the candles then it reaches the point where the indicator line intersects the candle. Most of the time, it makes a cut at the lower side of the candle and sets his path upward direction. At that point, we can say that it is a bullish trend signal that is produced by the indicator.

STEEMUSDT_2021-12-18_11-15-45.png

Predict Bullish Trend and Buy signal ||Screenshot from TradingView

You can see in the above figure, the market is on a downtrend and at the bottom indicator line makes a cross with price action. After crossing it make a cut at the bottom of the lowest candle. It is a bullish trend signal. You can see that after this signal the market becomes bullish.

l.png

Bearish Trend


When the market is on an uptrend and the indicator line lies below the candles then it reaches the point where the indicator line intersects the candle. Most of the time, it makes a cut at the top side of the candle and sets his path downward direction. At that point, we can say that it is a bearish market signal that is given by the indicator.

STEEMUSDT_2021-12-18_11-18-24.png

Predict Bullish Trend and Buy signal ||Screenshot from TradingView

You can see in the above figure, the market is on an uptrend and at the top of price action the indicator line makes a cross with price action. After crossing it make a cut at the high of the highest candle. After that, it changes his direction to downward. It is a bearish trend signal. You can see that after this signal the market becomes bearish.
Crytoline.png

Question no :5

Explain how the moving average indicator helps strengthen the signals determined by the linear regression indicator. (screenshot required)


As we discussed earlier, that the Linear regression is quite matched with the Moving average indicator. But the calculations are both indicators are completely different. The output of both indicators is similar. The regression indicator produced fast signals on the same period length with respect to moving average. because it also produces false signals as well.

On contrary, the moving average produces smooth signals with respect to LRI. Due to little difference in nature of both indicators, most of the traders use both indicators in trading for measuring the strength of a trend and also confirming the bullish and bearish signals. Now will see how they confirm the signals of each other.

STEEMUSDT_2021-12-18_12-00-19.png

Signal Confirm with MA ||Screenshot from TradingView

In the above figure, you can see that the market is on a downtrend. when the LRI indicator line intersects the price action and changes in the direction to upwards. In the same way after a while, the moving average is also intersecting the price action. When the moving average intersects the candles, then it is a confirmation of the buy signal that this was produced earlier by LRI.

STEEMUSDT_2021-12-18_12-48-36.png

Strong Bullish Trend ||Screenshot from TradingView

In the above figure, we can determine the strength of a bullish trend in another chart. After the intersection, the market is on an uptrend. We can check the strength of the trend by observing both indicators. when both lines lie at the bottom of the candle in the bullish market, then we can say that the bullish trend is strong. It indicates that the buyers are in control.

STEEMUSDT_2021-12-18_12-05-39.png

Signal Confirm with MA ||Screenshot from TradingView

Now in the opposite direction, you can see in the above figure, that the market is on an uptrend. when the LRI indicator line intersects the price action and changes its direction downwards. In the same way after a while, the moving average is also intersecting the price action. When the moving average intersects the candles, then it is a confirmation of the sell signal that this was produced earlier by LRI.

STEEMUSDT_2021-12-18_12-44-41.png

Strong Bearish Trend ||Screenshot from TradingView

In the above figure, we can determine the strength of a bearish trend in another chart. After the intersection, the market is on an uptrend. We can check the strength of the trend by observing both indicators. when both lines lie at the above side of the candles in the bearish market, then we can say that the bearish trend is strong. It indicates that the sellers are in control.

Crytoline.png

Question no :6

Do you see the effectiveness of using the linear regression indicator in the style of CFD trading? Show the main differences between this indicator and the TSF indicator (screenshot required)


Before knowing the effectiveness of both indicators, we understand the CFD trading strategy. CFD is a trading style in which traders earn profit in a very short time. In other words, it is a short-term trading style in which traders use a small time period for taking and entry to the market.

So, to go the CFD trading, traders want very fast signals. In this trading style, traders can’t bear the late signals, because they don’t want to miss any opportunity in the market. So, these traders use the TSF indicator and LRI indicator. These indicators are very fast in producing results in a short time frame.

In the following figure, you can see that both indicators are applied on the chart. Both indicators out is quite matched with each other. We have mentioned earlier the working of LRI. TSF indicator is used by traders to determine the short buy and sell signals.
STEEMUSDT_2021-12-18_12-11-22.png

STEEMUSDT_2021-12-18_12-12-17.png

LRI and TSF Indicator ||Screenshot from TradingView

This is why this indicator calls it the Trend Hunter. TSF is suitable for short-term trading and the LRI is better for medium and long-term trading. Both indicators behave like moving averages.


18.12.2021_12.14.06_REC.png

You can see in the above, any time the value of both indicators is the same at several places. There is no difference between these indicators in many places. You can notice that in the following figure the value of both indicators is the same.

Difference Between the LRI and TSF


We if set the same time frame on both indicators then we can notice that, there is no difference between both indicators. Now, will discuss the overall difference between these indicators in the following table.

TSF LRI
It is mostly used by short term tradingIt is used for both medium and long-term trading
TSF consider the Open Price of period for calculation LRI calculate it value by considering the closing price of period

Crytoline.png

Question no :7

List the advantages and disadvantages of the linear regression indicator:


There are a few advantages and disadvantages of linear regression indicators. I will explain both advantages and disadvantages in the following.

Advantages

  • Linear regression indicator produces very quick and on-time signals with respect to other indicators.
  • Bearish and bullish trends are easily determined by observing the crossings.
  • We can easily read the signals of LRI.
  • It can be used by both experienced and novice traders.
  • It is suitable for trading with nonvolatile assets.

Disadvantages

  • Due to its very fast nature, it produces false signals most of the time.
  • It is a lagging indicator that derived the current value from previous data.
  • It is not suitable for those assets that are much volatile.
    Crytoline.png

Conclusion


Linear Regression is an indicator that is used for technical analyses of a particular asset. The process of calculation of this indicator is quite complex with respect to other indicators. Regression indicator is used by traders as replacement of Moving Average Indicator. Because the output signals are quite similar to the MA indicator.

Traders use this indicator for determining the current trend of the market. Trader also determined the trend reversals with this indicator by observing the crossing of price action and Regression lines. Both bullish and bearish trends are determined by this indicator.

After determining the trend reversals, traders use this indicator for getting the positions and opportunities of buying and selling in the market. Traders make decisions on the basis of signals produced by indicators. All the time signals are not true so, we should use more than two indicators for getting confirmed signals.
Crytoline.png


Cc:

Professor: @kouba01

Author: @noshi


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
Loading...