ForexBestRobots.comCompare EAs →
EN

Supertrend · Trend indicators

Supertrend in Forex: ATR 10/3, Carried Bands and Closed-Bar Flips

Read Supertrend on real EUR/USD H1 candles. Inspect ATR seeds, carried bands, wick-only breaches and nine settings in a closed-bar explorer.

Historical Bid candles, UTC. Green and red identify the active indicator state; they do not mark executed positions.
Historical Bid candles, UTC. Green and red identify the active indicator state; they do not mark executed positions.

Supertrend combines a volatility distance with a remembered direction. Its colored line can help describe a move, but a color change alone does not define an executable trade. This guide follows actual EUR/USD H1 Bid candles from January 2024 and makes every calculation available for inspection.

1. Read the line as a state and a distance

The line follows the lower final band in an upward state and the upper final band in a downward state. The state is determined by the rule, rather than by whether the latest candle is green or red. A single bearish candle can occur while the upward state remains intact.

The five charts use observed Bid OHLC, not drawn-up price examples. Their dates and the last displayed hour are explicit. The illustrations were selected retrospectively to explain different events; they are not a sample of successful trades.

Historical Bid candles, UTC. Green and red identify the active indicator state; they do not mark executed positions.
Historical Bid candles, UTC. Green and red identify the active indicator state; they do not mark executed positions.

2. Build ATR from the observed candles

True range compares the current high–low distance with both distances from the previous recorded Close. For the first recorded bar, use High minus Low. Seed ATR(n) with the mean of the first n true ranges; thereafter use Wilder smoothing. ATR and the bands remain unavailable before that seed.

All earlier recorded bars contribute to this recursive calculation. Moving the chart window does not restart ATR. Prices below use USD per EUR; one pip is 0.0001. The worked candle’s true range and ATR are shown separately because they measure different things.

TR₀ = H₀ − L₀
TRₜ = max(Hₜ − Lₜ, |Hₜ − Cₜ₋₁|, |Lₜ − Cₜ₋₁|)
ATRₙ₋₁ = (TR₀ + … + TRₙ₋₁) / n
ATRₜ = (ATRₜ₋₁ × (n − 1) + TRₜ) / n

3. Calculate the two basic bands

Take the candle midpoint, (High + Low)/2. Add multiplier × ATR for the basic upper band and subtract it for the basic lower band. Increasing the factor changes this volatility distance; it does not directly set the final line or an order size.

For the upward-flip example, the basic upper band is far above the final upper band. The final threshold still remembers an earlier calculation. Comparing Close only with the new basic band would therefore produce a different indicator.

Completed candle2024-01-04T08:00:00Z
Known after2024-01-04 09:00 UTC
True range · pips21.400
ATR · pips11.849
Basic upper1.098075
Basic lower1.090965
Final upper1.095209
Final lower1.090965

4. Keep the bands’ memory visible

Replace the upper band with the new basic upper band when it is lower, or when the previous Close was above the previous upper band. Otherwise keep the previous upper value. Apply the mirrored rule to the lower band: replace when higher, or after the previous Close was below it.

The highlighted candle shows a held active band even though its newly calculated basic band moved away. Both final bands are updated before the direction test. Retaining a value and switching the active side are separate operations.

The highlighted basic band moves, while the active final band retains its earlier value. The chart stops at this completed hour.
The highlighted basic band moves, while the active final band retains its earlier value. The chart stops at this completed hour.

5. Confirm the flip at the completed Close

In a downward state, a completed Close strictly above the current final upper band changes the state upward. In an upward state, a completed Close strictly below the current final lower band changes it downward. Equality leaves the state unchanged. The first seeded state is downward and is not counted as a flip.

Read the worked values before and after the change. On an upward flip, the displayed line switches to the lower band; on a downward flip, it switches to the upper band. The wide jump between those lines is not a price gap or a fill. The candle starting at 08:00 UTC becomes available at 09:00 UTC.

Close exceeds the final upper band. The new upward line is the lower band, not the level crossed by Close.
Close exceeds the final upper band. The new upward line is the lower band, not the level crossed by Close.
Direction stateCompleted candleCU / LActive Supertrend
Upward flip2024-01-04T08:00:00Z1.0953201.0952091.090965
Downward flip2024-01-05T07:00:00Z1.0923101.0923441.095524

