Description
> The idea behind it
Markets do three things: they trend up, they trend down, or they pull back and test whether the trend is still alive. Most of the losses traders take come from not knowing which of the three is happening right now.
HyperTrend™ answers that question on every bar, directly on the price chart:
- Which regime are we in?
Bars are coloured by trend direction, and a ▲ or ▼ marks the exact bar where the regime flips.
- Where is the pullback zone?
An entry-zone line rides inside the trend, showing where a healthy pullback should find support (uptrend) or resistance (downtrend).
- Where is the trade wrong?
A stop line sits a fixed number of pips beyond that zone — your risk is drawn before you take the trade.
Is the trend being tested? In Enhanced mode, bars that close fully on the wrong side of the trend line turn neutral — a warning, not yet a reversal. When price recovers with the trend intact, a ◆ continuation signal marks it.
No oscillator to interpret, no second window to watch. Everything lives where your eyes already are.
> What's under the hood
HyperTrend™ combines two simple, proven concepts — a moving average and SuperTrend logic — and upgrades each of them:
- A custom, efficient moving average.
Built to respond to genuine trend movement while damping extreme spikes, so a single shock bar doesn't drag the centre line off course. The result is a centre line that follows the real trend and ignores one-bar shocks.
- SuperTrend logic with better volatility measures.
The bands around that centre can be sized by the classic ATR, or by range-based volatility estimators from published research (Parkinson; Garman–Klass, as revisited by Meilijson). These use each bar's high and low (Garman–Klass also its open and close), so they extract more information per bar than classic close-to-close volatility. See references at bottom of product page.
The full pipeline:
- Price source. 13 price combinations (Close, HL2, OCC3, OHLC4, geometric OHLC4, …)
- Heikin-Ashi (optional). Smooths the bars the trend is calculated from — fewer false flips
- Kalman filter (optional). Removes measurement noise from the price source before the trend sees it
- Moving average. Custom tanh-based moving average — the centre of the bands
- Volatility. ATR, Parkinson or Garman-Klass (Meilijson) — sets the band width
- Regime. Trend flips only when price breaks through the opposite band
> Two ways to see the trend
Switch between them live from the on-chart panel — no reload, no settings window.
- TR — Trend mode
The classic view. A solid trend line with the entry zone placed half way to the opposite band, and a light shaded fill between them. Clean, familiar, ideal for swing traders.
- CH — Channel mode
The structural view. The trend line, the entry zone placed a quarter of the way to the opposite band (closer to the trend line, for deeper pullback entries), a shifted copy of the entry zone anchored to the open of the bar where the trend began, a shaded band between the two zones, and a midline through the whole structure.
> Key Features
- Regime bar coloring. Regular (bull / bear) or Enhanced (bull / bear / neutral test bars), with adjustable fill transparency and an option to color only signal bars.
- Trend Switch markers. Signals always alternate, so the indicator can be traded as a complete swing system ( ▲ / ▼) .
- Continuation signal. Marks the bar where price recovers after testing the trend line, with the trend still intact. Built for adding to a position or re-entering one ( ◆ ).
- Stop line with its own switch. Shown in Trend mode, Channel mode, or on its own with the mode lines hidden. Set the distance in pips and change it live from the panel.
- Entry Cross alert. Fires when the forming bar touches the trend level.
- Alerts. Sound plus optional popup (symbol, timeframe, price) for switches, continuations and trend-level touches. At most one per signal per bar.
- Freeze Levels. Output lines hold at the last closed bar, so they don't wobble while the bar forms.
- Compact on-chart panel. Alerts on/off, TR / CH / OFF, stop on/off and stop distance, collapsible to a single button.
- Clear output names. Every plot is prefixed TR, CH or SL, so styling in the settings window is obvious.
- cBot-ready. Public long/short switch events and current direction for automated strategies.
Who it's for
- Swing traders, who want one clear long/short state and a signal that always alternates.
- Trend followers, who want pullback entries with the risk already drawn on the chart.
- Discretionary traders, who prefer reading price over reading oscillators.
- cBot developers, who need a clean regime signal to build on.
Works on any symbol and timeframe available in cTrader — forex, indices, commodities, crypto, stocks.
**SOURCE REFERENCES**
- ECB: A TREND-CYCLE(-SEASON) FILTER
- Kalman filter demystified: from intuition to probabilistic graphical model to real case in financial markets
- Financial Pricing Models in Continuous Time and Kalman Filtering
- The Holt-Winters filter and the one-sided HP filter: A close correspondence
- A Bayesian Framework for Trend and Seasonality Decomposition
- Hedge Fund Returns, Kalman Filter, and Errors-in-Variables
- Moving Averages for Financial Data Smoothing
- Optimizing the Performance of the Fractal Adaptive Moving Average Strategy: The Case of EUR/USD
- Kalman Filter and Optimal Smoothing Derived by the Regression Model
Summary
Under the hood, HyperTrend processes price data through selectable sources and optional smoothing filters such as Heikin-Ashi and Kalman filters. It applies volatility bands based on ATR and SuperTrend logic to determine active trend direction. The indicator offers three types of signals—trend switches, entry zone crosses, and trailing line crosses—with labeled markers and optional alerts via sound and popups.
Risk management is supported through on-chart stop-loss and take-profit levels displayed as horizontal lines at fixed pip distances from entry points, helping traders visualize risk/reward before committing. An interactive on-chart panel allows live adjustment of visual settings and parameters without reopening menus.
HyperTrend is optimized for fast, low-CPU performance on cTrader, suitable for all trader experience levels, and applicable across symbols and timeframes. It emphasizes readability and simplicity while incorporating modern data processing techniques to enhance traditional trend-following methods.
