Supertrend Calculator: ATR Bands and Limits
Calculate Supertrend bands from high, low, close, ATR and multiplier. Learn how the line ratchets and flips, what the settings change and why charts differ.
This Supertrend calculator shows a simplified price-band snapshot from High Price, Low Price, Close Price, ATR Value and ATR Multiplier. ATR means Average True Range, a measure of recent price variation. It places bands above and below the high-low midpoint and selects one using the entered close. A full chart Supertrend also depends on earlier bands and closes, which this form does not receive. Use the example to understand the band arithmetic; do not treat its direction or Signal label as a verified chart crossover or a trading instruction.
The band formula you can check by hand
The midpoint is (high + low) ÷ 2. The upper basic band is midpoint + multiplier × ATR. The lower basic band is midpoint − multiplier × ATR. These calculations place a volatility-based offset around the middle of the entered bar.
TradingView’s Supertrend documentation also describes retaining or updating final bands using prior values and choosing the active line from the previous state. That history makes the complete indicator depend on the sequence of bars, rather than just the latest high, low and close.
The current form provides no previous-band or previous-close fields and no history of candles. Its output can therefore differ from a charting platform even when the latest prices and ATR appear to match. That difference is a method limitation, rather than proof that the chart’s calculation is wrong.
How the Supertrend bands ratchet and flip
The snapshot above uses basic bands. A chart indicator turns them into final bands by remembering the previous bar. The rules below are the standard published construction and explain why one candle is never enough to reproduce a chart line.
- The final upper band drops to the new basic upper band when that is lower than the previous final upper band, or when the previous close was above the previous final upper band. Otherwise it stays where it was.
- The final lower band rises to the new basic lower band when that is higher than the previous final lower band, or when the previous close was below the previous final lower band. Otherwise it stays where it was.
- In an uptrend the plotted line is the final lower band. In a downtrend the plotted line is the final upper band.
- The trend flips from up to down when a close falls below the final lower band, and from down to up when a close rises above the final upper band.
The effect is a line that only moves in the direction of the trend, like a ratchet. Look at this made-up run of an uptrend. It is arithmetic for learning and not a market record.
| Bar | Basic lower band | Final lower band (line) | Close | What happens |
|---|---|---|---|---|
| 1 | 990 | 990 | 1,010 | Line set |
| 2 | 994 | 994 | 1,020 | Basic band is higher, so the line rises |
| 3 | 992 | 994 | 1,015 | Basic band is lower, so the line holds |
| 4 | 996 | 996 | 1,025 | Line rises again |
| 5 | 998 | 998 | 994 | Close is below the line of 998, so the trend flips to down |
After a flip, the line jumps to the final upper band and then only moves down while the downtrend lasts. This is also why the line stays flat on bars where the basic band moves the wrong way.
ATR is a price-distance measure
Average True Range, or ATR, measures recent price variation. Fidelity’s ATR guide explains that true range accounts for gaps by comparing a bar’s range with its distances from the prior close. ATR itself does not determine whether the market is moving up or down.
Enter ATR as a price amount on the same scale as the other inputs. A percentage description of volatility is a different quantity. If your chart displays a percentage-based volatility measure, do not insert that percentage as though it were an ATR price value.
The ATR should also come from the chart interval and calculation settings you intend to examine. A daily ATR paired with intraday bar prices describes a mixed-period scenario. The form accepts your supplied ATR; it does not calculate the average or confirm how you obtained it.
If you need to examine the volatility calculation first, see the ATR calculator. Record the period and smoothing method from the source chart alongside any result you compare.
Complete the five visible fields consistently
- High Price: the highest price of the bar you are examining. It should be at least as high as the low and close for a completed bar.
- Low Price: the lowest price of that same bar. Do not substitute a low from a different session or interval.
- Close Price: the closing observation for that bar. If the bar is still open, treat its changing last price as provisional.
- ATR Value: the existing ATR in price units, from a stated period and method.
- ATR Multiplier: a chosen scaling factor for the offset. It changes band distance; it does not establish the probability of a successful trade.
There is no symbol, date range, ATR-period selector, position quantity or chart overlay in the current form. It cannot identify the data source, reconstruct a historical line or calculate a cash loss from the band distance.
A larger multiplier moves both basic bands farther from the midpoint for an unchanged ATR. A larger ATR does the same at an unchanged multiplier. The effect is arithmetic; a wider distance should not be described as proof of higher reliability.
Worked snapshot with made-up prices
Illustrative stock bar, not a market quote: High Price ₹1,050, Low Price ₹1,010, Close Price ₹1,040, ATR Value ₹12 and ATR Multiplier 3. The prices are assumed to refer to the same bar, and the ATR is a supplied scenario value.
| Calculation | Arithmetic | Illustrative result |
|---|---|---|
| High-low midpoint | (1,050 + 1,010) ÷ 2 | ₹1,030 |
| ATR offset | 12 × 3 | ₹36 |
| Upper basic band | 1,030 + 36 | ₹1,066 |
| Lower basic band | 1,030 − 36 | ₹994 |
| Selected snapshot line | Close is above the midpoint; lower band selected | ₹994 |
| Close-to-line distance | 1,040 − 994 | ₹46 |
For these inputs the visible Trend output is UPTREND and Signal is BUY/HOLD. Those are the current formula’s labels. They do not mean a historical downtrend has flipped, because no earlier indicator state was supplied. Strength is STRONG here because a preset distance rule assigns that label; no measured probability or performance result is attached.
In a second illustrative snapshot, change only Close Price to ₹1,020. The midpoint and bands remain unchanged, but the selected line becomes the upper band at ₹1,066 and Trend becomes DOWNTREND. The absolute distance is 1,066 − 1,020 = ₹46. This demonstrates the form’s midpoint-based choice, not the behaviour of a complete running Supertrend line.
For another arithmetic comparison, hold the first snapshot’s prices and ATR fixed and change the assumed multiplier to 4. Offset becomes 12 × 4 = ₹48, upper band ₹1,078 and lower band ₹982. The additional band width follows directly from the changed multiplier; it says nothing about future trading results.
Why your chart may show a different Supertrend
Start by checking that the instrument, bar interval, completed bar and price observations match. Then compare ATR period, smoothing and data history. A chart’s previous values matter, so matching only the latest ATR does not reproduce its entire state.
This page’s simplified method is an additional difference. It uses the current basic bands without carrying forward the chart’s final-band history. Re-entering the latest bar repeatedly will not supply the missing earlier state.
A moving price during an unfinished candle is another source of changing results. If your observation is based on a bar close, preserve the value recorded at that close. Do not compare it with a later intrabar snapshot and call the difference a prediction error.
The MACD calculator and RSI calculator describe other technical measures. Combining labels from several tools does not by itself establish a tested strategy or a known success rate.
Reading Supertrend signals
Most charting tools draw the line in one colour when price is above it and another when price is below it. Many platforms mark the flip bar with a label. A flip happens only on a bar that closes across the line, so a wick that pokes through and recovers does not count. The label is a description of what the indicator did on a closed bar, not a prediction.
A flip bar is also not a fill. By the time the bar has closed, the market has moved on, and any entry comes at a later price. Record the actual fill in your journal and compare it with the line level to see how much slippage your habit costs. A trader who tests Supertrend should write down the entry rule, the exit rule and the stop before the test starts.
Choosing the ATR length and multiplier
Two numbers drive the indicator: the ATR length (how many bars are averaged) and the multiplier (how far the band sits from the midpoint). Many charting tools and guides start with an ATR length of 10 and a multiplier of 3, and many traders begin there because those are the values they see first. Check the settings box on your own platform, because defaults differ. They are common starting values, not proven best values.
| Setting change | Effect on the line | Trade-off |
|---|---|---|
| Shorter ATR length | Reacts faster to recent volatility | More flips, more false flips in choppy markets |
| Longer ATR length | Smoother, slower to react | Fewer flips, later exits |
| Smaller multiplier | Line sits closer to price | More flips and tighter stops |
| Larger multiplier | Line sits farther from price | Fewer flips and wider stops |
Whatever you pick, keep the same chart interval and settings while you collect a sample of trades. Changing them after every loss makes your results impossible to compare. Our guide to using the Supertrend indicator covers how traders combine it with other tools.
Keep an indicator value separate from a stop order
A price band is a calculated reference. A broker stop order has its own activation and execution conditions. This form places no order and cannot guarantee an exit at the displayed line. It also has no position size or fee input, so the output is not a money-at-risk total.
For a separate calculation from an entry and chosen stop, the stop loss calculator explains planned price-distance risk and its quantity limitations. An actual fill can differ from a planned exit level.
When recording a trade in OneTradeJournal, keep the indicator setting, chart interval, observed level, stop and reason together in manual notes. Later review can compare the original observation with what you actually did, without assuming that a bullish or bearish label guaranteed the next move.
Supertrend in sideways markets
Supertrend is a trend-following tool. When price moves sideways, it can flip repeatedly. Each flip produces an entry and an exit at roughly the same price, and each round trip pays brokerage, STT and other charges. Many small losses can add up even though no single loss looks large.
- Add a second filter such as a longer moving average or a trading range check, and record whether you used it.
- Mark which flips happened when the market was ranging, then count them in your journal after a month.
- Skip your own definition of a low-movement period and note that you did, so you can compare results with and without the skip.
These are ideas to test in your own records and not rules. The ATR calculator helps you see how wide recent ranges have been.
Supertrend versus Parabolic SAR
| Feature | Supertrend | Parabolic SAR |
|---|---|---|
| Built from | ATR and a multiplier around the high-low midpoint | An acceleration factor that speeds up as a trend extends |
| Distance from price | Set by volatility | Closes in on price as the trend ages |
| Line moves | Ratchets in the trend direction, flat on some bars | Accelerates toward price every bar |
| Settings | ATR length and multiplier | Starting factor, step and maximum |
Supertrend scales to recent volatility, so it widens when markets are wild. Parabolic SAR tightens as the trend continues and can flip sooner. Neither is better in general. Compare them on the same chart and the same set of trades before you decide.
Supertrend calculator questions
Sources
- TradingView: Supertrend calculation and state, checked 15 October 2026.
- Fidelity: ATR and true-range calculation, checked 15 October 2026.
Related Topics
Related Articles
Absolute Returns Calculator: Total Gain or Loss
Absolute return calculator with formula, worked rupee examples and a comparison with CAGR and XIRR. Learn when absolute return misleads, such as for SIPs.
Options Rollover Calculator
Work out the debit or credit of rolling an option from premiums and lots. Learn roll up, down and out, charges, STT, and futures rollover cost and percentage.
Options Probability Calculator: Model Inputs and Limits
Estimate an option's expected move and price range from price, volatility and days to expiry, with a worked example and why the probability cards need care.
Trading Expectancy Calculator: Formula and Example
Trading expectancy calculator (EV per trade) from win rate, average win and average loss. See R-multiples, profit factor, sample size and low win-rate examples.
Trading Emotion Tracker: Review Feelings and Plan Discipline
Free trading emotion tracker. Log the mood, intensity and plan discipline behind a trade, get a simple rule-based score, and keep a record to review later.
MACD Calculator: Line, Signal and Histogram
Calculate the MACD line, signal line and histogram from your moving averages, with the formula, a worked example and how to read crossovers.
The trading journal for Nifty, Bank Nifty and Indian F&O. Track your trades, spot patterns, build discipline.
- Log one trade a day by hand, on purpose
- AI mentor finds your repeat mistakes
- Behavioural analytics catch tilt early
- Trading calendar with P&L heatmap
- Pre-trade checklist flags risks
Yearly ₹3,499 · No broker credentials