PROTECTED SOURCE SCRIPT
Trend or Reversal (NQ optimized)

This indicator is a session-aware trade map for NQ futures that combines VWAP, an adaptive Opening Range Box (ORB), prior-day/weekly value areas, and CVD-based divergences into a single confluence engine. It scores trend and reversal setups separately on every bar, then selects one best signal per bar (long or short) so you’re never flooded with conflicting entries.
Key features
Adaptive ORB box (RTH only): First 5–15 minutes after 9:30 ET (length auto-adjusts with ADX). The box defines the opening auction; once it closes, those highs/lows are locked as ORB breakout levels for the rest of the session.
Dynamic bias: Bias flips between bullish, bearish, or neutral based on ORB breaks and how price + EMA9 behave around VWAP.
Value-area context: Uses yesterday’s and last week’s VAH/VAL (70% range model) to define “safer” long/short zones (above VAL for longs, below VAH for shorts).
Session CVD & divergence: Builds a running intraday Cumulative Volume Delta and flags bullish/bearish divergences at extremes.
Confluence scoring: Four internal scores—Trend Long, Trend Short, Reversal Long, Reversal Short—each built from multiple factors (bias, VWAP, ORB, value areas, divergence). The side with the stronger score that passes its threshold prints:
T-LONG / T-SHORT for trend continuation
R-L / R-S for mean-reversion (fade) setups
How to use
Treat T-signals as your primary entries in strong directional moves, aligned with VWAP and ORB/value-area structure.
Treat R-signals as tactical fade opportunities into extremes, preferably at prior VAH/VAL or ORB edges and supported by CVD divergence.
The indicator is not a standalone system—combine it with your own execution rules, risk management, and higher-timeframe context. Not Financial Advice
Key features
Adaptive ORB box (RTH only): First 5–15 minutes after 9:30 ET (length auto-adjusts with ADX). The box defines the opening auction; once it closes, those highs/lows are locked as ORB breakout levels for the rest of the session.
Dynamic bias: Bias flips between bullish, bearish, or neutral based on ORB breaks and how price + EMA9 behave around VWAP.
Value-area context: Uses yesterday’s and last week’s VAH/VAL (70% range model) to define “safer” long/short zones (above VAL for longs, below VAH for shorts).
Session CVD & divergence: Builds a running intraday Cumulative Volume Delta and flags bullish/bearish divergences at extremes.
Confluence scoring: Four internal scores—Trend Long, Trend Short, Reversal Long, Reversal Short—each built from multiple factors (bias, VWAP, ORB, value areas, divergence). The side with the stronger score that passes its threshold prints:
T-LONG / T-SHORT for trend continuation
R-L / R-S for mean-reversion (fade) setups
How to use
Treat T-signals as your primary entries in strong directional moves, aligned with VWAP and ORB/value-area structure.
Treat R-signals as tactical fade opportunities into extremes, preferably at prior VAH/VAL or ORB edges and supported by CVD divergence.
The indicator is not a standalone system—combine it with your own execution rules, risk management, and higher-timeframe context. Not Financial Advice
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.