Heisenberg Uncertainty Bands [JOAT]HEISENBERG UNCERTAINTY BANDS
A novel band-and-state engine inspired by the Heisenberg uncertainty principle: the recognition that for a market, just as for a quantum particle, you cannot simultaneously be certain about both position (where price is) and momentum (how fast it is moving). Heisenberg Uncertainty Bands measures both uncertainties, tracks their empirical floor, classifies the current market into one of three quantum-inspired states — pure position |x⟩, pure momentum |p⟩, or mixed |ψ⟩ — and projects bands around price accordingly.
The principle, translated
In quantum mechanics, Δx · Δp ≥ ℏ/2 — the product of the position uncertainty and the momentum uncertainty cannot fall below a constant called Planck's reduced. For markets the analogue is:
Δx — the rolling standard deviation of price over a configurable window. The uncertainty in where price is sitting.
Δp — the rolling standard deviation of returns (log or arithmetic, configurable) over a separate window. The uncertainty in how fast price is moving.
ℏ̂ (hbar-hat) — the EMA-smoothed long-run product Δx · Δp. The script's empirical estimate of the market-specific lower bound.
Just like in physics, when the market is certain about position (price has been stable), it becomes uncertain about momentum (next direction is unknown) — and vice versa. The script measures both, computes the product, compares it to the empirical floor, and uses the ratio Δx/Δp as the state classifier.
Three quantum states
Pure Position State |x⟩ — Δx/Δp below the position threshold (default 0.40). Price is constrained to a tight band; the next directional move is uncertain. Yellow palette.
Pure Momentum State |p⟩ — Δp/Δx below the momentum threshold (default 0.40). Direction is committed; the range is widening. Magenta palette.
Mixed State |ψ⟩ — neither pure state condition holds. Violet palette.
The state badge on the right of the chart shows the bra-ket glyph (Unicode |x⟩ / |p⟩ / |ψ⟩ by default; can fall back to plain POS / MOM / MIX if your font lacks the brackets). A state cooldown (default 3 bars) debounces flicker.
Band projection
Two band families are projected around the live mid price:
Position bands — mid ± k × Δx. Solid by default. The classic "how wide is price ranging right now" envelope.
Momentum bands — mid ± k × (Δp scaled to the price axis). Dashed by default (configurable: Dashed / Dotted / Solid). Projected so their visual range matches the position bands.
When the two families are far apart in width, the state is decisive (|x⟩ if position is much tighter, |p⟩ if momentum is much tighter). When they are similar, the state is mixed.
Optional uncertainty-score candle tint
A toggleable layer recolours each candle based on how far the current Δx · Δp product deviates from the empirical floor ℏ̂. When the product is at the floor, the market is at its quantum-mechanical minimum — the most decisive setup; further from the floor means the market is "spending uncertainty" on both axes simultaneously.
Visual system
Position bands (solid, gradient fill optional).
Momentum bands (dashed / dotted / solid).
Mid line (style configurable).
State badge (right-side floating, configurable offset and size).
Background tint by state (configurable transparency, institutional default).
Optional candle re-tint by uncertainty score.
A locked Plasma palette (yellow position / magenta momentum / violet mixed on a deep-void ground) gives the chart a distinctive physics-inspired identity.
Dashboard
Monospaced table, positionable to any of nine corners, optional compact-no-header mode. Surfaces:
Current Δx and Δp values.
Δx · Δp product and its ratio to the ℏ̂ floor.
Δx / Δp ratio (drives the state).
Current state (|x⟩ / |p⟩ / |ψ⟩) with bar age.
Last state change with bars-ago.
Return mode (Log / Arithmetic) in use.
Alerts
Three alert conditions:
Pure Position State entry
Pure Momentum State entry
Mixed State return
How to read it
Two reads, in order of conviction:
Pure Momentum State |p⟩ entry is the script's directional commitment signal. Momentum has decisively exceeded position uncertainty — the move is real. Trend-following tools and breakout entries become high-conviction.
Pure Position State |x⟩ is the coil. Range has clamped down, direction is undecided. Reversion tools become high-conviction inside the band; the next state transition (back to |ψ⟩ or jumping to |p⟩) often produces a decisive breakout.
When Δx · Δp is close to ℏ̂ (the empirical floor) the market is at its most efficient — there is no slack in either axis to spare. These bars often coincide with the cleanest reversals and breakouts; the candle-tint layer is there specifically to highlight them.
Suggested settings
Defaults (position window 20, momentum window 20, hbar smoothing 100, k = 2.0, state threshold 0.40) are tuned for 15m–4H on liquid markets. For lower timeframes drop both windows to 10–14. For HTF (4H+) raise both to 30–50. Log returns are the theoretically-correct mode and the recommended default; switch to Arithmetic only if your instrument has trivially small price scale.
Originality
The implementation — the Δx / Δp dual-uncertainty pipeline, the EMA-smoothed empirical ℏ̂ floor, the three-state quantum-inspired classifier with bra-ket labelling, the dual-band projection with auto-scale, the uncertainty-score candle tint, the cooldown-debounced state machine, and the plasma palette — is JOAT-original. No third-party code reused. The Heisenberg principle is fundamental physics; the financial-market analogue and its implementation here are original work.
Limitations
The Heisenberg analogy is structural, not literal — markets do not obey the quantum-mechanical commutator relation; the script uses the concept of an inviolable joint-uncertainty floor as a market-regime classifier. The empirical floor ℏ̂ is estimated by EMA over a long window (default 100 bars) — on instruments with very short history the floor is approximate. State classification can flicker across the threshold; the cooldown is there to suppress this and is tunable.
—
-made with passion by jackofalltrades
インジケーター

インジケーター

インジケーター

Solana Day Trader 1.08.1
SOLANA DAY TRADER 1.08.1 Final Version
Multi-timeframe capitulation entry system for SOL perpetual futures
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IT DOES
Solana Day Trader identifies high-probability long entries during washout conditions — the sharp, wick-heavy drops where weak hands are flushed out before a mean-reversion recovery. It monitors the 15m, 30m, and 1h timeframes simultaneously and grades each potential entry from BASE through SCALE to FULL based on how much confirming evidence lines up.
The result is a live multi-timeframe dashboard that shows exactly where each timeframe stands — gate status, entry tier, confluence score, regime quality, liquidity levels, and active exit signals — all in one panel.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
The system runs three filters in sequence. All three must pass for a FULL-tier entry; failing the third downgrades to SCALE or BASE.
1 — CAPITULATION GATES (must both pass)
The Williams VIX Fix (WVF Filtered) fires when the current low relative to recent highs reaches an extreme — the volatility-squeeze signature of a washout wick. A Fair Value Gap (FVG) must also be present: a 3-bar price imbalance that confirms institutional order flow was present at the move. Together these two gates filter out ordinary pullbacks and focus attention on structural lows.
2 — CONFLUENCE SCORE (determines BASE vs SCALE)
Once the gates pass, four factors add to a score: EMA 9>21 alignment, a VIDYA adaptive moving average in bull posture, OBV slope pointing upward (contrarian — rising buy-side pressure into the low), and a signed-volume DELTA measure. The score floor for BASE is 1; SCALE requires 2 or higher. Each weight is adjustable, and any factor can be zeroed out to simplify the model.
3 — REGIME GATE (SCALE → FULL escalation)
FULL tier requires the market to be in a ranging, low-momentum state: ADX below the configured threshold (default 25). High-ADX trending markets favor momentum strategies; low-ADX ranging markets are where mean-reversion setups have the clearest edge. Optionally, a BTC bull requirement can be added as an additional gate for FULL.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE DASHBOARD
The panel (default: middle-right, toggleable) displays a 3-column layout — one column per timeframe (15m / 30m / 1h) — with the active chart timeframe highlighted.
Row by row:
TIER — BASE / SCALE / FULL (or blank if no signal)
SIGNAL — current trade status (GET IN / IN TRADE / EXIT FULL / RE-ENTRY / etc.)
WVF — armed (✓) or not
FVG — armed (✓) or not
TQI gate — gating status when TQI gate is enabled
TQI — Trend Quality Index value (0–1), used for the optional gate and char-flip exit
Score — current confluence score
ADX < — ADX value vs. the FULL-tier threshold
REGIME — GREEN / YELLOW / RED composite regime
HTF / EMA — higher-timeframe EMA bias
ATF / BTC — adaptive trend fit classification + BTC lead direction
VWAP / OBV — swing VWAP position + OBV state
LEVELS — structural stop and ATR-based stop levels
Liq ↑ — nearest auto-detected sell-side liquidity above (resistance pool)
Liq ↓ — nearest auto-detected buy-side liquidity below (support pool)
OBSERVABLES — MBI, CVI, BBAWE, Bull Pressure composite line
Sweep — per-TF liquidity sweep detection
GATES — WVF / FVG gate arm state
GREEN regime = trending higher with measured momentum, favorable for recovery.
YELLOW regime = intermediate / mixed — entries here carry more risk.
RED regime = downtrend or high-volatility chop — approach with caution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EXIT SIGNALS
Four exit conditions are available (each independently toggleable):
• BB Break — closes below the Bollinger lower band; thesis invalidated
• WVF Top — volatility-spike exhaustion reading; momentum likely stalling
• CVI Top — CVI exhaustion signal at extended levels
• Char-Flip (default OFF) — TQI collapse: trend quality deteriorates sharply after entry
The dashboard SIGNAL row tracks trade state and flags when any exit fires. A re-entry signal also activates after a full exit if the entry conditions re-arm within the configured watch window.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MANUAL TRADE PROJECTION
When you enter a trade, toggle "I am currently in a trade" ON and type your entry price into "My entry price." The indicator draws TP and SL lines on the chart so you can see your risk/reward at a glance. Toggle OFF when you exit.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
Three alert conditions are available — one per tier — so you can be notified on BASE, SCALE, and/or FULL fires independently. Configure in the Alert Filtering settings group.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RECOMMENDED SETUP
Chart: SOL/USDT or SOLUSDT perpetual, any supported exchange.
Timeframe: 15m is the primary display TF. The indicator reads 15m, 30m, and 1h internally regardless of which TF the chart is set to, but the dashboard highlights whichever matches your chart.
Defaults: WVF gate ON, FVG gate ON, ADX threshold 25, all three timeframes enabled. These are sensible starting points — the system is designed to be used as-is.
The most conservative approach is to trade FULL-tier signals only during GREEN regime. BASE and SCALE signals in YELLOW regime are valid setups but carry wider outcome distributions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS GROUPS
Display — panel location/size, chart overlays (BB bands, WVF markers, EMA/SMA lines), trade projection toggle and entry price.
Entry Engine — timing windows (core arm, active trade, exit escalation, cooldown, re-entry).
Gate Stack — toggle WVF, FVG, TQI gates and the BB anti-signal individually.
Tier Escalators — ADX threshold for FULL tier.
Exit Signals — toggle each exit condition independently.
Cores — toggle EMA and VIDYA cores.
Confluence Score — individual weights for EMA, VIDYA, OBV, DELTA; score floor for BASE and SCALE/FULL.
Regime Escalator — BTC — optional BTC bull requirement for FULL-tier entries.
Alert Filtering — enable/disable alerts per tier.
Regime Context — HTF bias timeframe, EMA lengths, ADX length, ATF settings, BTC symbol.
Timeframes — enable/disable 15m, 30m, 1h independently; per-TF entry offset bars.
GATE — WVF Filtered — WVF period, Bollinger parameters, range lookback, arm window.
GATE — FVG — minimum gap height as % of price.
GATE — TQI — Trend Quality Index lengths and thresholds (informational unless TQI gate is enabled).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ATTRIBUTION
Williams VIX Fix methodology originally by LazyBear.
VIDYA adaptive moving average component from BigBeluga's Volumatic VIDYA.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is built for SOL perpetual futures. It is a decision-support tool, not a signal service. All entries and exits are your own decision. Past entry conditions do not guarantee future results.
インジケーター