6. Separate a wick breach from a flip

In the highlighted January 9 candle, Low passes below the final lower band, yet Close finishes above it. Under this guide’s completed-Close rule the upward state survives. A live, unfinished candle can move across the boundary and return before the hour ends.

A broker-held stop can behave differently: it may trigger intrabar on its specified quote side. This indicator illustration submits no order and reconstructs no execution path. If a trading rule uses touch-based exits, that needs a separate test with suitable quotes.

Low is below the lower band, but Close is above it. No completed-Close flip occurs.
Low is below the lower band, but Close is above it. No completed-Close flip occurs.

7. Compare settings on exactly the same history

The table counts state changes over the same 525 recorded bars. Seeds are excluded. For ATR(10), factors 2, 3 and 4 produce 30, 18 and 14 flips respectively in this month. These are descriptive counts, not win rates, profits or evidence that one setting is best.

A longer ATR period need not produce fewer changes: factor 2 gives 28 flips at period 7 and 32 at period 14 in this particular history. Change one control at a time, then inspect the altered band and confirmation time. The table is not used to select rules for a future strategy.

ATR length stays at 10. Factors 2, 3 and 4 are compared on identical recorded candles; no performance ranking is implied.
ATR length stays at 10. Factors 2, 3 and 4 are compared on identical recorded candles; no performance ranking is implied.
ATR periodMultiplierFlips
7228
7320
7414
10230
10318
10414
14232
14318
14414

8. Keep data coverage and execution separate

HistData timestamps use fixed EST without daylight-saving adjustments; add five hours to obtain UTC. This page reuses the retained, previously checked H1 Bid aggregation. Seven gaps between recorded hours are flagged, and 47 hours contain quotes in fewer than 60 different minutes. No missing candle is invented.

ATR carries across gaps using the preceding recorded Close. Thus periods count recorded bars, not uninterrupted clock hours. The guide establishes indicator arithmetic only: it does not verify parity with a particular terminal, account performance, an Ask-price entry, spread or slippage.

9. Inspect one completed hour at a time

Choose an example to restore ATR(10) and factor 3, then use Previous, Next or the hour slider. The selected candle is complete, and its availability time appears above the values. Changing the ATR period or factor recomputes from the same initial history, not just the visible window.

Only the selected bar and earlier bars set the chart, scale and annotations. Future candles stay hidden. The price table distinguishes basic bands, carried bands and the active line; colors are backed by explicit direction labels. Inspect the data downloads for all nine configurations.

Completed candle: —
Known after: —

Chart ends at the selected completed candle

Direction state
—
Confirmed flip
—
Open / High / Low / Close
—
Observed minutes
—
Hours since previous bar
—
True range · pips
—
ATR · pips
—
Basic upper
—
Basic lower
—
Final upper
—
Final lower
—
Active Supertrend
—

Frequently asked questions

What does Supertrend 10/3 mean?

This guide uses a 10-bar Wilder ATR and a factor of 3 around the high–low midpoint. Final bands also retain earlier values. The seed, price feed and comparison rules must match before two implementations can be compared.

Does a wick crossing the line reverse Supertrend?

Not under the declared completed-Close rule. A wick may cross and the candle may close back on the original side. An unfinished chart or a touch-based trading rule can therefore behave differently.

Why is the new line far from the crossing price?

A confirmed upward flip switches the active line from the upper band to the lower band. A downward flip switches the other way. The displayed new line is a different band from the confirmation threshold.

Is 10/3 the best Forex setting?

This page does not establish an optimal setting. Its nine configurations describe one month of indicator behavior. Profitability would require frozen entries, exits, quote-side assumptions, costs and a separate evaluation.

Why might my platform show different values?

Check OHLC source, time zone, ATR smoothing and seed, retained history, initial direction, equality handling and whether it uses completed Close or intrabar prices. Exact terminal parity is not claimed here.

Are missing hours filled or treated as flat candles?

No. The seven observed gaps remain visible. ATR continues over recorded bars with the previous recorded Close. An ended hour with fewer observed minutes describes only the quotes actually present.

Data, calculation method and scope

Reused January 2024 EUR/USD H1 Bid aggregation from the original HistData tick archive. The downloadable method package records the original archive hash, the reused H1 hash, exact rules and reproducible calculations. The original raw ticks were not replayed again for this release.

Primary references