Linear Regression Line Indicator | FREE Forex Trading Indicator
Some traders prefer to use linear regression to better understand the current market trend. Download the free Linear Regression Line indicator for MT4 and MT5.
What Is Linear Regression Line Indicator?
- - - - - - - -
⭐The Best Cent Account To Test Your Forex Trading EA.⭐
- - - - - - - -
⭐Great Forex Broker With High Affiliate Commission For Your Forex Trading EA.⭐

Linear Regression Line indicator for MetaTrader is somewhat similar to a moving average but is a bit different.
Using math formulas from statistics, the indicator automatically creates a line from a linear regression.
Regression line closely follows the price similarly to what a regression channel object in MetaTrader would do.
A regression line is one way of using linear regression in MetaTrader.
Why Use Linear Regression Line Indicator?
Linear Regression Line is one of the methods to detect the current market trend. If the line is pointing upwards, it means that there is an uptrend currently in the chart’s timeframe. Conversely, if the line is pointing downwards, there is a downtrend.
Usually, the price tends to come back to the line (mean-reversion).
You can see that the line is similar to a moving average, however, it is also different. The line follows the most recent point of the linear regression, so that instead of an average, it follows the price more accurately.
How to Use Regression Line Indicator?
Once you download this indicator, you will be able select how many candles to use for the calculation of the channel and how many of the most recent bars not to consider. Its input parameters are listed in the image below:
Download MT4 Linear Regression Line Indicator
You can download both .ex4 (compiled) and .mq4 (source code) of Linear Regression Line indicator using the following link:
➥ Download MQLTA MT4 Regression Following Line
MT4 Installation Instructions
To install the MT4 Trading Session Time indicator, please follow the instructions below:
- Download the indicator archive file.
- Open the MetaTrader 4 data folder (via File->Open Data Folder).
- Open the MQL4 Folder.
- Copy all the folders from the archive directly to the MQL4 folder.
- Restart MetaTrader 4 or refresh the indicators list by right-clicking the Navigator subwindow of the platform and choosing Refresh.
Download MT5 Linear Regression Line Indicator
You can download both .ex5 (compiled) and .mq5 (source code) of Linear Regression Line indicator using the following link:
➥ Download MQLTA MT5 Regression Following Line
MT5 Installation Instructions
To install the MT5 Trading Session Time indicator, please follow the instructions below:
- Download the indicator archive file.
- Open the MetaTrader 5 data folder (via File->Open Data Folder).
- Open the MQL5 Folder.
- Copy all the folders from the archive directly to the MQL5 folder.
- Restart MetaTrader 5 or refresh the indicators list by right-clicking the Navigator subwindow of the platform and choosing Refresh.
You May Also Like ❤ :
Extreme Spike EA with Indicator | FREE Forex Trading EA
The extreme spike indicator is a Metatrader indicator that detects market trend extreme high and extreme low spikes. It is...
Heiken Ashi Naïve EA (Reverse Heiken Ashi strategy) | FREE Forex Trading EA
Heiken Ashi Nave is a MetaTrader expert advisor that uses the platform’s standard indicator of the same name to implement...

PersistentAnti EA (Measures persistence of price movements; trades against it) | FREE Forex Trading EA
PersistentAnti is a Forex expert adviser that takes advantage of the concept of trend persistence. The Forex market charts are...
Ichimoku Chikou Cross EA (Uses Ichimoku Kinko Hyo for signals, ATR for position sizing) | FREE Forex Trading EA
Ichimoku Chikou Cross is a MetaTrader expert advisor based on standard Ichimoku Kinko Hyo indicator with default settings. Specifically, it...