Concept
Halftrend
Halftrend is a Trend concept. The Library holds 1 implementations, each one a working definition you can pull into Quant.
Top Halftrend indicators
1 total
What is Halftrend?
Halftrend is a trailing trend line known for going flat when the market pauses. Over an 'amplitude' lookback it tracks the lowest low while in an up state, ratcheting the line higher only when that floor rises, and the highest high while in a down state, stepping the line lower as the ceiling falls. The state flips when a moving average of the highs (or lows) crosses through the line's level with price confirming, and most versions wrap the line in a half-width ATR channel and mark each flip with an arrow.
It belongs to the stop-and-reverse family alongside Supertrend and NRTR: one line, two states, flips traded as signals. Its signature is the long horizontal shelf during consolidation, which avoids the drift a moving average shows in chop, though not the whipsaw; tight ranges can still flip it repeatedly, and the flat line always concedes some lag at genuine turns.
How traders use it
- As a regime filter: the line's state gates direction, with longs considered only above a rising line and shorts only below a falling one.
- As flip signals: the arrows at state changes serve as entry or exit triggers, typically filtered by higher-timeframe bias because range-bound flips are frequent and unreliable.
- As a trailing reference: the flat shelf and its ATR channel give a stop location that stays put through pauses instead of creeping toward price.
Related concepts · Trend-following systems
Concept family
Trend
100 concepts mapped · 88 in the Library
Halftrend FAQ
What does the amplitude setting in Halftrend do?
Amplitude sets the lookback for the highest-high and lowest-low tracking and for the moving averages of highs and lows that drive flips. Larger values make the line flatter and slower, flipping less often but conceding more at turns; smaller values follow price sooner and whipsaw more in ranges. No value removes false flips, so it is tuned per market and timeframe.
Is Halftrend better than Supertrend?
Neither dominates. Supertrend trails price by an ATR multiple, so its line drifts with volatility and flips on a price cross; Halftrend anchors to recent extreme highs and lows and sits flat through pauses, flipping on its moving-average condition. Halftrend tends to hold still in consolidation while Supertrend tightens, but both whipsaw in ranges and lag at real turns. Test both on your market.
Build Halftrend your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.