TW - Dual FlowZone MA Clouds## Dual FlowZone MA Clouds
Dual FlowZone MA Clouds is a trend visualization indicator designed to help traders quickly identify market direction, trend strength, and potential transitions before they become obvious.
Unlike traditional moving average indicators that simply plot one or two averages, Dual FlowZone MA Clouds uses two independent FlowZones to provide both short-term momentum and longer-term trend context in a single, easy-to-read visualization.
FlowZone A is designed to help identify momentum, pullbacks, and trend continuation, while FlowZone B provides higher timeframe directional bias and market context. When both FlowZones align, traders can quickly recognize strong trending conditions. When they diverge, the market may be transitioning or losing participation.
### Flow Status Table
The optional Flow Status table provides an instant summary of current market conditions without requiring traders to interpret multiple moving averages.
The table displays:
* **Primary Flow** – Current direction of FlowZone A (Bullish, Bearish, Neutral, or Weakening)
* **Secondary Flow** – Current direction of FlowZone B
* **Alignment** – Indicates whether both FlowZones are aligned or providing mixed signals
This allows traders to assess overall trend bias with a quick glance before analyzing price action.
### ORB-Style Visual Design
The Flow Status table uses the same visual style as the Traders Workshop ORB Sessions indicator, providing a consistent interface across the indicator suite.
### Chart Labels
When a FlowZone crossover occurs, optional chart labels identify the signal directly on the chart, making it easy to review historical trend changes without searching through moving average crosses.
The indicator also supports optional Flow Dots and subtle background bias to provide additional visual confirmation while keeping the chart clean and uncluttered.
### Features
• Two fully independent Moving Average FlowZones
• Supports SMA, EMA, WMA, RMA, VWMA and HMA
• Configurable MA lengths, colors and line widths
• Dynamic bullish, bearish and transition cloud coloring
• Optional Flow Status dashboard
• Optional crossover markers
• Optional Flow Dots
• Optional background trend bias
• Individual alerts for crossovers, trend changes and FlowZone alignment
Dual FlowZone MA Clouds is designed to complement price action—not replace it. Use it alongside market structure, volume, VWAP, auction concepts, and support/resistance to better understand trend quality and directional bias.
---
**Part of the Traders Workshop indicator collection**
**Real Trading. Real Testing. Real Results.**
インジケーター

Pure CVD MACD (Momentum of Delta)Overview
Traditional MACD indicators are fantastic at measuring the momentum of price, but they are entirely blind to the actual order flow driving that price. The Pure CVD MACD shifts the focus from the result (price action) to the cause (market aggression).
Instead of asking "Are there more buyers or sellers?", this indicator asks "Is the buying or selling pressure accelerating or decelerating?"
Built using Pine Script Version 6 and the new ta.requestVolumeDelta function, this script calculates a classic MACD (Moving Average Convergence Divergence) entirely on the raw Cumulative Volume Delta (CVD), completely independent of price. This provides an institutional-grade look at the momentum of order flow.
How It Works
The script calculates a continuous Cumulative Volume Delta line by scanning lower timeframe data to find the exact net difference between buying and selling volume. It then applies standard MACD logic to that CVD line:
MACD Line (Blue): The difference between a Fast EMA and Slow EMA of the volume delta.
Signal Line (Orange): An EMA of the MACD Line itself.
Histogram: The visual difference between the MACD Line and the Signal Line, color-coded to show momentum shifts.
Key Order Flow Concepts to Trade
Momentum Shifts (Zero-Line Crossovers): When the histogram crosses above the zero line (Blue crosses over Orange), the volume delta is gaining bullish momentum. Even if the macro trend is down, this shows aggressive buyers are stepping in and accelerating their pace. A cross below zero signals accelerating bearish pressure.
Exhaustion (Histogram Fades): Watch for the color fades (Teal to Dark Teal, or Red to Dark Red). If you are watching a massive sell-off and the histogram prints a "Dark Red" bar, the selling pressure is decelerating. Sellers are running out of ammunition, often signaling an impending reversal.
Hidden Divergence: Compare the Pure CVD MACD to the price chart. If the price is grinding upward to make a Higher High, but the CVD MACD is crossing bearishly below its Signal Line, the breakout is running on fumes and a trap is likely being set.
Settings Breakdown
Anchor & Lower Timeframe: Defines the starting point for the cumulative delta and the timeframe used to calculate the intra-bar buying/selling volume. By default, it automatically selects the best lower timeframe.
Fast / Slow EMA Lengths (Default 12, 26): The lookback periods used to track the short-term vs. long-term trend of the volume delta.
Signal EMA Length (Default 9): The trigger line used to spot early momentum shifts in the delta.
Best Practices
Because this indicator measures the momentum of order flow rather than absolute volume, it pairs exceptionally well with structural price analysis or liquidity zones. When price taps a major support level and the Pure CVD MACD prints a bullish divergence or a histogram fade, you have highly confluent evidence that the level will hold. インジケーター

ストラテジー

Adaptive SuperTrend -, Regime Filter & Buy/Sell Signals [LunqFX]Adaptive SuperTrend is a self-tuning trend indicator for TradingView that fixes the biggest flaw of the classic SuperTrend: a fixed multiplier that whipsaws in choppy markets and lags in fast ones. This version makes the SuperTrend multiplier adaptive — it automatically widens in high volatility and tightens in low volatility — and layers a regime filter and a momentum filter on top to deliver clean, non-repainting Buy/Sell signals with an automatic take-profit / stop-loss ladder and live performance stats. It works on forex, crypto, stocks, indices, futures, gold (XAUUSD) and Bitcoin (BTCUSD), on any timeframe, for scalping, day trading and swing trading. Built in Pine Script v6. Keywords: adaptive supertrend, supertrend, trend, trend following, buy sell signals, regime filter, ATR trailing stop, volatility, momentum, take profit, stop loss, risk reward, trend reversal, no repaint, scalping, day trading, swing trading.
◆ WHY ADAPTIVE
A normal SuperTrend uses one fixed multiplier for every market and every condition, so it gets shaken out in volatile phases and reacts too slowly in calm ones. Adaptive SuperTrend ranks current volatility against its own recent history (0–100%) and maps that onto a multiplier range — wide when the market is wild, tight when it is calm — with zero manual tuning. The same settings behave sensibly on EURUSD, BTCUSD and the S&P 500.
◆ WHAT IT DOES
Adaptive trend line + fill — a volatility-adjusted trailing stop that flips turquoise (up) / magenta (down).
Filtered Buy/Sell signals — a trend flip only fires as a signal when two filters agree.
Auto TP/SL ladder — on every signal it draws the stop (on the trend line) and TP1 / TP2 / TP3 at 1R / 2R / 3R, so you get a complete trade plan instantly.
Conviction Score 0–100 — one number summarising how strong the current setup is.
Live win-rate stats — the script tracks its own past signals on the fly.
Neon trend candles + a clean live dashboard.
◆ HOW IT WORKS (the concepts)
Adaptive multiplier: ATR is ranked by percentile over a lookback window; the percentile sets the SuperTrend multiplier between your min and max.
SuperTrend core: the standard trailing-stop formula, flipping direction when price closes beyond the band.
Regime filter (Kaufman Efficiency Ratio): directional travel divided by total path = how trending vs choppy the market is. Signals are blocked in low-efficiency (range) conditions to cut false signals.
Momentum check: a flip is only taken when price is on the matching side of its momentum EMA.
Conviction Score: a weighted blend of trend efficiency, momentum agreement and trend-line slope (0–100).
Live stats: each signal is tracked sequentially — a “win” = price reaches TP1 (1R) before the stop — with no lookahead.
◆ HOW TO USE IT
Take BUY / SELL labels in the direction of the new trend; the SL and TP1/2/3 ladder give you the exact plan and risk/reward.
Favour signals with a high Conviction Score and a TRENDING regime; stand aside when the dashboard shows RANGE.
Manage the trade to TP1/TP2/TP3 or trail with the adaptive line.
Tune Min/Max multiplier for tighter or looser stops and Efficiency threshold for how strict the range filter is.
Combine with your own support/resistance, structure or higher-timeframe bias for confluence.
◆ SETTINGS
Adaptive Trend: ATR length, min/max multiplier, volatility window.
Regime Filter: on/off, efficiency length, trend threshold.
Momentum Check: on/off, momentum EMA.
Visuals: trend fill, glow, neon candles, Buy/Sell labels.
Trade Levels & Stats: auto TP/SL ladder, live signal stats.
Panel: show/hide, position, background, accent.
◆ ALERTS
Buy signal · Sell signal · Trend flip up · Trend flip down.
◆ ORIGINALITY
The SuperTrend trailing-stop formula is a standard, public technique, implemented here from scratch. The adaptive volatility-percentile multiplier, the regime filter integration, the Conviction Score, the R-based TP/SL ladder and the live win-rate engine are my own original work. No third-party or copied code is used.
◆ LIMITATIONS
This is a trend/volatility tool, not a complete system — always confirm with price action and risk management.
Like all trend-following tools, it can chop in tight ranges; the regime filter reduces but cannot eliminate this.
The fixed-R stop in the ladder is a planning aid (constant 1R), separate from the trailing adaptive line — they are different stops by design.
The live win-rate is the indicator’s own TP1-vs-stop estimate; if a single bar tags both the stop and TP1 it is counted as a win, so treat the stat as indicative, not exact.
Past performance and live stats do not guarantee future results.
◆ NON-REPAINTING
Trend, regime, signals and stats are computed from confirmed bar data with no security() lookahead. A signal printed on a closed bar stays. As with any live tool, the forming bar updates in real time and settles on close.
Adaptive SuperTrend is an educational analysis tool, not financial advice. Always do your own research and manage risk. © LunqFX. インジケーター

インジケーター

インジケーター

