Supertrend MT4/MT5 Indicator
Table of contents
- What is Supertrend Line indicator?
- Why is MT4/MT5 Supertrend indicator useful?
- How to read Supertrend indicator?
- Parameters
- How to download MT4 Supertrend indicator?
- Supertrend MT4 installation instructions
- How to download MT5 Supertrend indicator?
- Supertrend MT5 installation instructions
- Discussion
- Changelog
Many trading strategies are based on a price trend. These can be trend following strategies when you trade with the trend, or they can be trend-reversal strategies when you trade against the trend. Supertrend is a popular alert indicator that allows you to spot the overall trend of a Forex pair or any other asset.
What is Supertrend Line indicator?
MT4/MT5 Supertrend Line indicator is a great tool to add to your MetaTrader platform.
Supertrend indicator uses a combination of a moving average and average true range to detect the trend of a trading instrument.
Supertrend indicator for MetaTrader easily shows the trend as a line following the price.
Basically, the indicator takes into account the volatility of the price and draws a line on the chart showing if the price is likely to be in an uptrend or downtrend. It can also inform you of the trend changes via alert notifications.
Why is MT4/MT5 Supertrend indicator useful?
There are many ways to verify a trend. Some traders use moving averages, some people use trend lines, others use a combination of those tools or some other indicators.
Supertrend is just another simple indicator that can help spotting the trend depending on the position of the price and a combination of MA and ATR indicators.
Supertrend indicator can be useful in the following situations:
- Trend following strategies, where you want to trade with the trend.
- Trend-reversal strategies, when you want to trade if the trend changes.
- Risk management — you could use Supertrend to set a stop-loss or as a trailing stop.
- Exit signal, if you want to exit a trade when a trend is reversing.
Supertrend can be an entry signal, exit signal, and stop-loss follower. You can configure alerts that will send notifications either to your platform, your mobile device, or to your email address whenever the Supertrend line switches its trend state.
The Supertrend Line indicator is probably one of the most popular custom indicators for MetaTrader 4 and MetaTrader 5. The indicator is ideal for trend following strategies to spot a continuing trend.
Also, you can use it to buy when the price switches from downtrend to uptrend and sell in the opposite case.
Supertrend is a very simple indicator to use. However, it is badly affected by a ranging market and can provide false signals. The suggestion is to use Supertrend in combination with some other indicators to provide better signals.
How to read Supertrend indicator?
Reading Supertrend indicator is very easy.
First of all, the indicator shows only one single line on the chart. This line is the Supertrend.
If the candles are above the line, it means that the currency pair is probably in an uptrend.
If the candles are below the line, it means that the currency pair is probably in a downtrend.
When the line switches from below to above or the vice versa, it means that the trend has ended and is probably reversing.
Please keep in consideration that no indicator is 100% right — all indicators have a degree of inaccuracy.
Parameters
Supertrend indicator supports a number of input parameters. They are useful to configure the indicator's sensitivity and reaction.
- ATR Multiplier — a multiplier to use with ATR value.
- ATR Period — a period for ATR indicator.
- ATR Max Bars — a number of bars to calculate the indicator value on.
- Indicator shift — a number of bars to shift the line for: positive number to shift right, negative number to shift left.
- Notification options — to alert traders when Supertrend line changes its direction. It supports native alerts, push-notifications to mobile devices, and email alerts.
How to download MT4 Supertrend indicator?
You can download a free copy of MT4 Supertrend Line indicator along with its source code using the following link:
➥ MQLTA MT4 Supertrend LineSupertrend installation instructions for MT4
To install the MT4 Supertrend Line 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.
Or you can read a more detailed instruction on how to perform the installation.
How to download MT5 Supertrend indicator?
You can download a free copy of MT5 Supertrend Line indicator along with its source code using the following link:
➥ MQLTA MT5 Supertrend LineSupertrend installation instructions for MT5
To install the MT5 Supertrend Line 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.
Or you can read a more detailed instruction on how to perform the installation.
You can open a trading account with any of the MT4 Forex brokers to freely use the presented here indicator for MetaTrader 4. If you want to use an MT5 version of the indicator presented here, you would need to open an account with a broker that offers MetaTrader 5.
Discussion
Do you have any suggestions or questions regarding this indicator? You can always discuss Supertrend Line indicator with other traders and MQL programmers on the indicators forums.
Changelog
1.03 — 2023-04-10
- Added alerts.
- Added MT5 version.
- Improved performance and remove limit for the number of bars used in calculations.