mucip sat stratejisiThis strategy performs scaled short entries across multiple timeframes.
Position additions are executed using small capital allocations (1–2% per entry) to manage risk efficiently.
It is primarily optimized for major cryptocurrencies.
The strategy is designed for futures markets and operates with leverage in the 10–15x range.
Forecasting
Whale Dash + Colored CandlesIstruzioni per l'uso:
Analisi Rapida: Guarda la dashboard per capire il trend generale e la potenza del volume.
Analisi Visiva: Quando vedi una candela colorata, sai che l'istituzionale ha lasciato l'impronta. Se una candela Oro appare sopra la SMA 50 (Trend Bullish), la probabilità di continuazione è molto alta.
Come usarla per le tue analisi:
Se vedi Potenza > 3.0x e Stato Balena: ATTIVA, guarda la candela corrente. Se è oro ed il trend è BULLISH, è un segnale di acquisto istituzionale.
Se vedi TREND: BEARISH e lo stato balena diventa attivo su una candela viola, le balene stanno scaricando posizioni.
Ingresso Long: Aspetta una candela Oro. Guarda la dashboard: se il Vol. Balena è molto alto (>3.0x), la forza del movimento è reale.
Ingresso Short: Aspetta una candela Viola. Guarda la dashboard: se il Vol. Balena è molto alto (>3.0x), la forza del movimento è reale.
Stop Loss: Posizionalo appena sotto la linea Oro/Viola creata dalla candela balena. Se il prezzo la rompe, l'istituzionale è uscito.
Consiglio:
Attendi sempre la fine dalla candela colorata per capire l'intenzione.
Instructions for use:
Quick Analysis: Look at the dashboard to understand the overall trend and volume strength.
Visual Analysis: When you see a colored candle, you know that the institutional player has left its mark. If a Gold candle appears above the SMA 50 (Bullish Trend), the probability of continuation is very high.
How to use it for your analyses:
If you see Power > 3.0x and Whale Status: ACTIVE, look at the current candle. If it is gold and the trend is BULLISH, it is a signal of institutional buying.
If you see TREND: BEARISH and the whale status becomes active on a purple candle, the whales are offloading positions.
Long Entry: Wait for a Gold candle. Check the dashboard: if Whale Vol. is very high (>3.0x), the strength of the movement is real.
Short Entry: Wait for a Purple candle. Check the dashboard: if Whale Vol. is very high (>3.0x), the strength of the movement is real.
Stop Loss: Place it just below the Gold/Purple line created by the whale candle. If the price breaks it, the institution has exited. Tip: always wait for the colored candle to close to understand the intention.
RsRotation Dashboard [Multi-MA + RSI] USThis uses the relative strength of the stock compared with the QQQ ticker.
StockRadar - Gap Trading SystemStockRadar – Gap Trading System
StockRadar – Gap Trading System is a visual gap-detection and gap-trading helper for TradingView. It identifies significant price gaps, tracks how they evolve over time (unfilled, partially filled, fully closed, or time-limited), and simulates a structured gap-fill trade plan with configurable entry, stop-loss and take-profit logic. The goal is to help you spot high-quality gap opportunities faster and review historical performance directly on the chart.
What it does
Detects relevant gaps based on a minimum deviation threshold and plots them as clear, color-coded gap boxes.
Monitors each gap’s lifecycle and marks whether it stays open, gets partially filled, fully closed, or is closed by a time limit (optional).
Simulates a trade setup per gap using:
a configurable Trade Entry Trigger
a configurable Risk/Reward ratio
a configurable Take-Profit at Gap Close (%)
Visualizes the setup and outcome with entry/exit markers, SL/TP levels, and profit/loss labels.
Key features
Gap Visualization
Color-coded boxes for open / partial / fully closed / time-limited gaps
Optional remaining gap size (%) display
Adjustable border and fill transparency
Pre-entry vs active-trade shading inside the gap box for better readability
Trade Simulation & Chart Markings
Trade Entry Trigger:
Candle Close (more conservative)
Wick Touch (more aggressive)
Stop-Loss & Take-Profit lines drawn for all relevant gaps (not only the newest ones)
Optional “SL” / “TP” labels on the lines (menu toggle)
Entry vertical line inside the gap box to show where the trade became active
Trade result labels including profit/loss in % for completed trades
High-Probability Alerts (⚡)
Discrete ⚡ icon displayed inside the top-left corner of the gap box for high-probability setups (toggleable)
Uses historical performance context (win rate / break-even logic) to support more selective alerts
Dashboard (On-Chart Panel)
Clear PROFITABLE / NOT PROFITABLE / INSUFFICIENT DATA status based on win rate vs break-even and sample size
Shows key stats and (optional) trend speed analysis
“Data since” field to display the earliest evaluated gap date for transparency
Position Sizing Calculator (Optional)
Toggleable Position Sizing section
Input your available capital and risk % per trade
Calculates suggested share quantity (rounded down) for the latest high-probability setup
Displays entry price, position value, currency, and highlights when capital is insufficient
Who it’s for
This indicator is designed for traders who work with gap-fill behavior and want:
fast and consistent gap identification,
structured trade levels (entry/SL/TP),
clean historical review of outcomes,
and an at-a-glance dashboard summary without leaving the chart.
Notes / Disclaimer
This script is a charting and analysis tool, not financial advice. Always validate signals with your own risk management and market context. Past performance statistics are informational and do not guarantee future results.
Reference TimesThe Reference Times indicator highlights historical candles on your chart based on the user's selected criteria. This tool allows traders to reference the current graph's price movements against historical movements at specific times and days, helping to anticipate potential future market direction, swings, and timing.
For even more advaned features check out "Reference Times - Advanced"
good luck and all the best!
CPG - Institutional Premium Arbitrage SystemConcept & Logic:
This strategy captures institutional sentiment by analyzing the Cross-Exchange Arbitrage Data between Coinbase (USD pair) and Binance (USDT pair). Instead of using raw price difference which is noisy, this script employs a Proprietary Dynamic Threshold Algorithm. It normalizes the premium data using a custom volatility-adjusted window to filter out retail noise and identify genuine "Whale Accumulation" zones.
Key Features:
Data Source: Real-time BTC/USD vs BTC/USDT spread analysis.
Signal Filtering: The proprietary algorithm (closed-source logic) dynamically adjusts upper and lower bands to prevent false signals during low liquidity periods.
Execution:
Bullish: When the premium breaks the dynamic upper threshold (Strong Institutional Buying).
Bearish: When the premium drops below the dynamic lower threshold (Institutional Selling).
Usage:
Note: The dynamic threshold algorithm is specifically calibrated for Bitcoin's unique liquidity structure. Extensive backtesting shows that this logic is NOT suitable for altcoins (like ETH or SOL). Please strictly use it on BTC pairs.
策略核心:
本策略透過分析 Coinbase (USD) 與 Binance (USDT) 之間的跨交易所資金流 (Arbitrage Data),來捕捉機構投資者的動向。 原始的價差數據通常充滿雜訊,因此本腳本內建了一套**「獨家動態閥值演算法」**。該算法能對數據進行平滑處理與正規化,有效過濾市場雜訊,精準識別出機構大戶的資金流向。
功能特點:
數據源: 即時運算 BTC/USD 與 BTC/USDT 的溢價差。
獨家過濾: 閉源的動態演算法會根據波動率自動調整上下軌閥值,避免假突破。
交易訊號:
看多: 溢價突破動態上軌(機構強力買入)。
看空: 溢價跌破動態下軌(機構拋售)。
用法:
注意: 本策略的動態閥值演算法是針對比特幣的流動性結構進行嚴格校準的。回測數據顯示,此邏輯不適用於 ETH 或 SOL 等其他幣種。請務必僅在 BTC 圖表上使用。
Buddy Pro AnalystThe EMC Buddy indicator is worth adding to your TradingView setup because it simplifies complex analysis into clear, beginner-friendly visuals and guidance—helping you spot high-probability trades without overwhelming clutter.
Here's why:
Clean Trend & Momentum Insight — Bar colors instantly show trend changes (blue for bullish turns), while support/resistance lines from divergences highlight key levels—no messy overlays.
Strategy-Specific Modes — Switch between "Analyst" (simple overview) or "Bull/Bear Setups" (full trade zones with entry/TP/SL lines) to match your style.
Built-in Guidance — Text boxes provide actionable advice, explaining what to do next in plain language.
All-in-One Tool
Supertrend Strategy PRO FiltersSupertrend Strategy — PRO Filters is an extended trend-following strategy based on the classic SuperTrend indicator, enhanced with 7 independent professional entry-quality filters, a Stop Loss / Take Profit system, and higher timeframe support.
The strategy is designed for intraday and swing trading on liquid instruments (stocks, futures, cryptocurrencies).
The core logic of the strategy
The strategy is built around the SuperTrend indicator calculated using ATR:
Long — when the trend changes from bearish to bullish
Short — when the trend changes from bullish to bearish
The trend reversal is determined by a breakout of the dynamic SuperTrend lines (up / down), which adapt to market volatility.
Filter system (7 levels)
Each filter can be enabled or disabled independently, allowing the strategy to be adapted to any market and trading style.
ATR Regime Filter
Purpose: trading only during active market phases
An entry is allowed when the current ATR is above its average value
Filters out flat and low-volatility periods
Higher Timeframe Trend Filter
Purpose: trading only in the direction of the higher timeframe trend
Uses SuperTrend on the higher timeframe
Long — only when the HTF trend is bullish
Short — only when the HTF trend is bearish
RSI Impulse Filter
Purpose: filtering out weak and late impulses
Long: RSI above a specified level
Short: RSI below a specified level
Candle Quality Filter
Purpose: excluding entries on “noisy” candles
Entries are allowed only when the candle body is significantly larger than the wicks
Helps avoid false breakouts
SuperTrend Slope Filter
Purpose: confirming trend strength
The slope of the SuperTrend lines is analyzed
Entries are allowed only when sufficient momentum is present
Volume Filter
Purpose: confirming price movement with volume
Volume must exceed the SMA of volume by a multiplier
Filters out moves without participation from large players
EMA Trend Filter
Purpose: additional direction filter
Long — price above EMA
Short — price below EMA
Final entry conditions
A trade is opened only when all of the following are met:
A SuperTrend trend-change signal
All enabled filters
This significantly reduces the number of trades while improving their quality.
Risk management (SL / TP)
An optional fixed-risk system:
Take Profit — as a percentage of the entry price
Stop Loss — as a percentage of the entry price
Works identically for both Long and Short positions
Usage recommendations
Best results are typically achieved on 15m–1h timeframes
It is recommended to optimize filters for each specific instrument
Especially effective in markets with strong, well-defined trends
Disclaimer
This strategy is intended for analysis and educational purposes only.
Before using it in live trading, be sure to conduct your own testing and optimization.
Supertrend Strategy — PRO Filters — это расширенная трендовая стратегия на базе классического SuperTrend, дополненная 7 независимыми профессиональными фильтрами качества входа, системой Stop Loss / Take Profit и поддержкой старшего таймфрейма.
Стратегия предназначена для интрадей- и свинг-торговли на ликвидных инструментах (акции, фьючерсы, криптовалюты).
Базовая логика стратегии
В основе стратегии лежит индикатор SuperTrend, построенный на ATR:
Long — при смене тренда с нисходящего на восходящий
Short — при смене тренда с восходящего на нисходящий
Смена направления определяется пробоем динамических линий SuperTrend (up / down), адаптирующихся к волатильности рынка.
Система фильтров (7 уровней)
Каждый фильтр можно включать или отключать независимо, что позволяет адаптировать стратегию под любой рынок и стиль торговли.
ATR Regime Filter
Назначение: торговля только в активной фазе рынка
Вход разрешён, если текущий ATR выше своего среднего значения
Отсекает флэт и низковолатильные периоды
Higher Timeframe Trend Filter
Назначение: торговля только в сторону тренда старшего таймфрейма
Используется SuperTrend на HTF
Long — только при восходящем тренде HTF
Short — только при нисходящем
RSI Impulse Filter
Назначение: фильтрация слабых и запаздывающих импульсов
Long: RSI выше заданного уровня
Short: RSI ниже заданного уровня
Candle Quality Filter
Назначение: исключение входов по «шумным» свечам
Вход только если тело свечи существенно больше фитилей
Помогает избежать ложных пробоев
SuperTrend Slope Filter
Назначение: подтверждение силы тренда
Анализируется наклон линий SuperTrend
Вход разрешён только при достаточной динамике
Volume Filter
Назначение: подтверждение движения объёмом
Объём должен превышать SMA объёма с коэффициентом
Исключает входы без участия крупных игроков
EMA Trend Filter
Назначение: дополнительный фильтр направления
Long — цена выше EMA
Short — цена ниже EMA
Итоговые условия входа
Сделка открывается только при одновременном выполнении:
Сигнала смены тренда SuperTrend
Всех активированных фильтров
Это значительно снижает количество сделок, но повышает их качество.
Управление рисками (SL / TP)
Опциональная система фиксированного риска:
Take Profit — в процентах от цены входа
Stop Loss — в процентах от цены входа
Работает одинаково для Long и Short
Рекомендации по использованию
Лучшие результаты показывает на 15m–1h таймфреймах
Рекомендуется оптимизация фильтров под конкретный инструмент
Особенно эффективна на рынках с выраженными трендами
Дисклеймер
Стратегия предназначена для анализа и обучения.
Перед использованием в реальной торговле обязательно проведите собственное тестирование и оптимизацию.
Переведи на английский. Не форматироу просто перевод
Anti-Climax and DecelerationThis indicator detects high-probability 3-bar price sequences to highlight potential market turning points, continuations, and expansions. It identifies four types of triangle patterns based on the relationship between three consecutive bars:
1. Break Triangles
Signal potential reversals after a short sequence.
Example: Bear → Bear → Bull or Bull → Bull → Bear.
Plotted as Green (UP) / Red (DOWN) triangles.
2. Compression Triangles
Detect inside / absorption setups where price is consolidating before a possible directional move.
Example: Bars staying within Bar 1’s high/low range.
Plotted as Orange dots.
3. Expansion Triangles
Identify strong continuation moves, where each bar breaks the high/low of the previous bar in the same direction.
Plotted as Purple dots.
Features:
Non-repainting, bar-close confirmed signals.
Works on any timeframe.
Easy visual cues for Break, Compression, and Expansion patterns.
Designed to integrate with SMC concepts, FVG, or Swing Point analysis.
How to Use:
Look for triangle or dot signals at key support/resistance or supply/demand zones.
Combine with trend direction or higher timeframe bias for higher-probability trades.
Use Break signals for reversal setups, Compression signals for absorption or liquidity hunts, and Expansion signals for strong trend continuation.
Lot Size CalculatorSimple indicator that calculating how many shares you can buy based on your deposit.
NTA Directional Price Pressure (DPP)NTA Directional Pressure Bar
by NexTrade Academy
NTA Directional Pressure Bar is a contextual market analysis tool developed by NexTrade Academy, designed to quantify real-time directional price pressure by measuring the efficiency and dominance of bullish versus bearish price movement.
This script is not a trading system and does not generate buy or sell signals. Its purpose is to act as a bias confirmation and market context engine, helping traders understand who is controlling the market right now.
🔍 What does NTA Directional Pressure Bar do?
This indicator analyzes pure price action to:
Measure bullish vs bearish pressure using candle body efficiency
Quantify directional dominance in real time
Identify when one side (buyers or sellers) is in control
Filter low-quality conditions and non-operable market phases
The result is a clean, visual pressure bar that reflects institutional-style market control, without unnecessary noise.
📊 How to read it
Green dominance → Bullish pressure is in control
Red dominance → Bearish pressure is in control
Balanced / flat zones → No clear dominance (range or compression)
This tool does not trigger trades.
It enables or disables directional bias.
🧠 Institutional Use Case
NTA Directional Pressure Bar is designed to be used as:
A bias confirmation layer
A context filter before execution
A confluence tool alongside structure, liquidity, or Wyckoff-based analysis
It integrates naturally with frameworks such as:
Wyckoff NTA – Institutional Context Engine
NTC (NexTrade Concept) execution models
⚠️ Important Notice
This script does not guarantee results, is not automated, and is not financial advice.
It must be used strictly as a contextual analysis tool, always combined with a structured trading plan and proper risk management.
✅ Recommended Use
Use NTA Directional Pressure Bar to:
Confirm directional bias
Avoid trading against dominant pressure
Stay aligned with market control
Improve trade selectivity and discipline
Developed by NexTrade Academy
Institutional Trading · Market Structure · Context First
Options SL/TP Price Projection Sim + Day Trading/Scalping Toolwww.tradingview.com
📌 What this indicator does
This indicator projects what your option contract will be worth when the stock reaches your Stop Loss or Take Profit — before price gets there.
Instead of guessing:
“How much will this option be worth if price hits my stop?”
“Is this move actually worth the risk in option dollars?”
You get instant, realistic option price estimates at your exact stock levels.
⚙️ How it works (simple but powerful)
The script uses a local delta + gamma approximation to estimate option price changes:
Delta → linear price sensitivity
Gamma → curvature for fast moves
Optional execution friction → realistic fills
Automatic Call / Put detection via delta sign
Enforced $0.01 minimum option price (real market behavior)
This is not a slow academic options model — it’s a trader-grade approximation designed for speed and clarity.
🚀 Designed specifically for DAY TRADING
This tool is optimized for:
Options scalping
Momentum trades
Breakouts & flushes
0DTE / weekly options
Holding times ~3–15 minutes
Why it excels here:
Delta + gamma dominate option pricing on fast moves
IV and theta usually don’t have time to fully reprice
You get actionable numbers, not theoretical noise
This is exactly the environment most option day traders operate in.
🧠 Key Features
✅ Projects option price at BOTH SL and TP
✅ Works for calls & puts automatically
✅ Enter any two stock levels — script assigns SL/TP correctly
✅ Clean, black HUD table (no clutter, no moving drawings)
✅ Non-draggable, stable price levels
✅ Minimal inputs — no overengineering
✅ Built for speed under pressure
🎯 Why this is effective
Most traders manage risk in stock points , but trade options .
This indicator bridges that gap.
It lets you:
Judge true risk/reward in option dollars
Avoid “looks good on the chart, bad on the premium”
Compare setups objectively
Size trades more intelligently
Make faster, more confident decisions
It’s especially useful when spreads, gamma, and fast tape make intuition unreliable.
🧼 Philosophy: Clean > Complicated
This script intentionally avoids:
Full Black-Scholes modeling
IV forecasting
Overloaded settings
Visual clutter
Instead, it focuses on what matters for day traders:
“If price gets here quickly, what should my option be worth?”
⚠️ Important Notes
Best accuracy for fast, clean moves
Not intended for multi-hour holds or swing trading
Assumes relatively stable IV over short horizons
Execution friction is configurable to match real fills
Used correctly, this becomes a powerful decision-support tool, not a prediction engine.
✅ Who this indicator is for
Options day traders
Scalpers
Momentum traders
Anyone trading options off stock price levels
If you trade options intraday and manage risk using stock levels, this tool was built exactly for you.
QuantLabs The MTF Nasdaq 30 Scanner [Capital Flow and Pressure]Trading the QQQ (Nasdaq) without knowing what the Generals (Apple, Nvidia, Microsoft) are doing is like driving at night with your headlights off. You might see the road right in front of you, but you'll miss the turn coming up.
The QuantLabs MTF Nasdaq 30 Scanner is not just a trend indicator, it is a professional-grade Market Dashboard that visualizes the heartbeat of the entire Nasdaq 100.
Why You Need This
Standard indicators lag. They tell you what happened after the move. This Heatmap tracks the Real-Time Capital Flow of the Top 30 companies that actually move the index ($Trillions in Market Cap).
Key Features
1. The "Spectacular" Precision Heatmap
Organized by Market Cap Size (AAPL/NVDA first).
Instantly spot divergent behavior. Is the market rallying, or is it just Nvidia holding everything up? The Heatmap reveals the truth instantly.
Colors: Neon Cyan (Bullish) vs Hot Pink (Bearish).
2. Triple Spectrum Technology (3-in-1 Timeframes) Why look at one timeframe when you can see three? Every cell in the dashboard displays the trend distance for:
8h (Fast): For scalping entries.
16h (Mid): For swing trends.
24h (Slow): For the major "Big Picture" bias.
Values denote % distance from the Flux Ribbon.
3. The "Net Pressure" Gauge (The Speedometer) A predictive summary footer that calculates the Weighted Pressure of the entire market.
HEAVY (> 0.5%): Strong Trend / Breakout Mode.
MODERATE (0.2% - 0.5%): Healthy, sustained move.
FLAT: Chop / Noise. Stay out.
It also shows exactly how much Capital ($Trillions) is sitting Bullish vs Bearish.
How to Trade with It
Check the "Net Pressure": If it says MODERATE BULLISH, you are looking for Longs only.
Scan the Top Row: Are the "Big 5" (AAPL, NVDA, MSFT...) aligned with the pressure?
Wait for Alignment: If the 8h, 16h, and 24h metrics all turn Cyan, that is a "Quantum Lock"—a high probability breakout signal.
Simple. Powerful. Neon. Add it to your chart and stop guessing the direction.
Credits: Built with 💜 by David James @ QuantLabs
PsychFlowETHJudging trading behavior purely from a psychological perspective, without relying on technical indicators.
ZERO-LAG Tabrizi Scalping ToolKit This indicator will allow you to scalp on the 1M and 5M chart with zero lag. We will show you trend reversals and also when to buy and sell
Yield Curve Inversion Indicator Will track the TVC:US10Y and TVC:US03MY spread, often followed for the "yield curve inversion" trade/indicator.
When an inversion occurs, which lasts a minimum of the defined days (default 10) the indicator will paint forward a warning period (default is 365 days).
The yield curve being inverted is not the signal, the REVERSION back to a positive curve is the associated signal, namely the following 12 months after a reversion. This is often used as an early warning of trouble in markets.
Hope this helpful for those who follow macro/internal warning signals.
ES1! H1 Stats+ES1! H1 Stats - Detailed Prob & Excursion Indicator
Overview
ES1! H1 Stats - Detailed Prob & Excursion is a specialized statistical overlay indicator for TradingView, tailored for E-mini S&P 500 futures (ES1!) on a 1-hour framework. It provides real-time insights into the probability of price returning to the hourly open after sweeping the previous hour’s high (PHH) or previous hour’s low (PHL), based on historical data segmented by hour (0–23) and 20-minute intervals. The indicator visualizes these sweeps with lines, labels, circles, background fills, and “excursion zones” (also called “Magic Boxes”) that highlight median/mean extensions post-sweep, along with percentile lines (75th / 90th / 95th) for gauging potential “pain” or extreme moves. This tool is designed for intraday S&P 500 traders focusing on liquidity sweeps and mean-reversion behavior, helping to quantify edge using empirical probabilities and excursion statistics.
The data is hardcoded from extensive historical analysis of ES1! behavior (e.g., probabilities ranging roughly from ~7% to ~91%, with sample sizes up to 2000+ per segment), making it a backtested reference rather than a dynamic learning model. It emphasizes visual clarity during active hours, with options to filter for Regular Trading Hours (RTH: 09:00–15:59 ET) or high-probability (>70%) events only. Note: This is an educational tool for analyzing market structure; it does not predict future performance or provide trading signals/advice. Past data does not guarantee future results, and users should backtest on current conditions (as of December 2025 data availability) and use at their own risk, in compliance with TradingView’s house rules.
Key Features
• Sweep Detection & Probability Labels: Identifies when price breaks PHH (upside) or PHL (downside), displaying a centered label with probability of returning to the hourly open, sample size (N), time of sweep, and a checkmark (✅) if the open is retested post-sweep.
• Visual Lines & Markers: Draws hourly open (h.o.), PHH, and PHL lines with customizable styles/colors; adds small circles on sweep bars for quick spotting.
• Breakout→Open Background Fill: Shaded zone from sweep bar until price returns to open, visualizing extension duration and retracement.
• Excursion (Pain) Zone - “Magic Box”: Post-sweep box showing median/mean extension percentages, colored dynamically by probability (green high, orange mid, red low); includes dashed lines for 75th/90th/95th percentiles to mark statistical extremes.
• Time-Segmented Data: Probabilities and excursions vary by hour (0–23) and 20-min segments (0–19 min: _0, 20–39: _1, 40–59: _2), capturing intraday nuances (e.g., higher probs in early/late hours).
• Filters for Focus: RTH-only mode hides non-session elements; high-prob-only shows >70% events to reduce noise.
• Alerts: Triggers on PHH/PHL sweeps with messages for chart checks.
How It Works
• Data Foundation: Uses pre-computed maps for probabilities (prob_high_taken/prob_low_taken), sample sizes, and excursions (mean, median, p75/p90/p95 as percentages of open). Data is initialized on the first bar via f_init_high_data() and f_init_low_data(), covering 24 hours with 3 segments each (e.g., key "9_1" for 09:20–09:39). Probabilities represent historical likelihood of price returning to open after sweep; excursions quantify average/rare extensions (e.g., 0.156% mean = 0.156% of open price).
• Period Detection: On new 1H bars (new_period_bar), resets visuals, draws lines for open/PHH/PHL extending 1 hour forward, and labels if enabled. Uses request.security on standard ticker for real OHLC, bypassing chart transformations (e.g., Heikin Ashi).
• Sweep Logic: On each bar, checks if real high > PHH or real low < PHL. If so, fetches segment-specific data (hour + floor(minute/20)), displays probability label centered mid-hour. Skips if filtered (RTH-only or <70% prob).
• Excursion Visualization: If enabled, draws “Magic Box” from 1-min to 58-min into the hour, bounded by mean/median levels (top/bottom adjusted for high/low sweep). Adds percentile lines with labels (e.g., “75%”) at right end. Box color reflects prob strength for quick bias assessment.
• Retest Check: Monitors for open retest post-sweep (high/low cross open, or gap scenarios from prev bar). Adds ✅ to label if hit on subsequent bars (skips sweep bar to avoid false positives). Stops background fill on retest or at 58-min mark.
• Background Fill: Activates on sweep, shades until retest, using user color.
• Cleanup & Performance: Manages labels in arrays, clears on new periods; no excess drawing beyond max counts (500 lines/labels/boxes).
This setup blends statistical backtesting with real-time visualization: hardcoded data provides empirical probabilities/excursions (reducing subjectivity in breakouts), while dynamic elements (lines, fills, boxes) overlay structure on the chart. It helps ES traders assess if a sweep is “high-edge” (e.g., >70% probability of reverting) or likely to run (low probability, high excursion), pairing historical context with current price action.
Settings and Customization
Inputs are grouped for ease:
Settings:
o Show RTH Only (9:00–15:59): Restricts to main session (default: false; tooltip: for RTH-focused stats).
o Show High Prob Only (>70%): Filters low-prob sweeps visually (default: false; tooltip: highlights confidence).
Visuals:
o Show Line Labels: Toggle “h.o.” / “phh” / “phl” (default: true).
o Period Open Line Color: Gray 50% (default).
o Previous High/Low Line Colors: Gray 100% (default).
o Open Line Style/Width: Dotted/1 (default; options: Solid/Dotted/Dashed).
Breakout→Open Background:
o Show Breakout→Open Background: Toggle fill (default: true).
o Fill Color: Teal 85% (default).
Breakout Circles:
o Show Breakout Circles: Toggle (default: true).
o PHH/PHL Break Circle Colors: White 20% (default).
Info Label Style:
o Text Size: Small (default; options: Auto/Tiny/Normal/Large/Huge).
o Label Text Color: White (default).
o Low/Mid/High Probability Colors: Red 20% / Orange 20% / Green 20% (default).
Excursion (Pain) Zone:
o Show Excursion Zone: Toggle Magic Box (default: true).
o Excursion Box Color: Gray 75% (default; dynamic overrides).
o 75th/90th/95th Percentile Lines: Orange 30% / Red 30% / Dark Red 100% (default).
No additional tables/plots; all elements are lines/labels/boxes for overlay focus.
Usage Tips
• Breakout Trading: Watch for sweeps with high probability (>70%, green label) as potential fades back to open; low probability (red) may signal runs—use the excursion box for targets (e.g., exit at 90th percentile for extremes).
• Time Awareness: Probabilities often peak in key liquidity windows and drop in quieter hours; segments capture momentum shifts (e.g., _2 often lower prob).
• RTH Focus: Enable for cleaner stats during high-liquidity session hours; disable for a 24-hour view.
• Visual Filtering: Use high-prob-only in volatile conditions to reduce noise; combine with volume or other confluence tools for confirmation.
• Alerts Integration: Set TradingView alerts on sweeps; check label for probability/N before acting.
• Chart Setup: Best on 1H or lower ES1! charts; adjust text size for readability on smaller screens.
• Backtesting: Manually review historical sweeps against data maps to validate; update hardcoded values if new data emerges (as of 2025).
Limitations
• Fixed Data: Hardcoded stats may not reflect recent market changes (e.g., post-2025 regime shifts); not adaptive.
• Reactive Only: Detects sweeps after they occur; no predictive signals.
• Timeframe Specific: Locked to 1H logic; may not translate to other assets/timeframes without recoding data.
• Visual Clutter: On busy charts, labels/boxes may overlap—toggle selectively.
• No Live Stats: Sample sizes are historical; real-time N/prob not updated.
• Gaps & Extremes: Handles gaps in retest logic, but rare events (e.g., macro news) may exceed the 95th percentile.
Disclaimer
This indicator is for informational and educational purposes only. Trading involves significant risk of loss and is not suitable for all investors. The hardcoded data represents past E-mini S&P 500 futures (ES1!) performance and does not guarantee future outcomes. No claims of profitability are made—results depend on market conditions, user strategy, and risk management. Consult a financial advisor before trading, and backtest extensively. Abiding by TradingView rules, this tool provides no investment recommendations.
6B1! H1 Stats+6B1! H1 Stats - Detailed Prob & Excursion Indicator
Overview
6B1! H1 Stats - Detailed Prob & Excursion is a specialized statistical overlay indicator for TradingView, tailored for British Pound futures (6B1!) on a 1-hour framework. It provides real-time insights into the probability of price returning to the hourly open after sweeping the previous hour’s high (PHH) or previous hour’s low (PHL), based on historical data segmented by hour (0–23) and 20-minute intervals. The indicator visualizes these sweeps with lines, labels, circles, background fills, and “excursion zones” (also called “Magic Boxes”) that highlight median/mean extensions post-sweep, along with percentile lines (75th / 90th / 95th) for gauging potential “pain” or extreme moves. This tool is designed for intraday British Pound traders focusing on liquidity sweeps and mean-reversion behavior, helping to quantify edge using empirical probabilities and excursion statistics.
The data is hardcoded from extensive historical analysis of 6B1! behavior (e.g., probabilities ranging roughly from ~7% to ~91%, with sample sizes up to 2000+ per segment), making it a backtested reference rather than a dynamic learning model. It emphasizes visual clarity during active hours, with options to filter for Regular Trading Hours (RTH: 09:00–15:59 ET) or high-probability (>70%) events only. Note: This is an educational tool for analyzing market structure; it does not predict future performance or provide trading signals/advice. Past data does not guarantee future results, and users should backtest on current conditions (as of December 2025 data availability) and use at their own risk, in compliance with TradingView’s house rules.
________________________________________
Key Features
• Sweep Detection & Probability Labels: Identifies when price breaks PHH (upside) or PHL (downside), displaying a centered label with probability of returning to the hourly open, sample size (N), time of sweep, and a checkmark (✅) if the open is retested post-sweep.
• Visual Lines & Markers: Draws hourly open (h.o.), PHH, and PHL lines with customizable styles/colors; adds small circles on sweep bars for quick spotting.
• Breakout→Open Background Fill: Shaded zone from sweep bar until price returns to open, visualizing extension duration and retracement.
• Excursion (Pain) Zone - “Magic Box”: Post-sweep box showing median/mean extension percentages, colored dynamically by probability (green high, orange mid, red low); includes dashed lines for 75th/90th/95th percentiles to mark statistical extremes.
• Time-Segmented Data: Probabilities and excursions vary by hour (0–23) and 20-min segments (0–19 min: _0, 20–39: _1, 40–59: _2), capturing intraday nuances (e.g., higher probs in early/late hours).
• Filters for Focus: RTH-only mode hides non-session elements; high-prob-only shows >70% events to reduce noise.
• Alerts: Triggers on PHH/PHL sweeps with messages for chart checks.
________________________________________
How It Works
• Data Foundation: Uses pre-computed maps for probabilities (prob_high_taken/prob_low_taken), sample sizes, and excursions (mean, median, p75/p90/p95 as percentages of open). Data is initialized on the first bar via f_init_high_data() and f_init_low_data(), covering 24 hours with 3 segments each (e.g., key "9_1" for 09:20–09:39). Probabilities represent historical likelihood of price returning to open after sweep; excursions quantify average/rare extensions (e.g., 0.156% mean = 0.156% of open price).
• Period Detection: On new 1H bars (new_period_bar), resets visuals, draws lines for open/PHH/PHL extending 1 hour forward, and labels if enabled. Uses request.security on standard ticker for real OHLC, bypassing chart transformations (e.g., Heikin Ashi).
• Sweep Logic: On each bar, checks if real high > PHH or real low < PHL. If so, fetches segment-specific data (hour + floor(minute/20)), displays probability label centered mid-hour. Skips if filtered (RTH-only or <70% prob).
• Excursion Visualization: If enabled, draws “Magic Box” from 1-min to 58-min into the hour, bounded by mean/median levels (top/bottom adjusted for high/low sweep). Adds percentile lines with labels (e.g., “75%”) at right end. Box color reflects prob strength for quick bias assessment.
• Retest Check: Monitors for open retest post-sweep (high/low cross open, or gap scenarios from prev bar). Adds ✅ to label if hit on subsequent bars (skips sweep bar to avoid false positives). Stops background fill on retest or at 58-min mark.
• Background Fill: Activates on sweep, shades until retest, using user color.
• Cleanup & Performance: Manages labels in arrays, clears on new periods; no excess drawing beyond max counts (500 lines/labels/boxes).
This setup blends statistical backtesting with real-time visualization: hardcoded data provides empirical probabilities/excursions (reducing subjectivity in breakouts), while dynamic elements (lines, fills, boxes) overlay structure on the chart. It helps British Pound traders assess if a sweep is “high-edge” (e.g., >70% probability of reverting) or likely to run (low probability, high excursion), pairing historical context with current price action.
________________________________________
Settings and Customization
Inputs are grouped for ease:
1. Settings:
o Show RTH Only (9:00–15:59): Restricts to main session (default: false; tooltip: for RTH-focused stats).
o Show High Prob Only (>70%): Filters low-prob sweeps visually (default: false; tooltip: highlights confidence).
2. Visuals:
o Show Line Labels: Toggle “h.o.” / “phh” / “phl” (default: true).
o Period Open Line Color: Gray 50% (default).
o Previous High/Low Line Colors: Gray 100% (default).
o Open Line Style/Width: Dotted/1 (default; options: Solid/Dotted/Dashed).
3. Breakout→Open Background:
o Show Breakout→Open Background: Toggle fill (default: true).
o Fill Color: Teal 85% (default).
4. Breakout Circles:
o Show Breakout Circles: Toggle (default: true).
o PHH/PHL Break Circle Colors: White 20% (default).
5. Info Label Style:
o Text Size: Small (default; options: Auto/Tiny/Normal/Large/Huge).
o Label Text Color: White (default).
o Low/Mid/High Probability Colors: Red 20% / Orange 20% / Green 20% (default).
6. Excursion (Pain) Zone:
o Show Excursion Zone: Toggle Magic Box (default: true).
o Excursion Box Color: Gray 75% (default; dynamic overrides).
o 75th/90th/95th Percentile Lines: Orange 30% / Red 30% / Dark Red 100% (default).
No additional tables/plots; all elements are lines/labels/boxes for overlay focus.
________________________________________
Usage Tips
• Breakout Trading: Watch for sweeps with high probability (>70%, green label) as potential fades back to open; low probability (red) may signal runs—use the excursion box for targets (e.g., exit at 90th percentile for extremes).
• Time Awareness: Probabilities often peak in key liquidity windows and drop in quieter hours; segments capture momentum shifts (e.g., _2 often lower prob).
• RTH Focus: Enable for cleaner stats during high-liquidity session hours; disable for a 24-hour view.
• Visual Filtering: Use high-prob-only in volatile conditions to reduce noise; combine with volume or other confluence tools for confirmation.
• Alerts Integration: Set TradingView alerts on sweeps; check label for probability/N before acting.
• Chart Setup: Best on 1H or lower 6B1! charts; adjust text size for readability on smaller screens.
• Backtesting: Manually review historical sweeps against data maps to validate; update hardcoded values if new data emerges (as of 2025).
________________________________________
Limitations
• Fixed Data: Hardcoded stats may not reflect recent market changes (e.g., post-2025 regime shifts); not adaptive.
• Reactive Only: Detects sweeps after they occur; no predictive signals.
• Timeframe Specific: Locked to 1H logic; may not translate to other assets/timeframes without recoding data.
• Visual Clutter: On busy charts, labels/boxes may overlap—toggle selectively.
• No Live Stats: Sample sizes are historical; real-time N/prob not updated.
• Gaps & Extremes: Handles gaps in retest logic, but rare events (e.g., macro news) may exceed the 95th percentile.
________________________________________
Disclaimer
This indicator is for informational and educational purposes only. Trading involves significant risk of loss and is not suitable for all investors. The hardcoded data represents past British Pound futures (6B1!) performance and does not guarantee future outcomes. No claims of profitability are made—results depend on market conditions, user strategy, and risk management. Consult a financial advisor before trading, and backtest extensively. Abiding by TradingView rules, this tool provides no investment recommendations.






