[ A L P H A X ] MERIDIAN - Session Intelligence EngineAlphaX MERIDIAN — Session Intelligence Engine: Multi-Session Range Tracking, Prior Session Break & Retest, Opening Range Breakout, Meridian Bounce & 7-Layer Confluence Scoring
AlphaX MERIDIAN is a professional-grade session-based trading system built around the foundational truth that institutional price delivery is not random across the clock — it is organized by session. The Asian session defines the overnight range. London breaks it. New York confirms the direction or reverses it. Every major intraday move originates from one of three specific events: a break and retest of the prior session's high or low, a breakout of the opening range, or a pullback to the session's meridian equilibrium level. MERIDIAN detects all three in real time across all three global trading sessions, scores every potential entry through a 7-layer confluence engine, and fires signals only when session bias, VWAP positioning, HTF alignment, volume, and setup quality all confirm simultaneously. The result is a system that puts every trade in its correct session context — not just where price is, but which session it is in , what the prior session established , and where the institutional session bias currently sits . Designed for active traders across forex, gold, indices, and crypto on M1 through H1 timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 The Session Framework — Why Sessions Define Institutional Flow
Every liquid market is driven by three geographically separated groups of institutional participants operating in overlapping but distinct time windows: Asian banks and sovereign funds, European institutional desks and London market makers, and American institutional desks and New York banks. Each group has a characteristic trading behavior that shapes price during their active window.
Asian Session — The Range Builder:
During Asian hours, liquidity is thinner and price tends to consolidate or range within a defined high-low channel. The Asian session range represents the overnight consolidation — the zone where price equilibrates before the European open. The extremes of the Asian range are the first liquidity pools that London will target.
London Session — The Trend Initiator:
London is the world's most liquid trading session. European institutional desks frequently break the Asian range in the first hours of the London open — hunting the liquidity sitting above and below the overnight extremes before establishing the day's primary directional trend. The London opening range (the first N minutes of the session) frequently establishes the high or low of the day.
New York Session — The Confirmer or Reverser:
New York either confirms the London trend with continuation, or reverses the late-London move in the early New York hours. The London/NY overlap (typically 13:00–17:00 UTC) is the highest-volume period of the day and frequently produces the largest directional moves.
MERIDIAN is built around this three-session cycle. The prior session's high, low, and meridian are the key reference levels. The opening range of London or NY is the breakout reference. The session VWAP and meridian divide the current session into institutional premium (above) and discount (below). Every signal is evaluated in the context of which session it occurred in and what the prior session established.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏱ Session Tracking Engine
MERIDIAN runs a fully independent session tracking system for all three global sessions simultaneously, configurable to any timezone.
Session detection:
Each session is defined by a configurable start and end hour in the selected timezone (default: UTC). The session engine detects the active session on every bar and correctly handles overnight sessions (sessions that span midnight). When no configured session is active, the system enters an OFF state and session-based calculations pause.
Session-by-session OHLC tracking:
From the first bar of each session, MERIDIAN tracks the rolling high, low, and open of the session in real time. Every new bar within the session extends these values — the session high and low expand with price, and the session meridian recalculates continuously as the range develops.
Session transition logic:
When a session changes, the completed session's high, low, and meridian are stored as the prior session reference. These prior session values persist until the next completed session overwrites them — giving you continuous access to the most recently completed session's key levels at all times.
Session VWAP (Volume Weighted Average Price):
A true session-anchored VWAP is computed from the first bar of each session — cumulative volume-weighted price divided by cumulative volume since the session open. This produces the purest possible VWAP calculation anchored to the correct institutional reference point: the session's opening bar.
Session Meridian (Equilibrium):
The midpoint of the current session's high-low range — (session high + session low) / 2. This level is the MERIDIAN line, plotted as a purple dotted line on the chart. It represents the current session's equilibrium — above is institutional premium, below is institutional discount, relative to where the session has traded.
Current session box:
The full range of the active session is visualized as a lightly tinted box extending from the session start bar to the current bar. Asian session boxes are gray, London boxes yellow-green tinted, and New York boxes red-tinted — providing immediate visual session identification across the chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 Prior Session Levels — The Institutional Reference Grid
The most important reference levels in intraday trading are the extremes established by the prior session. These are not arbitrary horizontal lines — they represent the boundaries of the range where an entire session's worth of institutional activity occurred. Breaking these levels is how one session's institutional participants establish control over the next session's price delivery.
Prior Session High (red dashed):
The highest price reached during the most recently completed session. This is the sell-side resistance level — the level above which bears were unable to sustain prices in the prior session. A close above this level in the current session is a significant break of prior institutional resistance.
Prior Session Low (yellow-green dashed):
The lowest price of the prior session. This is the buy-side support level — where buyers successfully defended price in the prior session. A close below this level represents a break of prior institutional support.
Prior Session Meridian (purple dotted):
The midpoint of the prior session's range. This level frequently acts as a magnet — price is drawn to the prior session's 50% level on pullbacks, retracements, and continuation moves. It represents the most-traded price zone of the prior session in range-position terms.
All three prior session levels are plotted as forward-extending lines covering the relevant history window. The prior session name (ASIAN / LONDON / NEW YORK) is displayed on the dashboard so you always know which session's levels you are referencing.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 Opening Range — The First N Minutes
The Opening Range (ORB) is one of the most consistently respected intraday reference structures across all liquid markets. It represents the range established in the first configurable number of minutes of the London or New York session (default: 30 minutes). Once the opening range is set, breakouts above and below its boundaries frequently produce the day's strongest directional moves.
How the opening range is built:
From the first bar of each London or New York session, MERIDIAN accumulates the highest high and lowest low across all bars that fall within the opening range time window. Once a bar falls outside the ORB time window, the range is locked — the ORB high and ORB low are fixed for the remainder of the session.
ORB visualization:
The completed opening range is rendered as an orange-tinted box on the chart, spanning from the first ORB bar to the last ORB bar. This box remains on the chart as a reference level for the session.
Dashboard ORB status:
The dashboard displays the ORB status as FORMING (while the range is still building) or SET (once locked), along with the exact ORB high and low prices. This gives you advance notice before the ORB is complete — you can watch it forming in real time and prepare for the Setup B breakout signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Session Bias — VWAP and Meridian Positioning
MERIDIAN defines the current session's directional bias through two independent price positioning checks that together create a clear institutional bias reading.
VWAP bias:
Price above the session VWAP indicates institutional net-buying for the session — the volume-weighted average of all transactions favors the bull side. Price below indicates net-selling. The VWAP bias is updated on every bar as new volume flows in.
Meridian bias:
Price above the session meridian (the session range midpoint) means price is in the upper, premium half of the session range. Price below is in the discount half.
Combined session bias:
sessBull — price is both above VWAP and above the session meridian. Both the volume-weighted and range-position measures confirm bullish institutional bias
sessBear — price is both below VWAP and below the session meridian. Both measures confirm bearish institutional bias
This combined bias is the most important single dashboard reading in MERIDIAN. A bullish session bias means the institutional context favors long entries. A bearish session bias favors shorts. Entries against the combined session bias carry the highest failure rate of any MERIDIAN setup.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Three Setup Types — A, B, and C
MERIDIAN fires signals through three distinct setup configurations, each representing a different institutional entry scenario anchored to session-based reference levels. All three can be enabled simultaneously.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup A — Prior Session Break & Retest
The most institutionally significant setup type. Fires when:
The current session's price closes above the prior session high (long) or below the prior session low (short) — the structural break of the prior session's boundary
Within 30 bars of the break, price pulls back to within ATR tolerance of the broken level
A qualifying rejection candle forms at the retest — confirming the broken level has flipped from resistance to support (long) or support to resistance (short)
Why prior session break and retest is the highest-quality setup: When London breaks the Asian high and then retests it, the break has been confirmed as a genuine institutional breakout rather than a wick spike. The retest at the prior session level provides the optimal entry price — buying exactly at the prior resistance that has now become support, with the stop below the level and the continuation target above. This is the institutional "break, retest, continue" sequence that produces the cleanest risk/reward in session-based trading.
Break detection markers: Small semi-transparent circles appear above (prior high break) or below (prior low break) the bar that closes through the prior session boundary — alerting you that a pending retest setup is now active. The system tracks the pending retest for up to 30 bars. If no qualifying retest occurs within that window, the pending state expires.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup B — Opening Range Breakout
The high-momentum setup type. Fires when:
The opening range has been fully set (ORB locked after the opening range period has elapsed)
Price closes above the ORB high (long) or below the ORB low (short) — the first close-based break of the opening range boundary
The close is on the correct side of the prior bar's close relative to the ORB level — confirming the break is not a wick through and back
A qualifying bull or bear rejection candle (minimum 50% wick ratio) confirms the breakout bar's directional commitment
Why the ORB breakout is a high-conviction institutional signal: The opening range represents the indecision of the first N minutes of a session — the market testing price levels before committing to a direction. The first body close beyond the ORB boundary is the signal that the indecision has resolved and institutional order flow has committed to a direction. The rejection candle requirement ensures the break was not passive drift but a genuine directional conviction bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Setup C — Meridian Bounce
The continuation and trend-following setup type. Fires when:
The session bias is fully established (sessBull for long, sessBear for short)
Price pulls back to within ATR tolerance of the session meridian (the session range midpoint)
A qualifying rejection candle forms — confirming the meridian held and price is rejecting back in the bias direction
Why the meridian bounce is a reliable continuation entry: In a trending session where price is above VWAP and above the session midpoint (sessBull), the meridian represents the natural pullback target — the highest-volume price zone within the session's lower half. Institutional buyers who missed the initial move use meridian pullbacks to add to positions. The rejection at the meridian in a sessBull environment is the continuation entry that offers the tightest stop (just below the meridian) with the continuation toward the session high as the target.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 7-Layer Confluence Engine
Every potential entry across all three setup types is scored through the same 7-layer confluence engine. The minimum default is 5 of 7.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1 — Session Bias (Combined)
Awards 1 point when the combined session bias (sessBull for long, sessBear for short) agrees with the signal direction. This requires both VWAP positioning and meridian positioning to be aligned — the strongest single session-level directional indicator available.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 2 — VWAP Positioning
Awards 1 point when price is on the correct side of the session VWAP — above for longs, below for shorts. The VWAP layer is available independently from the combined session bias layer. On bars where price is above VWAP but below the meridian (or vice versa), the session bias may not score but the VWAP layer still contributes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 3 — HTF Bias
Awards 1 point when the higher timeframe EMA structure (default: 60-minute, 21/55 EMA pair) agrees with the signal direction. Ensures the session-level setup is aligned with the macro institutional flow. A session setup against the HTF trend carries the highest failure rate of any setup type.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 4 — Trading Session Enabled
Awards 1 point when the current session is one of the configured tradeable sessions (London and NY on by default, Asian off by default). This layer enforces session selectivity — preventing signals from firing during sessions you have chosen not to trade. If the Asian session is disabled for trading, Asian session signals are blocked at this layer regardless of how strong the other confluences are.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 5 — Volume Expansion
Awards 1 point when the current bar's volume exceeds the volume moving average by the configured minimum multiplier (default: 1.1×). Confirms that the rejection candle or breakout bar has genuine institutional participation behind it — not a low-volume drift through a reference level.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 6 — Rejection Candle Quality
Awards 1 point when a qualifying bull or bear rejection candle is present. Bull rejection requires a bullish close with the close-to-low distance exceeding 50% of the bar range. Bear rejection requires a bearish close with the high-to-close distance exceeding 50%. This layer ensures the reference level produced a visible, decisive price rejection — not a passive touch.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 7 — Setup Type Trigger
Awards 1 point when any of the three enabled setup types fires on the current bar — a prior session retest (Setup A), an ORB breakout (Setup B), or a meridian bounce (Setup C). This layer is both a confluence score contributor and a hard prerequisite — no signal can fire without at least one setup type triggering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🕯 Rejection Candle Confirmation
All three setup types require a qualifying rejection candle for a signal to fire. Two candle types qualify:
Bull rejection: A bullish close (close above open) where the distance from close to bar low exceeds 50% of the total bar range. The bar closed in its upper half — buyers dominated and rejected the level being tested.
Bear rejection: A bearish close where the distance from bar high to close exceeds 50% of the total range. The bar closed in its lower half — sellers dominated the rejection.
The same 50% wick threshold applies across all three setup types, ensuring every MERIDIAN signal has a consistent, minimum candle quality standard regardless of which session event triggered it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Session-Anchored Stop Loss Placement
MERIDIAN places the stop loss at the most conservative of several session-based reference levels, plus an ATR buffer.
For bull signals: The stop is placed at the minimum of the current bar's low, the prior session high (the retested level), the ORB low (if applicable), and the session meridian — whichever is lowest — minus the configured ATR buffer (default: 1.0× ATR). This ensures the stop is beyond the level that would structurally invalidate the signal.
For bear signals: The stop is at the maximum of the current bar's high, the prior session low, the ORB high, and the session meridian, plus the ATR buffer.
Dynamic TP target: The take profit is computed as `risk × R multiple` (default: 2.5R) from the entry close — adapting to the actual stop distance rather than using a fixed ATR projection. On entries where the session reference stop is very close to entry, this naturally produces a tighter target; on wider stops, the target scales accordingly.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 16-row real-time dashboard displays the complete internal state across five sections.
SESSION
Active — the currently active session: ASIAN, LONDON, NEW YORK, or OFF
VWAP Bias — ▲ ABOVE or ▼ BELOW, showing whether price is above or below the session VWAP. Color-coded yellow-green and red
Meridian — the exact price of the current session's equilibrium midpoint (session high + low / 2), color-coded purple
PRIOR SESSION
Prior Sess — which session completed most recently: ASIAN, LONDON, or NEW YORK
Prior Hi / Lo — the exact high and low of the prior session displayed as a price pair. These are the Setup A reference levels
OPENING RANGE
ORB Status — FORMING (still within the ORB time window) or SET (locked, breakout mode active). Orange when SET
ORB Hi / Lo — the exact opening range high and low prices once the range is locked
FILTERS
HTF Bias — higher timeframe EMA alignment: ▲ BULL, ▼ BEAR, or — FLAT
CONFLUENCE
Bull Score — live 0–7 score. Background highlights yellow-green when threshold is met
Bear Score — live 0–7 score. Background highlights red when threshold is met
Live confluence label: During active sessions, a small label near the session box displays B x/7 · S x/7 in real time, updated every bar — identical to ANCHOR, PIVOT, and the other systems in the AlphaX suite.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Current Session Box — a lightly tinted box covering the full range of the active session from its first bar to the current bar. Gray for Asian, yellow-green tinted for London, red tinted for New York
Session VWAP (cyan) — the volume-weighted average price anchored to the session start, plotted as a solid cyan line. The most important intraday reference for institutional fair value
Session Meridian (purple dots) — the session range midpoint (50% of the current session's high-low range), continuously updated
Prior Session High (red dashed) — the completed prior session's high. Setup A reference level for long setups
Prior Session Low (yellow-green dashed) — the prior session's low. Setup A reference level for short setups
Prior Session Meridian (purple dotted) — the midpoint of the prior session's range
Opening Range Box (orange tinted) — the locked ORB from the session start to the end of the opening range period. Setup B reference box
● Break markers (semi-transparent circles) — appear above the bar (prior high break) or below (prior low break) at the moment of the structural break, signaling a pending retest opportunity
▲ Triangle (below bar, yellow-green) — long signal. All conditions confirmed across any of the three setup types
▼ Triangle (above bar, red) — short signal
Live confluence label — B x/7 · S x/7 near the current session range on the last bar
SL Guide (red dotted circles) — session-anchored stop loss reference level
TP Guide (yellow-green dotted circles) — dynamically computed reward target
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX MERIDIAN — Step by Step
Step 1 — Begin Each Session with a Reference Review
At the start of each London or NY session, check the dashboard for Prior Hi / Lo — these are your key Setup A reference levels for the session
Note the ORB Status — during the first 30 minutes of London or NY, watch the ORB forming. The ORB Hi / Lo will be your Setup B breakout reference once SET
Check HTF Bias — does the higher timeframe trend favor longs or shorts? This is the filter that determines which direction's signals you prioritize
Step 2 — Monitor Session Bias Development
As the session opens and develops, watch the VWAP Bias and Meridian rows on the dashboard. When both show ▲ ABOVE, the session bias is fully bullish — prioritize long setups. Both ▼ BELOW = prioritize shorts
Watch the live B/S score label near the session box. When the bull or bear score approaches the threshold, a signal may be imminent
Step 3 — Enter on the MERIDIAN Signal
A ▲ triangle below the bar confirms one of the three setup types has fired with sufficient confluence
Read the signal context: did price just retest the prior session high? Break the ORB? Bounce from the session meridian? The setup type determines which level your stop references
The SL and TP guides appear as dotted circles. The SL is the session-anchored structural stop. The TP is the R-multiple target
Setup A retests are the highest-quality entries — the prior session level has been validated as the new support/resistance. Setup B ORB breaks are highest-momentum. Setup C meridian bounces are best in strongly trending sessions
Step 4 — Manage Within the Session Context
Watch the session VWAP as the trade develops — price returning to VWAP during a long trade is a warning sign that session bias may be weakening
If the session meridian switches sides (price moves from above to below the session midpoint), the session bias has flipped. Consider tightening the stop or taking partial profit
Session transitions are exits: if London closes while you are in a trade, the session reference levels will update to New York levels on the NY open. Reassess the position in the context of the new session
Step 5 — End of Session Reset
At session end, the current session's high, low, and meridian become the prior session reference for the next session
The ORB resets for the new session's opening
Review the completed session's range and meridian before the next session opens — these become your Setup A reference levels going forward
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Session shows OFF — no active session is being tracked. All signals are blocked and session reference levels may be stale
Session bias is split — VWAP and Meridian disagree — price above VWAP but below the session meridian (or vice versa) means the session has no clear institutional direction. The combined session bias layer will not score, reducing confluence quality
HTF Bias opposes the session bias — a bullish session bias against a bearish HTF means the current session is moving counter to the macro trend. These setups carry significantly higher reversal risk
ORB Status shows FORMING — the opening range has not been locked. No Setup B signals can fire. Do not anticipate the ORB breakout before the range is set
Prior Hi / Lo shows — on the dashboard — no completed prior session data is available. Setup A setups cannot fire. This occurs at the start of the first session after the chart loads
Confluence score is at minimum threshold exactly — when the score is at exactly the minimum and one or two filters are failing, the setup is borderline. Reduce position size or wait for a higher-quality signal
Multiple setup types firing simultaneously in the same direction — this is usually a positive signal, but verify the session context. If the ORB breakout, prior session retest, and meridian bounce are all triggering at the same time in the same bar, one of them is likely being triggered by coincidental price overlap rather than genuine session mechanics
The ideal MERIDIAN setup:
London or NY session active with tradeSessOk confirmed
HTF Bias and Session Bias both aligned in the same direction
Prior session high or low recently broken (Setup A pending) OR ORB locked and ready for Setup B
Price returning to the reference level with VWAP and Meridian both on the correct side
Strong rejection candle with volume above average
Confluence score at 6/7 or 7/7
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🌐 Three-session tracking engine — Asian, London, and New York sessions tracked simultaneously with configurable start/end hours and timezone support
📊 Session-anchored VWAP — true cumulative VWAP computed from the first bar of each session, providing the most accurate institutional fair value reference per session
📍 Prior session levels — high, low, and meridian of the most recently completed session maintained and displayed as dashed reference lines
📦 Opening Range Box — first N minutes of London/NY captured as an orange ORB box with live FORMING / SET status. Breakout reference for Setup B
⚖ Session Meridian (Equilibrium) — the session range midpoint plotted as a purple dotted line, the equilibrium level for Setup C bounces and the combined session bias divider
🏷 Three setup types — Setup A (Prior Session Break & Retest), Setup B (Opening Range Breakout), Setup C (Meridian Bounce) — all configurable independently
🔮 Pending retest tracking — 30-bar retest window after every prior session break, with break circle markers at the moment of the structural break
🧠 7-layer confluence engine — Session Bias, VWAP Position, HTF Bias, Trading Session Gate, Volume Expansion, Rejection Candle, and Setup Type Trigger scored independently every bar
📊 Live confluence label near the session box — B x/7 · S x/7 updating in real time on the current bar
🎯 Session-anchored stop loss — stop placed at the most conservative of multiple session reference levels, not a fixed ATR distance
💹 Dynamic R-multiple TP target — computed as risk × R multiple, adapting to the actual stop distance
📡 HTF EMA bias filter — dual-condition higher timeframe alignment (EMA crossover + price confirmation)
⏱ Session trading filter — independently enable or disable signal firing for each of the three sessions
🎨 Session-coded color system — session box tints differentiate Asian (gray), London (yellow-green), and New York (red) at a glance
📊 16-row live dashboard — Session, Prior Session, Opening Range, Filters, and Confluence sections updated in real time
🔔 6 alert conditions — long/short entry, prior high/low break, ORB long/short breakout
⚙ Fully configurable — all session hours, timezone, ORB duration, setup type enables, confluence minimum, HTF timeframe and EMAs, volume filter, session trading gates, SL buffer, R-multiple target, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Session Engine
Session Timezone — UTC / America/New_York / Europe/London / Asia/Tokyo. Set to your preferred reference timezone
Track Asian Session — toggle Asian session tracking on or off
Asian Start / End (hour) — hour boundaries for the Asian session in the selected timezone (defaults: 0 / 8)
Track London Session — toggle London session tracking
London Start / End (hour) — hour boundaries for London (defaults: 8 / 13)
Track NY Session — toggle New York session tracking
NY Start / End (hour) — hour boundaries for NY (defaults: 13 / 21)
Opening Range (mins) — the number of minutes from the session open used to build the ORB (default: 30)
Entries & Confluence
Setup A · Prior Session Break & Retest — toggle the break-and-retest setup type
Setup B · Opening Range Breakout — toggle the ORB breakout setup type
Setup C · Meridian Bounce — toggle the session equilibrium bounce setup type
Retest Tolerance (xATR) — maximum ATR distance from the reference level that still qualifies as a retest (default: 0.35)
Min Confluence Layers (of 7) — minimum score to fire a signal (default: 5)
Show Entry Signals — toggle signal triangles
Show Confluence Label — toggle the live B/S score label near the session box
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 6)
Filters
HTF Trend Filter — toggle the higher timeframe EMA alignment requirement
HTF Timeframe — the higher timeframe for EMA data (default: 60-minute)
HTF Fast / Slow EMA — EMA periods on the HTF (defaults: 21 / 55)
Volume Confirm — when on, entry volume must exceed the average by the minimum multiplier
Min Volume vs Avg — minimum volume ratio (default: 1.1)
Volume Avg Length — SMA length for volume baseline (default: 20)
Trade London Session — when on, signals can fire during London hours
Trade NY Session — when on, signals can fire during NY hours
Trade Asian Session — when on, signals can fire during Asian hours (default: off — Asian sessions typically produce lower-quality setups)
Exit Guidance
ATR Length — ATR calculation lookback (default: 14)
Show SL / TP Guides — toggle stop and target dotted circle plots
SL Distance (xATR) — ATR buffer added beyond the session-anchored stop reference (default: 1.0)
TP Reward (R) — take profit as a multiple of the actual risk from entry to stop (default: 2.5)
Display
Show Current Session Box — toggle the session range box
Show Prior Session H/L — toggle prior session high, low, and meridian dashed lines
Show Session VWAP — toggle the session VWAP line
Show Opening Range Box — toggle the ORB orange box
Show Dashboard — toggle the full dashboard panel
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish signals and London session elements
Bear / Bear Bright — red family for all bearish signals and NY session elements
Opening Range — orange for ORB box and status indicators
Meridian / EQ — purple for session meridian, prior session meridian, and equilibrium elements
Session VWAP — cyan for the session VWAP line
SL Guide / TP Guide — stop and target circle colors
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (6 total)
Entry Alerts
Meridian Long — all conditions confirmed. Long signal fired
Meridian Short — all conditions confirmed. Short signal fired
Structure Alerts
Meridian Break Prior High — price has closed above the prior session high. Setup A long retest window is now active — watch for the retest
Meridian Break Prior Low — price has closed below the prior session low. Setup A short retest window is now active
Opening Range Alerts
Meridian ORB Long — opening range broken to the upside with all setup and confluence conditions confirmed
Meridian ORB Short — opening range broken to the downside with all conditions confirmed
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and indices on M5–M15 in UTC timezone:
Session hours in UTC — gold and forex are most active during London (08:00–13:00) and NY (13:00–21:00) hours. Asian session trading is disabled by default for clean intraday setups
ORB at 30 minutes — the classic institutional opening range. The first 30 minutes of London and NY frequently establish the session's directional commitment
Retest tolerance at 0.35× ATR — sensitive enough to catch genuine retests on M5–M15 without requiring price to tick exactly at the level
TP Reward at 2.5R — session-based setups on gold and forex typically produce moves sufficient to achieve 2.5R when the session bias is correctly identified
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce Cooldown to 3, reduce SL Buffer to 0.5, reduce TP Reward to 1.5–2.0, use tighter Retest Tolerance at 0.2
H1 intraday swing — increase ORB to 60 minutes (capturing the first full H1 candle), increase Retest Tolerance to 0.5, increase TP Reward to 3.5–4.0, set HTF to H4 or Daily
Crypto (BTC, ETH) — use UTC timezone, enable all three sessions (crypto trades 24/7), reduce retest tolerance to 0.25 for the narrower wicks typical of crypto support/resistance retests
Indices (NAS100, US30) — focus exclusively on NY session (13:30–20:00 UTC for US equity cash session), disable London trading for equity index instruments, tighten ORB to 15 minutes (the US equity opening range is frequently set in the first 15 minutes)
More signals — lower Min Confluence to 4, enable Asian trading, disable volume filter
Highest-quality only — raise Min Confluence to 6–7, enable only Setup A and B (disable meridian bounce), require London and NY only
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
⏱ Session traders and market structure players — MERIDIAN is the definitive session intelligence system. Every reference level, every bias indicator, and every signal type is anchored to the session clock
🥇 Gold (XAUUSD) and forex intraday traders — the three-session framework is most powerful on instruments where London and New York session transitions drive the most significant intraday moves. Default settings are calibrated for gold and major forex pairs
📊 Opening range traders — the ORB system provides a complete, rules-based opening range breakout framework with confluence scoring, volume confirmation, and rejection candle quality filtering
🎯 Break-and-retest traders — Setup A is the quantitative implementation of the prior session break and retest — the most reliable institutional intraday pattern across all liquid markets
🧠 Traders who use VWAP as a primary reference — the session-anchored VWAP and the VWAP-based bias scoring system make MERIDIAN the ideal companion for any VWAP-centric trading approach
📈 Traders who want session context on every trade — every signal label, every dashboard row, and every reference level in MERIDIAN tells you exactly where you are in the session cycle and what the institutional context is
⚠ Traders who struggle with time-of-day discipline — the session trading gates (enable/disable individual sessions) enforce time-of-day discipline automatically. If you do not trade the Asian session, disable it and no Asian signals will ever appear
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Session state, VWAP, meridian, ORB values, and confluence scoring all finalize on confirmed bars only
The session boxes and prior session lines are redrawn on the last bar only for chart performance. On very fast timeframes with long chart history, this redraw happens on every new bar's render — this is normal behavior for last-bar-only visual updates
The VWAP is a true session-anchored VWAP — it resets at each session's first bar and accumulates correctly through the entire session. It is not a daily VWAP or a rolling VWAP
The prior session data updates at session transitions. On the very first session after the chart loads, no prior session data may be available — the Prior Hi / Lo dashboard rows will show — until the first session completes
The 30-bar retest window for Setup A (prior session break and retest) starts from the bar of the break. If no retest occurs within 30 bars, the pending retest state expires. On slower timeframes (H1), 30 bars may cover many hours — consider reducing the window or accepting that H1 retests sometimes take longer to develop
Maximum 500 labels, 500 lines, and 50 boxes are rendered. With three sessions each potentially drawing boxes and lines, the limit is practically sufficient for standard chart history. On very long chart histories on very fast timeframes, the oldest visual elements may be removed by TradingView's rendering limits
The session timezone setting must match the timezone in which you want session boundaries defined. UTC is the default and recommended for instruments that trade globally. For US equity index traders, America/New_York may be more intuitive
The indicator does not connect to any broker or account — the dashboard and signals are purely analytical
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that the market tells a different story in every session — and who want a system that reads each chapter in real time. インジケーター

