Supertrend indicator explained: how it works

By Oalgo · Last reviewed

Supertrend is a line drawn on the price chart. It sits below price while price is rising and above price while price is falling, and it flips to the other side when the close crosses it. It is built from the ATR. The usual settings are an ATR period of 10 and a multiplier of 3.

Chart: example prices with the Supertrend line. The line is below price in up-moves and above price in down-moves, and it flips side when the close crosses it.PriceHigh to lowBelow priceAbove price
Example prices, made up for this page. Settings 10 and 3.

How is Supertrend calculated?

#
  • Find the middle of each candle: (high + low) ÷ 2.
  • Take the 10-period ATR and scale it with the multiplier (3 by default).
  • Upper line = middle + scaled ATR. Lower line = middle − scaled ATR.
  • The upper line can only move down while price stays under it, and the lower line can only move up while price stays over it. So the line steps one way until price crosses it.
  • When the close crosses the line, Supertrend flips to the other one.

How do you read Supertrend?

#
What you seeWhat it suggests
Line below priceThe latest trend is up. The line trails under price.
Line above priceThe latest trend is down. The line trails over price.
Line flips from above to below priceThe close has crossed the upper line: the trend has turned up.
Line flips from below to above priceThe close has crossed the lower line: the trend has turned down.

Supertrend only follows price, so every flip comes after the turn has started. In a sideways market price crosses the line again and again.

How do people use Supertrend in rules?

#
  • Enter when the line flips from above price to below it, and exit when it flips back.
  • Use the side of the line as a trend filter: only look for entries while the line is below price.
  • Change the multiplier. A larger one keeps the line further from price, so it flips less often. A smaller one flips sooner.
  • Add a momentum indicator such as RSI so that two conditions must agree.

What can Supertrend not tell you?

#

Supertrend does not say how far a trend will run or when it will end. Settings tuned until the past looks good may not hold on new prices. Test a rule on past prices with a backtest, then forward test it.

In Oalgo you can tell Oalgo AI your Supertrend rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next