CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Supertrend Indicator Explained

This guide explains what the Supertrend line shows, how it is calculated and set up, and where it gives misleading readings.

Extrade Pakistan editorial team ·

On this page
  1. What the Supertrend indicator is
  2. A drawn example
  3. Formula
  4. Supertrend settings
  5. How to add it in MT4 and MT5
  6. How to read it
  7. Where Supertrend misleads
  8. Frequent questions

What the Supertrend indicator is

Supertrend is a trend-following line drawn on the price chart. It sits below price while the market is rising and above price while it is falling. When price closes through the line, the line jumps to the other side and changes colour.

It is built on the ATR (Average True Range), which measures how far price typically moves per bar. Supertrend is a lagging indicator: it reacts after price has moved. See leading vs lagging indicators.

Supertrend 10, 3
Supertrend: below the price in a rise, above it in a fall; it flips side when the price crosses it. Illustrative example: made-up numbers for learning, not real prices or a broker's conditions.

A drawn example

The chart below is a sketch, not real prices.

During the rise, the line steps up behind price and never steps down. When a close falls below it, the line moves above price and steps down from then on.

Formula

For each bar:

Then the trailing rule applies:

Versions differ. Some smooth the true range with Wilder's method and some use a simple average. Some use the close instead of the midpoint. Two Supertrend files with the same inputs can therefore flip on different bars.

Supertrend settings

There are two inputs:

Input What it changes Smaller value Larger value
ATR period How many bars the ATR averages Reacts faster to volatility changes Smoother, slower to adapt
Multiplier Distance of the line from price Tighter line, more flips Wider line, fewer and later flips

Most versions ship with a commonly used default pair. Check the values in the indicator's input tab rather than assuming them.

Best Supertrend settings: no setting is best for every market. A wider multiplier suits instruments with large swings, such as gold or stock indices, if you want fewer flips. A tighter one reacts sooner but flips more in ranges. Test any choice on a demo account across trending and ranging periods. Do not tune it to fit one past stretch of chart.

How to add it in MT4 and MT5

Supertrend is not part of MetaTrader's standard indicator list. It is added as a custom indicator:

  1. In the platform, use File → Open Data Folder, then open MQL4 → Indicators (MT4) or MQL5 → Indicators (MT5).
  2. Copy the indicator file there. Use a source you trust, such as the MQL5 code base or Market built into the platform.
  3. Refresh the Navigator panel or restart the platform.
  4. Drag Supertrend onto the chart and set the inputs.

Exness traders using MetaTrader 4 or MetaTrader 5 follow the same general MetaTrader steps. Do not run files from unknown sources, because compiled code can do more than draw a line.

How to read it

Common uses:

A Supertrend strategy is a set of rules built around these readings. It is not a signal service. See trading strategies and risk management.

Where Supertrend misleads

Leveraged CFD and forex trading can lose money fast. No indicator setting removes that risk.

Frequent questions

Does Supertrend repaint?

Closed bars normally keep their values. The current bar can change until it closes, so read flips on closed bars.

What are the default Supertrend settings?

They depend on the indicator file. Open the input tab to see the ATR period and multiplier your version uses.

Is there a best Supertrend setting?

No. Suitable settings depend on the instrument, the timeframe and the type of exit you want. Test them on demo first.

Can Supertrend be used alone?

It can, but it struggles in ranges. Many traders combine it with support and resistance or a trend-strength filter.

Is Supertrend the same as ATR?

No. ATR measures volatility. Supertrend uses ATR to place a trailing line around price.

Related pages