HyperTrend
By LuxAlgoJul 27, 2023
HyperTrend is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
HyperTrend estimates the underlying linear trend of price in real time and builds a channel around it, with extremities that behave as support and resistance. The estimate carries no backpainting or repainting, so what you see at the live edge is what history keeps. Slope direction doubles as a trend regime read (average sloping up, uptrend; sloping down, downtrend) while the channel average serves as an unbiased running estimate of where the trend is heading, free of lookahead.
How to Trade the HyperTrend?
- Average slope: upward for bullish conditions, downward for bearish, the primary directional read.
- Upper extremity: acts as resistance; candle wicks interacting with it can mark timely retracements or reversals.
- Lower extremity: acts as support, read the same way in mirror.
- Channel average breaks: when a repeatedly tested average finally gives way, treat it as a strong reversal cue within this framework.
The channel average is less precise than a full regression fit, but that is the trade-off for having it live and unbiased. It still serves well as a moving support or resistance reference. Raising the Multiplicative Factor makes channels persist longer for position-scale analysis, while the slope input reshapes their steepness for different markets.
HyperTrend Settings
- Multiplicative Factor: the deviation allowed from the average before a new channel forms. Higher values mean fewer, longer-lived channels.
- Slope: sets the steepness of the channel lines; larger values flatten them.
- Width %: the channel's width percentage. Lower values draw tighter channels.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 4 Trend Regime Label indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





