What Is Supertrend?
Supertrend is a technical indicator that tracks a trailing price boundary and switches trend direction when price breaches it. Start with the bar’s high-low midpoint and add or subtract a multiple of average true range (ATR). A midpoint of 100, ATR of 2 and multiplier of 3 give initial bands of 94 and 106.
In an uptrend the active lower band ratchets upward as new lower bands rise. A close below the trailing level turns the trend down and activates the upper band. A larger multiplier requires a wider adverse move from the reference price, usually reducing switches at the cost of a slower exit. Specify the ATR lookback and whether the rule waits for the close.
TradingView documents how its implementation carries both bands forward and determines which band is active at each close. See the Supertrend calculation and trend rules.