NLMS Volatility Trail [BackQuant]NLMS Volatility Trail
Overview
NLMS Volatility Trail is an adaptive trend-following overlay that combines a machine-learning style adaptive filter with a volatility-based trailing structure. It is built around the Normalized Least Mean Squares (NLMS) algorithm, then converts that adaptive estimate into an ATR-based trailing line designed to follow directional regimes while filtering out minor noise.
The indicator has two core layers:
An NLMS adaptive filter , which learns a dynamic price estimate from prior bars.
An ATR volatility trail , which converts that learned estimate into a step-like directional trailing structure.
The goal is to produce a trend line that is more adaptive than a traditional moving average and more structured than a raw adaptive filter. The NLMS engine learns the underlying price path, while the ATR trail adds volatility-aware confirmation so trend shifts only occur when the adaptive estimate moves meaningfully.
Core idea
Most trend filters use fixed smoothing rules. An EMA, SMA, WMA, or HMA always applies the same mathematical weighting scheme regardless of whether the market is trending, ranging, expanding, or compressing.
NLMS is different. It continuously updates its internal weights based on prediction error.
This means the filter is not just averaging price. It is constantly asking:
How well did the previous weighting structure predict the current bar?
How large was the error?
How should the weights adjust to reduce future error?
The second layer then takes that adaptive estimate and applies an ATR-based trailing mechanism around it. This creates a volatility-adjusted trend trail that reacts to confirmed shifts while ignoring smaller movements that do not exceed the range structure.
What NLMS is
NLMS stands for Normalized Least Mean Squares . It is an adaptive filtering algorithm from digital signal processing. It is closely related to the original LMS algorithm developed by Bernard Widrow and Ted Hoff, which became one of the foundational online learning methods used in adaptive systems.
Adaptive filters have historically been used in:
Noise cancellation
Echo cancellation
Telecommunications
Radar and sonar processing
Signal prediction
Control systems
The basic purpose is to estimate or predict a signal while continuously adapting to changing conditions.
In trading terms, this indicator uses NLMS to build a learned estimate of price from prior bars.
How the NLMS filter works
The filter uses a set of historical inputs called taps .
If taps = 72, the model uses the previous 72 bars:
source
source
source
...
source
Each tap has a learned weight.
The prediction is calculated as:
prediction = w1 × source + w2 × source + ... + wM × source
The filter then compares the prediction to the actual current source:
error = source - prediction
That error drives the weight update.
If the prediction was poor, the weights adjust more.
If the prediction was accurate, the weights adjust less.
This creates an adaptive estimate that evolves with market behavior.
Why it is normalized
The normal LMS algorithm updates weights based on the raw input and prediction error. The issue is that if the input signal becomes large or volatile, updates can become unstable.
NLMS solves this by dividing the update by the input power:
power = sum(source ²)
The update becomes:
w = w + (μ / (ε + power)) × error × input
This normalization makes the learning process more stable across different volatility environments.
When the input power is high:
Updates are scaled down.
The filter avoids overreacting.
When the input power is low:
Updates are allowed to remain meaningful.
This is why NLMS is better suited to markets than a basic adaptive filter. Markets constantly shift between quiet and volatile regimes.
Weight initialization
The script initializes all weights equally:
weight = 1 / M
This means the filter starts with an SMA-like prior. Before learning begins, every historical bar contributes equally.
Over time, the filter adapts away from that equal-weight baseline and learns its own weighting structure.
Inputs that control the NLMS engine
Filter Taps (M)
Controls how many historical bars the model learns from.
Higher taps:
More memory
Smoother adaptive estimate
Slower response to regime change
Lower taps:
Less memory
Faster reaction
More noise sensitivity
Step Size (μ)
Controls the learning rate.
Lower μ:
Slower learning
Smoother output
More stable
Higher μ:
Faster learning
More responsive
Can become noisy if too aggressive
This is one of the most important settings. It controls how quickly the model changes its internal weights.
Regularization (ε)
Prevents instability when input power is very low.
It acts as a stabilizer in the denominator:
ε + power
Higher values make updates more conservative.
Lower values allow stronger adaptation but can become less stable in quiet conditions.
From adaptive filter to volatility trail
The raw NLMS output is not plotted directly as the main trend line. Instead, it is passed into a volatility trailing structure.
The script builds an ATR band around the NLMS estimate:
Upper band = NLMS output + ATR × factor
Lower band = NLMS output - ATR × factor
Then it creates a trailing value that only updates when the NLMS band structure forces it to move.
This creates a trail that behaves similarly to a volatility stop, but the center is not price or hl2. It is the learned NLMS estimate .
ATR volatility trail logic
The trail starts from the NLMS output, then carries forward its previous value:
nlmsAtr := previous nlmsAtr
Then:
If lower band rises above the trail, the trail moves up.
If upper band falls below the trail, the trail moves down.
This creates a directional trailing structure:
In bullish regimes, the trail ratchets upward.
In bearish regimes, the trail ratchets downward.
It filters out small movements because price must move enough relative to ATR and the adaptive estimate to change the trail direction.
Why combine NLMS with ATR
NLMS alone gives an adaptive estimate, but it can still wiggle as the model learns.
ATR alone gives volatility structure, but it is usually tied to raw price and fixed smoothing.
Combining them gives:
Adaptive intelligence from NLMS.
Volatility confirmation from ATR.
Cleaner trend state transitions.
Less dependence on fixed moving-average assumptions.
The NLMS model learns the underlying price behavior, while ATR decides whether movement is large enough to matter.
Trend direction
Trend flips are detected from the trail itself:
Bullish when nlmsAtr crosses above its previous value.
Bearish when nlmsAtr crosses below its previous value.
This means signals are generated when the volatility trail changes direction, not when price simply crosses the line.
That is important because:
The trail must structurally move.
The signal is tied to confirmed trail direction.
Noise around the line does not automatically create a flip.
Visual design
The indicator includes several visual layers.
Main trail line
The central plotted line is the NLMS ATR trail. It changes color based on the current trend state:
Green for bullish trail direction.
Red for bearish trail direction.
Gray before a trend state is established.
Gradient fill
The script fills the space between price and the trail:
If price is above the trail, bullish fill is shown.
If price is below the trail, bearish fill is shown.
The fill is stronger near the trail and fades toward price, making the trail feel like the active structural reference.
Trail glow
A soft glow is drawn around the trail using a small ATR offset:
glow = ATR(14) × 0.06
This highlights the trail visually without cluttering the chart.
Trend candles
Candles are colored by trend state:
Bullish trend = bullish candles.
Bearish trend = bearish candles.
This allows the script to function as a complete regime overlay.
How to interpret the indicator
Bullish state
A bullish state occurs when the NLMS volatility trail turns upward.
This suggests:
The adaptive filter is shifting higher.
The ATR trail has confirmed upward structure.
Trend pressure has turned bullish.
Bearish state
A bearish state occurs when the NLMS volatility trail turns downward.
This suggests:
The adaptive estimate is shifting lower.
The volatility trail has confirmed downside structure.
Trend pressure has turned bearish.
Price above the trail
Generally indicates bullish structure.
Price below the trail
Generally indicates bearish structure.
But the most important signal is the direction of the trail itself, not every price touch.
How to use it in practice
1) Trend following
Use the trail direction as the primary bias:
Favor longs when the trail is bullish.
Favor shorts when the trail is bearish.
2) Dynamic support/resistance
The trail can act like a dynamic structural level:
In uptrends, pullbacks toward the trail can act as support.
In downtrends, rallies toward the trail can act as resistance.
3) Trade management
The trail can be used as:
A trailing stop guide.
A regime invalidation level.
A trend continuation reference.
4) Regime filtering
Because the line adapts using NLMS and only flips when the volatility trail turns, it can be used to filter other entries:
Take only long setups during bullish trail regimes.
Take only short setups during bearish trail regimes.
Avoid countertrend trades when the trail is strongly directional.
Difference from normal Supertrend or ATR trails
A normal ATR trail is usually built directly from price or hl2.
This indicator is different because the trail is built around an adaptive learned estimate.
That means:
The centerline is not raw price.
It is not a fixed moving average.
It is a continuously learned NLMS estimate.
So the trail has a different character:
More adaptive than a standard moving average trail.
More stable than a raw price-based ATR stop.
More responsive to changing market structure than fixed filters.
Difference from the NLMS Adaptive Trend Filter
The NLMS Adaptive Trend Filter plots the learned estimate directly and reads trend from its slope.
NLMS Volatility Trail goes one step further:
It uses the learned estimate as the base.
Then wraps it with ATR structure.
Then turns that into a trailing regime line.
So this version is more structure-oriented and better suited for trailing trend behavior.
Parameter tuning
Taps
Use higher taps for smoother trend structure.
Use lower taps for faster adaptation.
Step Size
Use lower step size for stability.
Use higher step size for responsiveness.
Regularization
Use higher regularization when the filter feels unstable.
Use lower regularization when the filter is too sluggish.
ATR Period
Controls volatility estimate:
Shorter = more reactive trail.
Longer = smoother trail.
ATR Factor
Controls band width:
Higher factor = wider trail, fewer flips.
Lower factor = tighter trail, more flips.
Strengths
Combines adaptive filtering with volatility trailing logic.
Learns from market structure instead of using fixed weights.
Uses ATR to reduce noise and confirm meaningful movement.
Good for trend following and trailing stop frameworks.
Visually clean with gradient fill and candle coloring.
Limitations
Still reactive, not predictive.
Can lag during violent reversals.
High learning rates may create noise.
Low ATR factors may cause whipsaws.
Requires tuning for timeframe and asset volatility.
Summary
NLMS Volatility Trail combines an adaptive NLMS predictor with an ATR-based trailing structure. The NLMS layer continuously learns a dynamic estimate of price from historical bars, while the ATR trail converts that estimate into a cleaner directional regime line. This makes the indicator more adaptive than a traditional moving average and more structured than a raw adaptive filter. It is best used as a trend-following overlay, dynamic support/resistance guide, and volatility-aware trailing framework.
インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

