Indicators Pricing & Plans How It Works Docs & Guides Reviews Feedback VIP Discord
Adaptive Regime Engine Live Core TradingView Pine v6 Ready Kalman + OU Model

Market Highway

Adaptive Kalman Road, Three-State Regime Classifier & With-Trend Entry Engine

TradingView Script Engine:
axealgo_market_highway ✅ 100% Non-Repainting
Live On The Chart Real capture
On The Chart Real captures, not mockups
BTC/USDT · 15m · Binance — regime flips to Trending Up with signals armed; ◆ with-trend entries and ✕ range fades from the prior consolidation
BTC/USDT · 15m · Binance — regime flips to Trending Up with signals armed; ◆ with-trend entries and ✕ range fades from the prior consolidation
EUR/USD · 1h · OANDA — an extended range: ✕ fade markers at the verges and the dashboard reading the deviation structure as "Reverting"
EUR/USD · 1h · OANDA — an extended range: ✕ fade markers at the verges and the dashboard reading the deviation structure as "Reverting"

How the Algorithm Works

Market Highway fits an adaptive Kalman filter to price — a "road" that carries both a level and a velocity, so it rides through noise but turns quickly on a real move. That velocity, together with how straight the road actually is over a slope window, is what sorts the market into one of three regimes: Trending Up (gold), Trending Down (crimson), or Ranging (grey). A regime only starts when the slope is strong and the line genuinely fits, and it exits well before it snaps — so the colour isn't flickering on every wobble. Around the road sit two ATR-scaled lanes whose width expands on a volatility shock and relaxes back gradually. Separately, an Ornstein-Uhlenbeck model is re-fit every bar to price's deviation from the road: it measures how persistently price stays on one side (trend behaviour) versus how fast it snaps back (range behaviour), and reports that as a deviation half-life and a stretch reading in σ. Those two engines drive three kinds of on-chart marker, each printed only on bar close and each with its own dotted invalidation level — the price where that idea is wrong: BREAK for a confirmed breakout through the outer lane during volatility expansion, a ◆ for a with-trend pullback that snapped back off the inner lane and held through the confirmation window, and a ✕ for a counter-trend fade at the verge of a range. A volatility squeeze is shaded on the chart so you can see when the market is coiled before one fires. Two dropdowns run the whole thing — Trading style (Scalp / Swing / Position) sets the speed and timeframe fit, Signal filtering (Strict / Normal / Lenient) sets how hard the markers are screened — with full Advanced overrides underneath. An optional higher-timeframe filter only allows signals that agree with the trend above. Everything commits on bar close; the road, lanes and regime colour redraw on the live forming bar (inherent to any adaptive filter) and settle once it closes — historical bars never change.

Core Feature Matrix

Adaptive Kalman "road" — a constant-velocity centerline that rides through noise and turns fast on real moves
Three-state regime classifier (Trending Up / Trending Down / Ranging) from filtered velocity plus a linear-fit quality check
ATR-scaled lanes that widen on a volatility shock and relax back gradually
Ornstein-Uhlenbeck deviation model — reports how persistent or mean-reverting the current move is, as a half-life and a σ stretch
Three bar-close-confirmed markers: BREAK (outer-lane breakout), ◆ (with-trend pullback entry), ✕ (range fade at the verge)
Dotted invalidation level drawn on every signal — the price where that idea is wrong
Volatility-squeeze shading, plus an optional higher-timeframe trend filter
Two-dropdown setup (Trading style · Signal filtering) with full Advanced overrides for power users

Asset & Timeframe Recommendations

Crypto (BTC, ETH, SOL)

Scalp style on 1-5 minute, Swing style on 15-minute to 1-hour. Crypto's volatility shocks are exactly what the adaptive lane width is built for — keep Signal filtering on Normal or Strict on the lower timeframes.

Forex (EURUSD, GBPUSD, XAUUSD)

Swing style on 15-minute to 4-hour across the London and New York sessions. Set the higher-timeframe filter to Daily so range-bound Asian hours don't produce with-trend signals against the bigger picture.

Indices & Futures (NQ, ES, US30)

Scalp or Swing style on 3-minute to 15-minute. The volatility-squeeze shading is useful into the cash open — it marks the coil before an expansion move.

Equities / Stocks

Swing style on 1-hour, or Position style on 4-hour and Daily for trend-following with fewer, cleaner signals.

Pine Script Parameter Presets

Trading Style Scalp / Swing / Position (speed + timeframe fit)
Signal Filtering Strict / Normal / Lenient (how hard signals are screened)
Higher-Timeframe Filter Optional — only signal with the HTF trend (default 240)
Engine Kalman centerline + Ornstein-Uhlenbeck deviation model
All-in-One Inclusion

Get This Indicator + the Full Suite

AxeAlgo indicators are sold as a complete bundle. Choose your plan to unlock instant invite-only access on TradingView.

Founder Monthly: $25 / mo
Founder Quarterly: $59 / quarter
Founder Yearly: $199 / yr

Founder rate — held while you stay subscribed. Standing price rises once early-member pricing ends.

Get All-Access Pass →
✅ Instant TradingView Access • 100% Non-Repaint
Got Questions?

Market Highway FAQ

BREAK is a confirmed breakout through the outer lane while volatility is expanding — a fresh trend attempt. The ◆ is a with-trend entry: price pulled back, snapped off the inner lane, and held through the confirmation window while the regime stayed in its favour. The ✕ is the opposite context — a counter-trend fade at the edge of a range while the deviation is still reverting quickly. Each prints only on bar close and draws its own dotted invalidation level.
Signals commit on bar close and never appear then vanish. The road, the lanes and the regime colour do update on the currently forming bar — that's unavoidable for any adaptive filter — and settle when the bar closes. Every historical bar is already closed, so history is fixed.
Trading style (Scalp / Swing / Position) sets how fast the filter reacts and which timeframes it suits — Scalp is responsive for low timeframes, Position is slow and smooth for high ones. Signal filtering (Strict / Normal / Lenient) sets how hard the markers are screened — Strict gives far fewer, only the cleanest and most persistent, and needs a prior squeeze; Lenient gives more, earlier, with more noise.
The indicator fits a statistical model to how far price sits from the road each bar. The half-life is roughly how many bars it takes for that deviation to decay by half. A long half-life means price is holding one side of the road — trend behaviour. A short one means it snaps back quickly — range behaviour. It describes current structure, not a forecast.
No. It's a Pine Script chart overlay. It can fire alerts on breakouts, confirmed entries, range fades, regime changes and volatility squeezes, which you can route into your own webhook or notification setup, but it doesn't execute anything itself.