T&G Quant Indicator

## Short Description:
Adaptive probability engine with self-correcting thresholds, institutional order flow detection, market structure analysis, and 25+ real-time alerts. Quant-grade signals for any market.
---
## Full Description:
█ OVERVIEW
Institutional Flow Pro — Quant (IFP-Q) is a multi-module probability engine that fuses momentum, volume, volatility, and structural analysis into a single adaptive signal system. Unlike static indicators that use fixed rules, IFP-Q detects the current market regime and adjusts its thresholds, cooldowns, and signal quality requirements in real time — including a self-correcting feedback loop that tightens or loosens based on its own rolling win rate.
v4.0 adds institutional-grade order flow modules: absorption detection with delta confirmation, trapped trader identification, fair value gaps, market structure breaks (BOS/CHoCH), liquidity pool mapping, volatility squeeze detection, and opening range breakout — all feeding into a unified confluence scoring system.
Works on any market: Stocks, Futures (ES, NQ, CL, GC), Forex, and Crypto.
Works on any timeframe: Optimized for 1m–15m intraday, functional on higher timeframes.
█ HOW IT WORKS
IFP-Q calculates a composite probability score (-100 to +100) from four weighted engines:
◆ Momentum Composite (25%)
RSI regime detection, MACD histogram acceleration, Stochastic %K/%D,
ROC velocity, ADX trend strength — normalized and Z-scored
◆ Volume-Price Composite (15%)
OBV trend, MFI divergence, VWAP deviation, volume momentum,
buy/sell pressure ratio — requires real volume data
◆ Trend Composite (40%)
EMA ribbon (9/21/50), price vs VWAP, Supertrend, linear regression
slope — heaviest weight because trend is the highest edge factor
◆ Volatility Composite (20%)
Bollinger Band %B, ATR percentile, Keltner Channel position,
historical vs implied vol ratio — identifies compression and expansion
The raw probability is then adjusted by:
→ Candle confirmation (engulfing, pin bars, inside bars)
→ Higher timeframe alignment (15m/1H/4H bias)
→ Probability momentum and acceleration
→ v4.0 confluence boost from institutional flow modules
█ MARKET REGIME DETECTION
IFP-Q classifies every bar into one of five regimes using ADX, ATR percentile, and Bollinger Band width:
TRENDING — Strong directional move, clean signals
VOLATILE TREND — Trending but choppy, wider stops needed
RANGING — Sideways, fade the edges
VOLATILE — High chop, only trade A-grade setups
QUIET — Low volatility compression, squeeze incoming
Each regime dynamically adjusts:
• Signal threshold (looser in trends, tighter in chop)
• Stop distance (wider in volatile, tighter in quiet)
• Cooldown between signals (longer in chop, shorter in trends)
█ SELF-CORRECTING ENGINE (NEW IN v4.0)
IFP-Q tracks its own win rate per regime using a rolling window of the last 20 signals. Based on performance, it automatically adjusts signal thresholds:
Win Rate < 30% → Threshold ×1.20 (hard tighten — fewer signals)
Win Rate 30-40% → Threshold ×1.12 (moderate tighten)
Win Rate 40-50% → Threshold ×1.05 (slight tighten)
Win Rate 50-60% → No adjustment (performing well)
Win Rate 60-65% → Threshold ×0.97 (slight loosen)
Win Rate > 65% → Threshold ×0.93 (running hot — capture more)
Additionally tracks consecutive win/loss streaks:
3+ losses in a row → Doubles cooldown (stop the bleeding)
5+ losses → Triples cooldown
5+ wins → Shortens cooldown to 75%
The "Adapt" row in the dashboard shows current state: TIGHTER / NORMAL / LOOSER, the regime win rate, sample size, and any active streak.
█ v4.0 INSTITUTIONAL FLOW MODULES
◆ ABSORPTION DETECTION
Identifies passive institutional fills at key levels — high volume,
small body, with delta confirmation (volume opposes price direction).
Multi-bar clustering tracks 2-3 consecutive absorption bars at the
same zone. Dashboard shows cluster count and which level is being
defended (VWAP, POC, PD, VA). Directional wick analysis ensures
the correct side absorbed the pressure.
◆ TRAPPED TRADER DETECTION
Breakout failure + decisive reclaim = forced liquidation fuel.
Filters out multi-bar breakouts (real breaks, not traps). Requires
reclaim candle to have body ratio > 35% (no doji bounces). Grades
traps A+/A/B based on conviction. Trap + Liquidity Sweep combo =
highest conviction reversal setup (A+ grade, gold highlight).
◆ DELTA DIVERGENCE
Candle direction disagrees with volume pressure. Red candle but 55%+
buy volume = hidden accumulation. Stacks consecutive divergence bars
(×2, ×3, ×4, ×5) for increasing conviction.
◆ FAIR VALUE GAPS (FVG)
Detects bullish and bearish imbalances where price moved too fast
for orders to fill. Draws gap zones on chart. Alerts when price
returns to fill the gap (high-probability reaction zone).
◆ MARKET STRUCTURE (BOS / CHoCH)
Break of Structure confirms trend continuation. Change of Character
is the earliest warning that a trend may be reversing. Dashboard
shows current structure state and any divergence between structure
and probability direction.
◆ LIQUIDITY POOL MAPPING
Clusters of equal highs/lows where stop orders accumulate. Draws
levels on chart with touch count. Detects sweeps — price pokes
through the pool then reverses back (stop hunt complete).
◆ KELTNER/BB VOLATILITY SQUEEZE
When Bollinger Bands compress inside Keltner Channels, volatility
is building. Tracks squeeze duration. Detects release candle for
breakout timing. Dual squeeze (level squeeze + vol squeeze) =
maximum compression, highlighted with fire emoji.
◆ IMPLIED MOVE CALIBRATION
Compares historical ATR to options-implied expected move (if VIX
or equivalent available). Shows whether options market expects
more or less movement than recent history.
◆ TIME-AT-EXTREME
Counts bars spent beyond 2SD from VWAP. Extended time at extremes
builds reversion pressure — a ticking clock for mean reversion.
◆ OPENING RANGE BREAKOUT
Configurable opening range window (default 30 min). Draws cyan
dashed OR high/low lines. Detects volume-confirmed breakouts
above or below the range with directional flags.
◆ INTERMARKET DIVERGENCE
Compares your instrument to a correlated asset (SPY vs VIX, NQ vs
bonds, etc). When correlated assets diverge, one is wrong. Adds
macro alignment scoring to confidence.
◆ BREADTH PROXY
Uses a breadth symbol (like MMTH or ADD) to gauge market-wide
participation. Positive breadth + bullish signal = higher confidence.
All v4.0 modules feed into a unified confluence score displayed as a
v4 grade (S/A/B/C) with a module count (×1 through ×8+). Higher
confluence = higher probability of follow-through.
█ REVERSAL DETECTION
Six-layer filter system prevents false reversal signals:
1. Regime-Adaptive Threshold — requires 3 of 4 components in trends,
2 of 4 in ranges
2. Trend Strength Gate — suppresses counter-trend calls when trend
Z-score exceeds ±1.5
3. Waterfall/Meltup Suppression — blocks reversals when 4+ of last
8 bars made new extremes
4. Reversal Cooldown — minimum 8 bars between reversal signals
5. Volume Exhaustion — requires Z-score > 2.0 (genuine climax)
6. Momentum Divergence — price must be at 20-bar extreme with RSI
diverging by 3+ points
Reversal components: Band Rejection, Volume Exhaustion, Momentum
Divergence, and Time at Extreme. Each scored 0-25, combined for a
0-100 reversal probability with letter grades.
█ SIGNAL SYSTEM
Signals require full quality gate:
✓ Probability above regime-adjusted threshold
✓ Candle pattern confirmation
✓ Higher timeframe alignment
✓ Probability momentum in signal direction
✓ Probability trajectory rising
✓ Not overextended from VWAP (unless reversal)
✓ Pullback preferred in trends
✓ Session filter (no signals in thin/pre-market)
✓ Dynamic cooldown between signals
✓ Self-correcting adaptive threshold
Signals are graded: A+ (85%+), A (70%+), B (55%+). Each includes a
complete trade plan with smart stop (anchored to nearest structure
level), smart target (capped at nearest obstacle), position size
(volatility-adjusted), and risk/reward ratio.
█ DASHBOARD
Two modes:
BEGINNER — 7-row simplified view with plain English direction,
probability, action label, market advice, reversal status, and
signal tracker.
ADVANCED — 20-row full dashboard showing probability, gauge,
conviction, regime, reversal detail, edge state, all four composite
scores, HTF alignment, trade plan (entry/stop/target/size/R:R),
quality gate status, win tracker with grade breakdown, market
structure, order flow, squeeze, liquidity, v4 confluence, and
self-correcting adaptive state.
█ LEVEL MAP
Auto-sorted proximity table showing all active levels: VWAP, developing
POC/VAH/VAL, previous day high/low, opening range, and liquidity pools.
Closest levels above and below price are highlighted. Tags show context
(confluence zones, swept pools, migrating POC).
█ ALERTS (25+)
MUST-HAVE:
• Long / Short Signal
• Squeeze Release
• Change of Character (CHoCH)
• Liquidity Sweep
• v4 High Confluence (4+ modules aligned)
FLOW:
• Absorption Detected
• Trapped Trader Pattern
• Delta Divergence ×3 Stack
STRUCTURE:
• Break of Structure (BOS)
• Fair Value Gap Formed
• ORB Breakout
LEVELS:
• dVAH / dVAL Break
• dPOC Migrating
• Dev Level Confluence Signal
• Level Squeeze Detected
PROBABILITY:
• High Bull / Bear Probability (70%+)
• Regime Change
• Near Edge (building toward threshold)
• Bullish / Bearish Divergence
• Bullish / Bearish Reversal
• Dual Squeeze
█ SETTINGS
Sensitivity: Aggressive / Normal / Conservative
Sensitivity adjusts the base signal threshold. Normal is recommended.
Beginner Mode: Simplified dashboard for new users
Modules: All v4 modules individually toggleable
Levels: VWAP, POC, Dev Levels, Prev Day, Projections
Signals: Toggle signals, reversals, v4 markers, action label
Risk: Account size, risk %, R:R ratio, stop ATR multiplier
Session: Timezone, session filter, OR window length
Intermarket: Comparison symbol, breadth symbol
Colors: Bull, bear, neutral, level, reversal — all customizable
█ USAGE TIPS
• Start with Beginner Mode ON — learn the probability number and
action labels before diving into the full dashboard
• The PROB number is your primary signal. Above ±55 with a triangle
= quality-gated entry
• Watch the Adapt row — if it says TIGHTER, the system is protecting
you from a cold streak in this regime
• Absorption clusters (ABS ×2, ×3) at key levels are among the
highest-conviction setups
• TRAP + SWEEP combo (gold highlight) = stop hunt failed, reversal
incoming
• Dual Squeeze (🔥🔥) = maximum compression, prepare for expansion
• CHoCH is NOT an entry — it's an alert to stop trading the old
direction and watch for confirmation
Works best on liquid instruments with real volume data. Futures (ES, NQ,
CL) and large-cap equities on 1m-15m timeframes are the sweet spot.
Yalnızca davetli komut dosyası
Bu komut dosyasına yalnızca yazar tarafından onaylanan kullanıcılar erişebilir. Kullanmak için izin istemeniz ve almanız gerekir. Bu genellikle ödeme yapıldıktan sonra verilir. Daha fazla ayrıntı için aşağıdaki yazarın talimatlarını izleyin veya doğrudan maxpitts13 ile iletişime geçin.
TradingView, yazarına tamamen güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı TAVSİYE ETMEZ. Ayrıca topluluk komut dosyalarımızda ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.
Yazarın talimatları
Feragatname
Yalnızca davetli komut dosyası
Bu komut dosyasına yalnızca yazar tarafından onaylanan kullanıcılar erişebilir. Kullanmak için izin istemeniz ve almanız gerekir. Bu genellikle ödeme yapıldıktan sonra verilir. Daha fazla ayrıntı için aşağıdaki yazarın talimatlarını izleyin veya doğrudan maxpitts13 ile iletişime geçin.
TradingView, yazarına tamamen güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı TAVSİYE ETMEZ. Ayrıca topluluk komut dosyalarımızda ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.