インジケーター

NG Trendlines & Market Structure# NG Trendlines & Market Structure
NG Trendlines & Market Structure is a proprietary trading indicator designed to identify high-probability market structure, trendline compression, and breakout opportunities.
The indicator combines dynamic trendlines, higher-timeframe directional bias, support and resistanceand market structure analysis to help traders identify periods of consolidation before momentum expansion.
## Features
* Automatic trendline detection
* Compression and breakout identification
* Multi-timeframe trend bias (5m, 15m, 1H, 4H)
* Dynamic support and resistance zones
* Market state identification (Bull, Bear, Range, Breakout)
* VWAP touch detection with customizable alerts
* Visual breakout confirmation
* Clean, non-repainting signals based on confirmed price action
## Alerts
Alerts can be configured for:
* Price touching VWAP
* Bullish breakout confirmation
* Bearish breakout confirmation
* Trend direction changes
* Market state transitions
This indicator is designed to assist traders in understanding market structure and improving trade timing. It is intended as a decision-support tool and should be used alongside proper risk management and trade confirmation.
**Disclaimer:** This indicator does not guarantee profits or trading success and should not be considered financial advice. Trading financial markets involves substantial risk, and past performance is not indicative of future results.
インジケーター

インジケーター

Multi Trend Score OscillatorsOscillators Multi Trend score
Part 1: How the Indicator Works Under the Hood
//The script evaluates the market using three independent concepts: Trend Direction, Momentum, and Market Regime (Volatility). It works on a strict point system that ranges between a maximum bullish score of +2.0 and a maximum bearish score of -2.0.
Trend Filter (Moving Averages): Max +/- 1.0 Point
It checks a fast 15 EMA and a slower 50 EMA.
Bullish (+1.0): If the 15 EMA is above the 50 EMA and the price is trading above the 15 EMA.
Bearish (-1.0): If the 15 EMA is below the 50 EMA and the price is trading below the 15 EMA.
Momentum Filter (MACD): Max +/- 1.0 Point
It analyzes the MACD line, Signal line, and Zero line.
Bullish Points: Gets +0.5 if the MACD line is above the Signal line, and another +0.5 if the MACD line is above the center zero line.
Bearish Points: Loses -0.5 if the MACD line is below the Signal line, and another -0.5 if the MACD line is below zero.
The Gatekeeper (ADX Filter)
Before plotting, it checks the ADX (Average Directional Index). If the ADX is below 20, it means the market is ranging, chopping sideways, or dead.
The Penalty: If ADX < 20, it slashes the final score by 75% (trendScore * 0.25). This flattens the wave near zero, saving traders from getting chopped up in range-bound markets.
Indicator Overview: Multi-Indicator Trend Score (MITS)
MITS is a quantitative dashboard squeezed into a single, clean oscillator pane. It eliminates analysis paralysis by combining Moving Average trends, MACD momentum, and ADX market //regimes into a dynamic Trend Score between -2 and +2.
🔹 Key Features:
//Confluence Scoring: Rather than looking at EMAs and MACD separately, the script calculates their confluence in real time.
ADX Volatility Gatekeeper: When the market enters a low-volume, sideways chop zone (ADX < 20), the script automatically flattens the scoring engine by 75%. This prevents false //breakout signals.
Clean Visuals: Smooth area-gradient fill anchors to a zero-line baseline. Bright Green represents aggregate bullish confluence; Deep Red highlights aggregate bearish confluence.
How to Trade It:
Score > 1.0: Strong Bullish Confluence. Look for long entries or ride the trend.
Score < -1.0: Strong Bearish Confluence. Look for short entries or protect capital.
Flatline / Near Zero: The market is either flipping trends or trapped in a low-volatility chop zone filtered by the ADX. Sit on your hands.
インジケーター

[ A L P H A X ] PIVOT - Smart Money StructureAlphaX PIVOT — Smart Money Structure + OTE Pullback Engine: Market Structure Tracking, Optimal Trade Entry Zones, Liquidity Sweep Detection & 7-Layer Confluence Scoring
AlphaX PIVOT is a professional-grade smart money pullback system built around two of the most powerful concepts in institutional price action: market structure and the Optimal Trade Entry zone. Where breakout-based systems enter at the moment of structural displacement — chasing the move after it has already begun — PIVOT waits for the market to pull back into the precise Fibonacci retracement zone where institutional continuation orders are resting, and fires only when a qualified rejection candle confirms within that zone with multi-layer confluence backing. The result is a system that gives you the same directional conviction as a breakout entry at a structurally superior price — buying the pullback into institutional demand after a bullish BOS or CHoCH, selling the pullback into institutional supply after a bearish structure shift — with a stop anchored to the structural swing low or high rather than an arbitrary ATR distance. Designed for precision-entry traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 The Core Philosophy — Why Pull Back to OTE?
A Break of Structure or Change of Character tells you that the market has shifted direction at the institutional level. But the bar that breaks structure is rarely the optimal entry — it has already moved aggressively, the risk/reward from entry is reduced, and a pullback is statistically likely before the continuation begins.
The Optimal Trade Entry concept solves this. After a structural displacement move, price almost always retraces into a specific Fibonacci retracement zone — the 61.8% to 78.6% retracement of the displacement leg — before the next move in the structural direction begins. This zone is where institutional orders waiting at discount prices (in a bull structure) or premium prices (in a bear structure) are filled. Entering in the OTE zone means entering where institutions are entering, with the displacement leg already confirmed as the directional signal and the structural swing as the natural stop reference.
PIVOT detects every structural event, computes the OTE zone for the displacement leg in real time, and monitors for qualified rejection entries within that zone — all while running a 7-layer confluence engine that scores every potential entry before it fires.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏗 Market Structure Engine — Tracking BOS & CHoCH
The market structure engine runs a real-time fractal pivot detection system that tracks the most recent confirmed swing high and swing low on every bar, identifies every Break of Structure and Change of Character event, and maintains a live structural trend state.
Pivot detection:
Swing highs and lows are detected using a configurable pivot length (default: 5 bars each side). A pivot is confirmed when the specified number of bars on both the left and right side are lower (for a pivot high) or higher (for a pivot low). This creates confirmation — not just a local high or low, but a genuine fractal swing point.
Break of Structure (BOS):
When price closes above the most recent confirmed swing high while the structure is already bullish, a bullish BOS is detected — confirming the uptrend is intact and continuing. When price closes below the most recent swing low in a bearish structure, a bearish BOS is confirmed. BOS events are continuation signals — the existing structure is reinforcing itself.
Change of Character (CHoCH):
When price closes above a swing high while the structure is bearish, a bullish CHoCH is detected — the character of the market has changed from bearish to bullish. A bearish CHoCH is the inverse. CHoCH events are the highest-quality structural signals — they represent genuine institutional trend reversals and form the trigger for PIVOT's highest-conviction setup type.
Structure break mode:
The Close Only setting (default: on) requires a candle body close beyond the swing level for a BOS or CHoCH to register. When off, any wick touch counts. Body close is the stricter, cleaner mode — it eliminates false structure breaks caused by wick spikes that fail to close through the level, producing fewer but more reliable structural events.
Live swing levels:
The most recent confirmed swing high (plotted as a red dashed line) and swing low (yellow-green dashed line) are maintained on the chart in real time, extending forward until superseded by a new confirmed pivot. These levels represent the current active liquidity pools — the precise levels where the next sweep event is likely to occur.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 Structure Leg Box & Equilibrium — The Dealing Range
Every confirmed structure break event spawns a Structure Leg Box — a semi-transparent purple rectangle anchored to the displacement leg that produced the structural event. This box is the visual equivalent of the ANCHOR trend segment box, providing immediate context for the current structural move's price range.
Box construction:
For a bullish structure break, the leg box spans from the previous swing low (the origin of the displacement) to the close that broke structure — capturing the full range of the institutional displacement move. For a bearish structure break, it spans from the previous swing high down to the structure break close.
Equilibrium line:
The midpoint of the structure leg box — the 50% retracement level — is plotted as a purple dotted line extending forward. This is the leg's equilibrium level and the dividing line between discount (below EQ, favorable for longs) and premium (above EQ, favorable for shorts). The Premium/Discount requirement enforces that PIVOT signals can only fire when price is in the institutionally correct zone relative to this level.
Live updating:
The box expands as the trend develops — if price makes new highs in a bull leg, the box top extends upward. The equilibrium adjusts continuously. This ensures the OTE calculations always reflect the full extent of the current structural leg, not just the initial displacement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 The OTE Zone — Optimal Trade Entry Band
The Optimal Trade Entry zone is a Fibonacci retracement band calculated from the structure leg's high and low — the 61.8% to 78.6% retracement zone (configurable). This is the institutional re-entry zone — the price area where sophisticated traders who missed the initial displacement fill their positions on the pullback.
OTE calculation for bull structure:
OTE Top = Leg High − (Leg Range × OTE Fib Low). Default: Leg High − (Range × 0.618)
OTE Bottom = Leg High − (Leg Range × OTE Fib High). Default: Leg High − (Range × 0.786)
This creates a band in the lower portion of the leg range — price must retrace between 61.8% and 78.6% of the upward displacement before the OTE zone is active.
OTE calculation for bear structure:
OTE Bottom = Leg Low + (Leg Range × OTE Fib Low)
OTE Top = Leg Low + (Leg Range × OTE Fib High)
This creates a band in the upper portion of the leg range — price must retrace between 61.8% and 78.6% of the downward displacement before the OTE zone is active.
Why the 61.8–78.6% zone: The 61.8% (golden ratio) and 78.6% (square root of 0.618) retracement levels are the two most consistently respected Fibonacci levels in institutional price delivery. They represent the deepest pullback levels that remain structurally valid — a retracement beyond 78.6% technically invalidates the structure leg's momentum. Entries within this zone maximize reward (entering near the deepest discount in a bull leg) while minimizing risk (the stop is at the structural swing, not far from the OTE bottom).
OTE zone visualization: A semi-transparent purple box rendered from the leg start bar to two bars beyond the current bar, spanning the OTE top and bottom prices. The zone extends and updates in real time as the leg evolves. The exact OTE band price levels are displayed on the dashboard for immediate reference.
In-OTE detection: The current bar is considered in the OTE zone when the bar's low (for bull setups) reaches within the OTE band, or the bar's high (for bear setups) reaches within the OTE band. This detects the precise moment price has retraced into the optimal entry area.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💧 Liquidity Sweep Detection
The sweep detection engine identifies liquidity grab events relative to recent price extremes, adding an important second dimension to PIVOT's entry context. A sweep is detected when price briefly extends beyond the recent high or low reference level by a minimum ATR depth, then reverses and closes back inside — the classic stop-hunt signature.
Bull sweep: The current bar's low extends below the lowest low of the lookback period (default: 20 bars) by at least the minimum sweep depth (default: 0.1× ATR), and the bar closes above that low and closes bullish (close above open). Sell-side liquidity has been grabbed.
Bear sweep: The high extends above the highest high of the lookback period by at least the minimum depth, and the bar closes below that high and closes bearish. Buy-side liquidity has been grabbed.
Sweep recency: PIVOT accepts sweeps from the current bar or either of the two preceding bars — a three-bar recency window. This accommodates the common scenario where the sweep candle precedes the OTE entry bar by one or two bars, allowing the confluence engine to credit the sweep even when entry occurs slightly after the grab.
Setup B — Sweep + CHoCH: When a sweep occurs within 40 bars of a Change of Character event and price is simultaneously in the OTE zone with a rejection candle, PIVOT's second setup type fires — the Sweep + CHoCH entry. This is the highest-conviction entry type: a CHoCH confirms the structural reversal, the sweep confirms institutional liquidity accumulation, and the OTE entry delivers the optimal price. All three institutional signals converging simultaneously.
Sweep markers (optional): Small orange circles can be plotted above or below bars where sweeps are detected. Off by default — sweeps count toward confluence scoring regardless of whether markers are displayed — but enabling them provides visual awareness of every liquidity event on the chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🕯 Rejection Candle Confirmation
Every PIVOT entry requires a qualifying rejection candle within the OTE zone — the candle that demonstrates price has touched the OTE level and been rejected back in the structural direction.
Bull rejection (Bullish Rejection or Engulfing):
Bullish Rejection — the bar closes bullish (close above open) and the close-to-low distance represents more than 55% of the bar's total range. The lower wick consumes the majority of the bar's range — buyers overwhelmed sellers that pushed into the OTE zone
Bullish Engulfing — a bullish close that fully engulfs the prior bearish candle — closing above the prior open while the prior candle was bearish. Confirms a clean reversal of the pullback momentum
Bear rejection (Bearish Rejection or Engulfing):
The mirror conditions — a bearish close with the high-to-close distance exceeding 55% of range, or a bearish engulfing of the prior bullish candle.
Why candle confirmation is essential: The OTE zone being touched is a necessary but not sufficient condition for entry. Price can drift through the OTE zone on low momentum without producing a genuine reversal. The rejection candle requirement ensures that the OTE touch produced a visible institutional response — not just a passive drift through the zone.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 7-Layer Confluence Engine
Every potential entry is evaluated across seven independent confluence layers. The default minimum is 5 of 7 — a high-quality gate that blocks setups where several dimensions of confirmation are missing.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1 — Market Structure Direction
Awards 1 point when the current structural trend agrees with the signal direction — bullish structure for longs (structure == 1), bearish for shorts. This is also a hard prerequisite enforced in the setup conditions — no PIVOT signal can fire without the structural trend being established in the signal direction. Structure is simultaneously a confluence layer and a foundational entry requirement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 2 — OTE Zone Touch
Awards 1 point when the current bar is within the OTE retracement band for the active leg direction — the 61.8–78.6% retracement zone. Also a hard prerequisite in the setup conditions. Ensures the entry is at the institutionally optimal retracement depth, not at an arbitrary price within the leg range.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 3 — Premium/Discount Zone
Awards 1 point when price is in the correct zone relative to the leg equilibrium — below EQ (discount) for bull entries, above EQ (premium) for bear entries. The PD Zone layer enforces the institutional entry positioning principle: buy when price is cheap relative to the leg's fair value, sell when expensive. A valid OTE touch in the wrong PD zone (above EQ for a bull entry) carries a fundamental positioning problem — this layer blocks it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 4 — HTF Bias
Awards 1 point when the higher timeframe EMA structure (default: 60-minute, 21/55 EMA) agrees with the signal direction, using the same strict condition as SURGE and ANCHOR — the HTF fast EMA must be above the slow EMA and the HTF close must be above the fast EMA for a bull vote. A bull OTE entry against a bearish HTF is a counter-trend trade; this layer ensures PIVOT's signals align with the macro institutional flow.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 5 — Liquidity Sweep
Awards 1 point when a qualifying sweep has occurred within the three-bar recency window in the correct direction. A sweep before or coinciding with the OTE entry dramatically increases the probability that the pullback is a genuine institutional accumulation event rather than a mechanical retracement. When the Sweep Filter is disabled, this layer is not available for scoring — the total achievable score drops to 6 of 6 in that configuration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 6 — Rejection Candle
Awards 1 point when a qualifying bull rejection or bullish engulfing candle (long) or bear rejection or bearish engulfing candle (short) is present on the current bar. This is the candle confirmation layer — confirming that the institutional response to the OTE touch is visible and decisive on the current bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 7 — ADX + Volume Expansion
Awards 1 point when both the ADX filter and the volume expansion filter pass simultaneously. ADX confirms the market has directional strength rather than ranging. Volume exceeding the moving average confirms genuine institutional participation on the entry candle rather than a low-activity drift through the OTE zone. Both conditions must be true for the single layer point — they are evaluated jointly.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Two Setup Types — A and B
PIVOT fires signals through two distinct setup configurations, each representing a different institutional entry scenario. Both can be enabled simultaneously.
Setup A — OTE Pullback:
The foundational PIVOT setup. Fires when the market structure is established (BOS or CHoCH has confirmed), the displacement leg is active, price pulls back into the 61.8–78.6% OTE zone, a rejection candle forms within the zone, and the full confluence stack meets the minimum score. This is the highest-frequency setup type — it captures the standard institutional pullback sequence following any qualifying structure event.
Setup B — Sweep + CHoCH:
The premium PIVOT setup. Requires all Setup A conditions plus a Change of Character within the lookback window (40 bars) and a qualifying liquidity sweep within the three-bar recency window. The sequence is: liquidity sweep (stop hunt) → CHoCH (structural reversal confirmation) → OTE pullback (optimal entry). When all three institutional events converge simultaneously in the OTE zone with a rejection candle, this is among the highest-conviction setups available in the entire AlphaX indicator suite.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Structural Stop Loss Placement
PIVOT uses structurally anchored stop placement — the stop is placed beyond the most recent confirmed swing low (for bull entries) or swing high (for bear entries), plus a small configurable ATR buffer (default: 0.25× ATR).
Why this is the correct stop for OTE entries: The OTE entry is made on the premise that the structural swing low (bull) or high (bear) will hold — it is the key level whose violation would invalidate the entire structural thesis. If price closes through the swing low after a bull OTE entry, the structure leg is negated, the displacement was a false break, and the position thesis is fundamentally wrong. The structural swing is therefore not an arbitrary stop choice — it is the precise price at which the trade is provably wrong.
This produces stops that adapt naturally to the leg size: large legs with distant swings produce wider stops and wider profit targets; tight legs with nearby swings produce tighter, higher-precision entries. The risk/reward is computed dynamically as `(close − slGuide) × TP Reward (R)`.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The 16-row real-time dashboard displays the complete internal state across four sections.
STRUCTURE
Market Struct — current structural trend: ▲ BULLISH, ▼ BEARISH, or — NEUTRAL
PD Zone — current position relative to leg equilibrium: ◧ DISCOUNT, ◧ PREMIUM, or — EQ
Leg EQ — the exact leg equilibrium price (50% of the structure leg range) in real time
OTE Band — the current OTE zone bottom and top prices. Updates live as the leg expands
FILTERS
HTF Bias — higher timeframe EMA alignment: ▲ BULL, ▼ BEAR, or — FLAT
ADX — live ADX value with ✓ or ✗ pass/fail
Session — ✓ ACTIVE or ✗ OFF
LEVELS
Swing Hi — the most recent confirmed fractal swing high price. This is the current sell-side liquidity level and bear structural reference
Swing Lo — the most recent confirmed fractal swing low. The current buy-side liquidity level and bull structural stop reference
CONFLUENCE
Bull Score — live 0–7 confluence score. Background highlights yellow-green when threshold is met
Bear Score — live 0–7 score. Background highlights red when threshold is met
Live confluence label: During BUILDING and active leg phases, a small label near the OTE zone on the last bar shows B x/7 · S x/7 in real time — identical to ANCHOR's live score display — so you can monitor confluence building without dashboard attention.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
Structure Leg Box (purple, semi-transparent) — the dealing range of the current displacement leg from structural origin to current price extreme. Adapts as the leg evolves
OTE Band Box (purple, deeper tint) — the 61.8–78.6% retracement zone of the current leg, extending two bars beyond the current bar for forward visibility
Leg Equilibrium Line (purple dots) — the 50% midpoint of the structure leg, continuously updated
Swing High Line (red dashed) — the most recent confirmed fractal swing high
Swing Low Line (yellow-green dashed) — the most recent confirmed fractal swing low
▲ Small Triangle (BOS Bull) — bullish Break of Structure, semi-transparent yellow-green
▲ Large Triangle (CHoCH Bull) — bullish Change of Character, bright yellow-green, larger size
▼ Small Triangle (BOS Bear) — bearish Break of Structure, semi-transparent red
▼ Large Triangle (CHoCH Bear) — bearish Change of Character, bright red, larger size
● Circle (optional, orange) — sweep detection markers when Show Sweep Markers is enabled
▲ Large Triangle (bull signal) — PIVOT long entry. All conditions confirmed
▼ Large Triangle (bear signal) — PIVOT short entry
Live confluence label — B x/7 · S x/7 near the OTE zone on the current bar
SL Guide (red dotted circles) — structural stop loss level below/above the swing reference
TP Guide (yellow-green dotted circles) — dynamically computed reward target based on R multiple
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX PIVOT — Step by Step
Step 1 — Identify the Structural Context
Check the dashboard Market Struct row. ▲ BULLISH or ▼ BEARISH tells you the directional bias. — NEUTRAL means no structure is established — no setup can develop
Note the Swing Hi and Swing Lo levels on the dashboard. These are the current liquidity pools and structural stop references
Check HTF Bias — does the higher timeframe agree with the current structure? HTF alignment is worth 1 confluence point and significantly improves setup quality
Step 2 — Watch for a Structure Event
A large bright ▲ CHoCH triangle below the bar marks a bullish Change of Character — the highest-priority structural event. The structure leg box and OTE zone will draw immediately
A smaller ▲ BOS triangle marks a bullish Break of Structure — confirmation the trend is continuing
After either event, the Structure Leg Box and OTE Band are drawn in real time. Note where the OTE zone sits in absolute price terms from the dashboard's OTE Band row
Step 3 — Wait for the OTE Pullback
After the displacement, watch price retrace toward the OTE zone. The purple OTE box on the chart gives you the exact price boundaries
Check PD Zone on the dashboard — for bull entries, you want ◧ DISCOUNT to confirm price is below the leg equilibrium when it enters the OTE
Watch the live B x/7 score label near the OTE zone. As price approaches the zone, the score builds in real time
Step 4 — Enter on the PIVOT Signal
A ▲ triangle at the OTE zone confirms all conditions — structure direction, OTE touch, PD zone, HTF bias, sweep (if applicable), rejection candle, and ADX/volume
The SL guide is plotted below the structural swing low (bull) — your structural invalidation level
The TP guide is plotted at the computed reward target based on your configured R multiple
For Setup B signals (Sweep + CHoCH), all three institutional events have converged — this is the highest-conviction PIVOT entry available
Step 5 — Manage and Exit
At the TP guide level, take partial or full profit
If a new CHoCH fires in the opposite direction during the trade, the structure has reversed — this is the exit signal for any remaining position
If price retests the OTE zone again during the same structural leg without triggering a new signal (cooldown active), wait for the cooldown to clear and assess whether the fresh confluence score still meets the minimum
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
Market Struct shows — NEUTRAL — no structural direction is established. Without a confirmed BOS or CHoCH, the leg box and OTE zone have no directional context. Wait for a structural event to occur before looking for OTE entries
HTF Bias opposes structure direction — a bullish current timeframe structure against a bearish HTF is a counter-trend setup. These carry significantly lower success rates. The HTF alignment layer will not score, reducing the confluence count
Price is in the wrong PD zone for the setup direction — a bull entry above the leg equilibrium (premium) or a bear entry below (discount) means entering when price is institutionally expensive relative to the leg's fair value. The PD zone filter blocks these when enabled
Score is at 4/7 and the minimum is 5/7 — the setup is present but not enough layers confirm. Do not force entries when confluence is borderline
Structure events (BOS/CHoCH) are flipping rapidly in both directions — alternating bull and bear structure events in quick succession indicate a choppy market with no clean trend. The OTE zones will be constantly resetting without producing completed pullback sequences
OTE zone is very close to the swing low (bull) or swing high (bear) — when the OTE band and the structural stop reference are nearly at the same price, the risk/reward is poor. The stop would be just below the OTE entry. Reduce position size or pass the setup
The ideal PIVOT setup:
CHoCH event followed by a clean displacement leg with a well-defined leg box
Price retraces into the OTE zone while in discount (bull) or premium (bear)
A qualifying sweep has occurred within the last three bars
HTF Bias aligned with structure direction
Rejection candle forms within the OTE zone
Confluence score at 6/7 or 7/7
ADX confirms trending and volume is expanding
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
📐 Real-time market structure engine — fractal pivot detection with configurable sensitivity, tracking BOS and CHoCH events with body-close confirmation mode
📦 Structure Leg Box — automatically drawn from the structural origin to the current price extreme, expanding in real time as the leg develops
🎯 Optimal Trade Entry zone — 61.8–78.6% Fibonacci retracement band computed from the structure leg, rendered as a live OTE box and displayed with exact price levels on the dashboard
⚖ Leg Equilibrium line — 50% midpoint of the structure leg acting as the dynamic PD zone divider, plotted continuously and updated as the leg grows
💧 Liquidity sweep detection — identifies stop-hunt events relative to the recent price range with configurable ATR depth and three-bar recency window
🏅 Two setup types — Setup A (OTE Pullback after any BOS/CHoCH) and Setup B (Sweep + CHoCH + OTE — the highest-conviction institutional entry pattern)
🕯 Dual candle confirmation — bullish/bearish rejection candles and engulfing candles both qualify, ensuring the OTE touch produced a genuine institutional reversal response
🧠 7-layer confluence engine — Market Structure, OTE Touch, PD Zone, HTF Bias, Liquidity Sweep, Rejection Candle, and ADX + Volume Expansion all scored independently
📊 Live confluence label near OTE zone — B x/7 · S x/7 displayed in real time on the current bar without requiring dashboard reference
🎯 Structural stop loss — placed beyond the confirmed swing low (bull) or swing high (bear) plus ATR buffer, anchored to the genuine structural invalidation level
💹 Dynamic TP target — computed as `risk × R multiple`, adapting to leg size rather than using a fixed ATR distance
📡 HTF EMA bias filter — strict dual-condition HTF alignment (EMA crossover + price above fast EMA) for maximum higher timeframe conviction
🕐 Session filter — restricts signals to configurable active trading hours
📊 16-row live dashboard — Structure, Filters, Levels, and Confluence sections updated in real time
🔔 6 alert conditions — long/short entry, bull/bear CHoCH, sweep low, sweep high
🎨 Fully cohesive dual-tone color system — yellow-green for all bullish elements, red for all bearish, purple for structural reference levels and OTE zone, orange for sweeps
⚙ Fully configurable — pivot length, structure break mode, OTE Fibonacci levels, sweep depth and lookback, setup types, confluence minimum, HTF timeframe and EMAs, ADX, volume filter, session, SL buffer, TP reward multiple, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Structure Engine
Pivot Length (bars each side) — fractal sensitivity. 3 for scalping, 5 for standard intraday (default), 7+ for swing trading
Structure Break: Close Only — when on, requires a candle body close beyond the swing level (default: on). Off = wick touch counts
Show Active Swing Levels — toggle swing high and swing low dashed lines
Show BOS / CHoCH Markers — toggle all structure event triangles
CHoCH Only (hide BOS markers) — when on, only CHoCH events are marked. BOS events still update structure but are not labeled
Structure Leg & OTE
Show Structure Leg Box — toggle the displacement leg dealing range box
Show Leg Equilibrium (50%) — toggle the leg midpoint line
Show OTE Band (62–79%) — toggle the Fibonacci retracement entry zone box
OTE Fib Low — lower Fibonacci level of the OTE band (default: 0.618)
OTE Fib High — upper Fibonacci level of the OTE band (default: 0.786)
Require Premium / Discount — when on, longs require discount positioning, shorts require premium (default: on)
Liquidity Sweep
Enable Sweep Filter — when on, Layer 5 scores the recent sweep and Setup B becomes available
Show Sweep Markers — toggle optional orange circle markers at sweep detection bars
Min Sweep Depth (xATR) — minimum wick extension beyond the reference extreme to qualify as a sweep (default: 0.1)
Sweep Reference Lookback — bars used to define the recent high/low reference for sweep detection (default: 20)
Entries & Confluence
Setup A · OTE Pullback — enable standard OTE pullback entries after BOS or CHoCH
Setup B · Sweep + CHoCH — enable the premium sweep + reversal + OTE setup type
Min Confluence Layers (of 7) — minimum score required for a signal (default: 5)
Show Entry Signals — toggle signal triangles
Show Confluence Label — toggle the live B/S score label near the OTE zone
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 8)
Filters
HTF Trend Filter — toggle the higher timeframe EMA alignment requirement
HTF Timeframe — the higher timeframe for EMA data (default: 60-minute)
HTF Fast / Slow EMA — EMA periods on the HTF (defaults: 21 / 55)
ADX Trend Filter — toggle the ADX strength requirement (default: off)
ADX Length / ADX Minimum — ADX parameters (defaults: 14 / 18)
Volume Expansion Confirm — when on, entry candle volume must exceed the moving average by the minimum multiplier
Min Volume vs Avg — minimum volume ratio for the expansion filter (default: 1.1)
Volume Avg Length — SMA length for the volume baseline (default: 20)
Session Filter — toggle active hours restriction (default: off)
Active Session — configurable session window
Exit Guidance
ATR Length — lookback for ATR calculation (default: 14)
Show SL / TP Guides — toggle stop and target dotted circle plots
SL Buffer Beyond Swing (xATR) — additional ATR buffer beyond the structural swing stop reference (default: 0.25)
TP Reward (R) — take profit distance as a multiple of the risk from entry to stop (default: 2.0)
Display
Show Dashboard — toggle the full dashboard panel
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for bullish signals, fills, and labels
Bear / Bear Bright — red family for bearish signals, fills, and labels
Sweep / Alert — orange for sweep markers and alerts
Equilibrium / OTE Band — purple for structural reference levels and OTE zone
SL Guide / TP Guide — stop and target circle colors
Bull / Bear Label Text — text color for signal labels
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (6 total)
Entry Alerts
Pivot Long Entry — all conditions confirmed for a long OTE setup. Signal label fired
Pivot Short Entry — all conditions confirmed for a short OTE setup
Structure Alerts
Pivot Bull CHoCH — bullish Change of Character detected. Watch for OTE pullback in discount zone
Pivot Bear CHoCH — bearish Change of Character detected. Watch for OTE pullback in premium zone
Sweep Alerts
Pivot Sweep Low — sell-side liquidity swept below recent lows. Potential long setup developing
Pivot Sweep High — buy-side liquidity swept above recent highs. Potential short setup developing
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD on M5–M15 , with general suitability for major forex pairs and crypto on the same timeframes:
Pivot Length at 5 — the classic fractal sensitivity for intraday gold and forex. Balances signal frequency with structural significance
Close Only on — body close structure breaks eliminate the vast majority of wick-based false breaks on gold and volatile instruments
Setup B (Sweep + CHoCH) on — the highest-quality setups on gold involve a sweep before the CHoCH, making this setup type particularly effective on XAUUSD
HTF at 60-minute — the standard intraday reference for M5–M15 trading
ADX filter off by default — the OTE + rejection candle requirements already provide strong quality filtering without needing ADX as an additional gate
For other instruments or timeframes, adjust:
M1–M3 scalping — reduce Pivot Length to 3, increase Cooldown to 5, reduce TP Reward to 1.5, use tight session filter
H1–H4 swing trading — increase Pivot Length to 7–10, set HTF to Daily or Weekly, increase TP Reward to 3.0–4.0, increase SL Buffer to 0.5
Crypto (BTC, ETH) — increase Sweep Depth to 0.2–0.3× ATR for the wider wicks typical of crypto, consider enabling ADX filter at 20
Indices (NAS100, US30) — use Pivot Length 5–7, enable Session Filter to 09:30–16:00, enable ADX filter
More signals — lower Min Confluence to 4, disable PD Zone requirement, enable Setup A only, reduce Cooldown
Ultra-selective entries only — raise Min Confluence to 6 or 7, require Setup B only, enable ADX filter, enable Volume Expansion
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🎯 OTE and Fibonacci pullback traders — PIVOT is the definitive quantitative implementation of the Optimal Trade Entry framework. Every component — structure detection, leg computation, Fibonacci zone rendering, and rejection confirmation — is automated and scored
🏦 Smart money concepts and ICT methodology traders — PIVOT encodes the CHoCH → displacement → OTE pullback sequence that forms the core of ICT's entry model. The Sweep + CHoCH setup type specifically captures the stop hunt → reversal → optimal entry sequence
🥇 Gold (XAUUSD) and forex traders — the default settings are calibrated for intraday gold trading, where OTE pullbacks after CHoCH events are among the most consistent institutional patterns available
📊 Traders who want structure-defined risk — the structural stop placement means every trade has a stop at a genuinely meaningful level — the swing that would invalidate the structure thesis — rather than an arbitrary ATR distance
🧠 Systematic traders who want to quantify OTE entries — the 7-layer scoring system removes subjectivity from OTE trading. Every potential entry is scored objectively against the same seven criteria on every bar
📈 Traders who want to enter later at a better price — PIVOT's entire philosophy is about waiting for the pullback. If you consistently enter at breakouts and then watch price retrace before continuing, PIVOT is the solution — it waits for that retracement and enters at the optimal Fibonacci level within it
⚠ Traders who struggle with stop placement — the structural swing reference + ATR buffer produces a stop that makes structural sense. You are not guessing where to put the stop — the market's structure tells you exactly where it belongs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Pivot detection, structure break logic, OTE zone calculation, and confluence scoring all finalize on confirmed bars only
The pivot detection has an inherent offset of pivotLen bars — a pivot is only confirmed after pivotLen bars have passed on both sides. This is standard behavior for fractal-based pivot systems and is not repainting — it is the mathematical requirement for confirming the fractal pattern
The Structure Leg Box and OTE Zone are redrawn only on the last bar for chart cleanliness. Historical bars retain signal markers and BOS/CHoCH labels but do not show outdated box overlays
The CHoCH window for Setup B (40 bars) means a Sweep + CHoCH setup can fire up to 40 bars after the CHoCH event, as long as the OTE zone is still valid and all other conditions are met. On slower timeframes this window covers a wider clock-time range — adjust if needed
The confluence label near the OTE zone is drawn only on the last bar. It is a real-time awareness tool, not a historical indicator
Maximum 500 labels, 500 lines, and 80 boxes are rendered. On very active charts, the oldest markers may be removed by TradingView's limits
The session filter is off by default — PIVOT's structural approach is timeframe and session-agnostic. Enable the session filter for instruments where specific sessions (London, NY) produce more reliable structure events
The TP guide is computed dynamically as risk × R multiple. On bars where the swing reference and current price are very close (producing near-zero risk), the fallback is ATR × R multiple
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who know that the move has already started — and who want to enter it at the precise price where the institutions who created the move are still adding to their position. インジケーター
