Multi-Timeframe Order BlocksDesigned to identify and visualize key supply and demand zones based on order block theory across multiple timeframes. The indicator detects order blocks by analyzing sequential candle patterns and price movement thresholds to highlight potential reversal or continuation zones where institutional buying or selling activity may have occurred.
The indicator works by scanning for clusters of consecutive bullish or bearish candles followed by a significant price move, which signals the formation of an order block. It then plots these zones as colored boxes on the chart—green for demand (bullish order blocks) and red for supply (bearish order blocks). The zones can be based on candle bodies or wicks, depending on user preference, and the indicator supports multi-timeframe analysis by allowing optional higher timeframe inputs.
How It Works:
Sequential Candle Detection: The indicator looks for a specified number of consecutive bullish or bearish candles (configurable by the user) to identify potential order blocks.
Price Movement Threshold: It checks if the price movement after the order block formation exceeds a user-defined percentage threshold, ensuring only significant zones are marked.
Zone Plotting: Once an order block is confirmed, the indicator draws a supply or demand zone as a box on the chart, using either candle bodies or wicks for zone boundaries.
Multi-Timeframe Support: Users can optionally specify higher timeframes to incorporate broader market context, enhancing the reliability of the zones.
Zone Management: The indicator limits the number of zones displayed to avoid clutter, automatically removing the oldest zones when the maximum count is exceeded.
How to Interpret:
Demand Zones (Green Boxes): These represent areas where buying pressure was strong enough to create a bullish order block. Price often finds support here, making these zones potential entry points for long trades or areas to watch for price bounces.
Supply Zones (Red Boxes): These indicate areas of strong selling pressure forming bearish order blocks. Price may face resistance in these zones, which can be used as potential exit points for longs or entry points for shorts.
Multi-Timeframe Confirmation: Zones identified on higher timeframes tend to be stronger and more reliable. Use the optional higher timeframe inputs to align your trades with broader market trends.
Use with Other Indicators: Combine order block zones with volume, momentum, or trend indicators to improve trade confirmation and risk management.
Zone Breaks: A decisive break and close beyond a supply or demand zone may signal a shift in market sentiment and potential trend continuation or reversal.
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Trading involves significant risk, and it is possible to lose more than your initial investment. Users should conduct their own research and consider their financial situation carefully before making any trading decisions. The developer and publisher of this indicator are not responsible for any trading losses or damages incurred. Always use proper risk management and consult with a licensed financial advisor if needed.
Ict
Custom Dividers [louis]Custom Dividers is a streamlined utility designed for Multi-Timeframe Analysis (MTF). It allows you to visualize higher timeframe structures directly on lower timeframe charts by drawing infinite vertical lines at the open of new periods.
Unlike standard grid lines and other divider indicators, this has custom inputs, giving you complete control over non-standard timeframes (e.g., 90-minute cycles, 6-hour blocks, or 2-day periods).
🔑 Key Features
- 4 Independent Timeframe Slots: Configure up to four different vertical dividers simultaneously.
- Custom Minute Inputs (TF 1 & TF 2): Instead of restricting you to a dropdown, the first two slots allow you to input any integer for minutes.
Example: Set 90 for 90-minute cycle dividers.
Example: Set 360 for 6-hour dividers.
- Standard Timeframe Selectors (TF 3 & TF 4): Traditional dropdowns for standard periods like Daily (D), Weekly (W), or Monthly (M).
- Visual Customization:
Lines: Uses line.new() drawing logic to ensure dividers stretch infinitely from top to bottom, regardless of price scale.
Styles: Select from Solid, Dashed, or Dotted directly in the inputs.
Width & Color: Fully customizable to blend into your chart theme.
⚙️ How to Configure
Go to the Settings (Inputs Tab):
TF 1 & TF 2: Enter the specific number of minutes (e.g., 60 = 1 Hour, 240 = 4 Hours). Toggle the checkbox to Show/Hide.
TF 3 & TF 4: Select the timeframe period from the dropdown. Toggle the checkbox to Show/Hide.
Style: Choose your line style, color, and width.
Note: Since this indicator uses geometric drawings (line.new) to achieve full-height vertical lines, all visual settings (Color, Width, Style) are located in the Inputs Tab, not the Style tab.
15 Zaman Kutusu ve 10 Zaman Acilisi15 Range Boxes & 10 Open Lines
This indicator is a comprehensive technical analysis tool designed to track specific time intervals (Sessions, Killzones) and critical opening prices on your chart.
Key Features:
15 Custom Range Boxes: Individual settings for color, time, and labels.
10 Open Price Lines: Track daily, weekly, or session opens.
Smart History Limit: "Son X Kutuyu Goster" feature preventing lag and flickering.
Pips Display: Automatically calculates and displays the range width in pips.
Minimalist Mode: Hides details when "Cok Kucuk" label size is selected.
Language: Fully Turkish menu settings.
Note: Inspired by Nephew Sam's concept, coded from scratch with performance optimizations and additional features.
DISCLAIMER This indicator is for educational purposes only. It does not constitute financial advice or trading signals. Use at your own risk.
PSP with Color ThemesEnglish Description
The PSP with Color Themes indicator is a sophisticated tool for detecting price swing divergences between the current trading instrument and a selected reference asset. This indicator implements PSP (Price Swing Divergence) logic to identify moments when price movements between two correlated assets diverge from their typical relationship. Traders can select from multiple professionally designed color themes or customize their own color scheme, with adjustable opacity for optimal chart visibility. The core functionality compares candlestick patterns between the current chart and the reference symbol, highlighting bullish signals when the current asset rises while the reference falls (or vice versa in inverse mode). This divergence detection helps identify potential momentum shifts and trading opportunities before they become apparent in single-asset analysis. The indicator offers flexible configuration including inverse correlation mode for negatively correlated pairs and a clean visual presentation that doesn't clutter the price chart while providing immediate visual cues through colored candlesticks.
Русское описание
Индикатор PSP с цветовыми темами представляет собой продвинутый инструмент для обнаружения дивергенций колебаний цены между текущим торговым инструментом и выбранным эталонным активом. Этот индикатор реализует логику PSP (Price Swing Divergence) для выявления моментов, когда движения цен между двумя коррелирующими активами отклоняются от их типичной взаимосвязи. Трейдеры могут выбирать из нескольких профессионально разработанных цветовых тем или настраивать собственную цветовую схему с регулируемой прозрачностью для оптимальной видимости на графике. Основная функция сравнивает свечные модели между текущим графиком и эталонным символом, выделяя бычьи сигналы, когда текущий актив растет, а эталонный падает (или наоборот в инверсном режиме). Это обнаружение дивергенций помогает выявить потенциальные сдвиги импульса и торговые возможности до того, как они станут очевидными при анализе одного актива. Индикатор предлагает гибкую настройку, включая режим обратной корреляции для отрицательно коррелированных пар, и чистое визуальное представление, которое не загромождает ценовой график, обеспечивая при этом мгновенные визуальные подсказки через окрашенные свечи.
Smart Money Structure FilterEnglish Description
Overview
Smart Money Structure Analyzer is a professional trading tool that implements Smart Money Concepts (SMC) to identify key market structure shifts, Break of Structure (BOS), and Change of Character (CHoCH) patterns. This indicator helps traders follow the "smart money" flow by detecting institutional order flow patterns on any timeframe.
Key Features
Swing Point Detection - Identifies significant highs and lows using fractal-based logic
Market Structure Analysis - Classifies market conditions as Uptrend, Downtrend, or Consolidation
Break of Structure (BOS) - Detects when price breaks key structural levels
Change of Character (CHoCH) - Identifies potential trend reversals
Mitigation Levels - Shows potential retracement targets after structure breaks
How It Works
The indicator analyzes price action through several layers:
Swing Detection Algorithm
Uses a configurable swing period (3-21 bars)
Identifies valid swing highs and lows that are confirmed by surrounding price action
Stores the last 20 swings for structure analysis
Structure Determination
Uptrend: Higher Highs (HH) + Higher Lows (HL)
Downtrend: Lower Lows (LL) + Lower Highs (LH)
Consolidation: Mixed structure or ranging market
Break of Structure (BOS) Logic
Bearish BOS: Price closes below the last confirmed Higher Low (HL)
Bullish BOS: Price closes above the last confirmed Lower High (LH)
Change of Character (CHoCH) Logic
Bearish CHoCH: After a bearish BOS, price forms a Lower Low (confirms trend reversal)
Bullish CHoCH: After a bullish BOS, price forms a Higher High (confirms trend reversal)
Mitigation Levels
Calculates potential retracement levels after BOS (typically ±0.2% from broken structure)
Visual Elements
Fractals: Swing points (optional display)
Structure Lines: Last Higher Low (blue) and Last Lower High (purple)
BOS Signals: Triangles marking structure breaks
CHoCH Signals: Circles confirming trend changes
Mitigation Levels: Dotted orange lines for potential retracements
Info Label: Real-time structure status and key levels
Alerts
The indicator provides alerts for:
Break of Structure (BOS) events
Change of Character (CHoCH) confirmations
Settings
Swing Period: Sensitivity of swing detection (default: 3)
Show Fractals: Toggle swing point markers
Show Structure Lines: Display key structure levels
Show Break of Structure: Display BOS signals
Show Change of Character: Display CHoCH signals
Show Mitigation Levels: Display retracement levels
Best Practices
Use on higher timeframes (1H+) for more reliable signals
Combine with volume analysis for confirmation
Wait for CHoCH confirmation before entering trades
Use mitigation levels as potential entry zones
Русское описание
Обзор
Smart Money Structure Analyzer - профессиональный торговый инструмент, реализующий концепции Smart Money (SMC) для определения ключевых сдвигов рыночной структуры, Break of Structure (BOS) и Change of Character (CHoCH). Индикатор помогает отслеживать поток "умных денег", выявляя паттерны институционального ордерного потока на любом таймфрейме.
Ключевые возможности
Определение свингов - Выявляет значимые максимумы и минимумы с помощью фрактальной логики
Анализ структуры рынка - Классифицирует состояние рынка: Восходящий тренд, Нисходящий тренд или Консолидация
Break of Structure (BOS) - Обнаружение пробития ключевых уровней структуры
Change of Character (CHoCH) - Определение потенциальных разворотов тренда
Уровни митигации - Показывает потенциальные цели отката после пробоя структуры
Принцип работы
Индикатор анализирует ценовое действие через несколько уровней:
Алгоритм определения свингов
Использует настраиваемый период свинга (3-21 свечи)
Определяет валидные максимумы и минимумы, подтвержденные окружающим движением цены
Сохраняет последние 20 свингов для анализа структуры
Определение структуры
Восходящий тренд: Higher Highs (HH) + Higher Lows (HL)
Нисходящий тренд: Lower Lows (LL) + Lower Highs (LH)
Консолидация: Смешанная структура или флет
Логика Break of Structure (BOS)
Медвежий BOS: Цена закрывается ниже последнего Higher Low (HL)
Бычий BOS: Цена закрывается выше последнего Lower High (LH)
Логика Change of Character (CHoCH)
Медвежий CHoCH: После медвежьего BOS формируется Lower Low (подтверждает разворот)
Бычий CHoCH: После бычьего BOS формируется Higher High (подтверждает разворот)
Уровни митигации
Расчет потенциальных уровней отката после BOS (обычно ±0.2% от сломанной структуры)
Визуальные элементы
Фракталы: Точки свингов (опционально)
Линии структуры: Последний Higher Low (синий) и последний Lower High (фиолетовый)
Сигналы BOS: Треугольники, отмечающие пробой структуры
Сигналы CHoCH: Круги, подтверждающие изменение тренда
Уровни митигации: Пунктирные оранжевые линии для потенциальных откатов
Инфо-метка: Статус структуры и ключевые уровни в реальном времени
Оповещения
Индикатор предоставляет алерты для:
Событий Break of Structure (BOS)
Подтверждений Change of Character (CHoCH)
Настройки
Период свинга: Чувствительность определения свингов (по умолчанию: 3)
Показывать фракталы: Включение/выключение маркеров свингов
Показывать линии структуры: Отображение ключевых уровней структуры
Показывать Break of Structure: Отображение сигналов BOS
Показывать Change of Character: Отображение сигналов CHoCH
Показывать уровни митигации: Отображение уровней отката
Рекомендации по использованию
Используйте на старших таймфреймах (1H+) для более надежных сигналов
Комбинируйте с анализом объема для подтверждения
Ждите подтверждения CHoCH перед входом в сделку
Используйте уровни митигации как потенциальные зоны входа
Технические особенности
Максимальное количество меток: 500
Работает на любых таймфреймах
Не перерисовывает прошлые сигналы
Эффективно использует ресурсы благодаря ограничению хранения свингов
Индикатор предназначен для трейдеров, работающих с Price Action и концепциями Smart Money, и помогает систематизировать анализ рыночной структуры в соответствии с подходами институциональных трейдеров.
SMC Precision Master# SMC Precision Master - Professional Smart Money Analysis
## Overview
SMC Precision Master combines Smart Money Concepts (SMC) methodology with institutional trading tools to create a multi-factor confluence system for discretionary trading. This indicator integrates Order Blocks, Fair Value Gaps, Premium/Discount zones, Market Structure, Ichimoku Cloud, Fibonacci retracements, and Previous Day levels into a unified analytical framework.
---
## Why This Combination? (Mashup Justification)
**The Problem with Single Indicators:**
- Order Blocks alone may trigger in Premium zones (low probability buy zones)
- Fair Value Gaps without supply/demand context lack directional bias
- Premium/Discount zones alone don't provide precise entry levels
- Market Structure can break repeatedly in ranging conditions
**The Solution - Multi-Factor Confluence:**
This mashup creates a **filtering system** where multiple independent factors must align before highlighting high-probability setups. Each component validates the others:
1. **Market Structure** (BOS/MSS/CHoCH) → Determines allowed trade direction
2. **Premium/Discount Zones** → Validates institutional buy/sell context
3. **Order Blocks + FVG** → Identifies precise entry zones with overlap
4. **Fibonacci OTE** → Targets the 61.8-78.6% optimal entry range
5. **Ichimoku Cloud** → Confirms higher timeframe trend alignment
6. **Previous Day Levels** → Adds ICT reference points for bias
**Result:** The indicator only shows high-confluence setups where 3-5 factors simultaneously confirm, significantly reducing false signals compared to using components separately.
---
## How It Works - Technical Methodology
### Order Block Detection (3-Criteria System)
**Criterion 1 - Pattern:**
- Bullish OB: Bearish candle (close < open) before upward impulse
- Bearish OB: Bullish candle (close > open) before downward impulse
**Criterion 2 - Impulse Validation:**
- Standard Mode: Impulse high > OB high (bullish) or low < OB low (bearish)
- Strict Mode: Impulse must fully engulf OB candle
**Criterion 3 - Volatility Filter:**
Displacement = |Impulse Close - OB extremity|
Minimum Required = ATR(14) × Multiplier (default 0.5)
Valid if: Displacement ≥ Minimum
**Mitigation:** OBs tracked until price reaches 50% midpoint (Close or Wick-based).
---
### Fair Value Gap Calculation
**Detection Logic:**
Bullish FVG:
Gap = Current Low - High
Valid if: Gap > ATR(14) × 0.3 AND no candle overlap
Bearish FVG:
Gap = Low - Current High
Valid if: Gap > ATR(14) × 0.3 AND no candle overlap
**Visualization:** 13 layered boxes per FVG to emphasize liquidity void depth.
**Mitigation:** FVG removed when price fully crosses the gap zone.
---
### Premium/Discount Zones
**Calculation:**
Range Source (configurable):
Daily: request.security("D", high/low)
Weekly: request.security("W", high/low)
Monthly: request.security("M", high/low)
Trailing: Updates on each BOS
5-Zone Fibonacci Mode:
Strong Premium: 78.6% - 100%
Premium: 61.8% - 78.6% (OTE zone)
Equilibrium: 38.2% - 61.8%
Discount: 23.6% - 38.2%
Strong Discount: 0% - 23.6%
**Purpose:** Institutional context - buy in Discount, sell in Premium.
---
### Market Structure (BOS/MSS/CHoCH)
**Logic:**
Swing Detection: ta.pivothigh/pivotlow with adjustable length (default 10)
BOS (Break of Structure):
Price breaks last swing high in uptrend = continuation
Price breaks last swing low in downtrend = continuation
MSS (Market Structure Shift):
BOS occurs opposite to current trend = reversal signal
CHoCH (Change of Character):
Price touches but doesn't break previous swing = early warning
---
### Ichimoku Cloud (Multi-Timeframe)
**Calculation:**
Tenkan = (9-high + 9-low) / 2
Kijun = (26-high + 26-low) / 2
Senkou A = (Tenkan + Kijun) / 2
Senkou B = (52-high + 52-low) / 2
MTF: request.security() for higher timeframe if specified
Cloud color: Green if Senkou A ≥ B, Red otherwise
**Filter:** Price above cloud = bullish, below = bearish, in cloud = neutral.
---
### Fibonacci Auto-Retracement
**Method:**
SwingHigh = ta.highest(high, 80)
SwingLow = ta.lowest(low, 80)
Range = SwingHigh - SwingLow
Levels: 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%
OTE Zone Box: 61.8% - 78.6% projected forward
---
### Previous Day Levels (ICT)
**Calculation:**
PDH = request.security("D", high, lookahead=on)
PDL = request.security("D", low, lookahead=on)
PDM = (PDH + PDL) / 2
Daily Bias:
Close > PDM = Bullish
Close < PDM = Bearish
Break PDH/PDL = Strong bias confirmation
---
## Dashboard - Real-Time Confluence Tracking
Displays current market state:
- **Trend:** Current structure (Bullish/Bearish/Neutral)
- **HTF Bias:** Higher timeframe direction
- **OB:** Active Order Block status
- **FVG:** Active Fair Value Gap status
- **OB+FVG:** Confluence confirmation (✓ = overlap)
- **P/D Zone:** Current Premium/Discount position
- **Fib OTE:** Inside 61.8-78.6% zone or not
- **Daily Bias:** ICT daily directional bias
- **RSI(14):** Oversold/Neutral/Overbought
- **Ichimoku:** Price position vs cloud
---
## How to Use
### Trading Workflow
**1. Market Context (Dashboard Check)**
- Identify trend direction (Trend + HTF Bias)
- Check Premium/Discount position
- Verify daily bias alignment
**2. Zone Identification**
- Locate active Order Blocks matching trend
- Check for FVG overlap (OB+FVG = ✓)
- Verify zone is in correct P/D area (LONG = Discount, SHORT = Premium)
**3. Entry Confirmation**
- Price enters identified OB zone
- Preferably within Fibonacci OTE zone
- Ichimoku cloud alignment (if enabled)
- Structure break in entry direction
**4. Risk Management**
- Stop: Outside OB zone + buffer
- Target: Opposite P/D zone or next OB
- Risk: 1-2% per trade maximum
---
## Settings Adjustment by Timeframe
**M1-M5 Scalping:**
- Swing Length: 5-7
- OB Filter: ATR 0.3x
- P/D Mode: Daily Range
**M15-H1 Day Trading:**
- Swing Length: 10 (default)
- OB Filter: ATR 0.5x (default)
- P/D Mode: Daily Range
**H4-D1 Swing Trading:**
- Swing Length: 15-20
- OB Filter: ATR 0.7-1.0x
- P/D Mode: Weekly/Monthly Range
---
## Key Features
✅ Anti-repaint: All signals confirmed on bar close
✅ Configurable filters: ATR/CMR for OB validation
✅ Multi-mode P/D: Daily/Weekly/Monthly/Trailing
✅ MTF Ichimoku: Use higher timeframe cloud on lower TF
✅ Complete alerts: BOS, OB formation, CHoCH
✅ Memory management: Auto-cleanup of old zones
---
## Important Notes
- This is an analytical tool, not a signal generator
- Requires understanding of SMC concepts
- Always use proper risk management
- Backtest before live trading
- No indicator guarantees profits
---
## Technical Specifications
- Pine Script™ v6
- Overlay: Yes
- Max Boxes: 500 | Max Lines: 150 | Max Labels: 150
- Repainting: No (barstate.isconfirmed)
---
© 2025-2026
[LJ] RSIM + ICT KillzonesIndicator Summary
This Pine Script indicator is a comprehensive, all-in-one toolkit designed for traders utilizing Inner Circle Trader (ICT) concepts. It visually maps out crucial time-based trading sessions, killzones, and key opening price levels directly on the chart. Alongside the time and price tools, it features a real-time "RSIM" (MTF RSI Monitor) dashboard to track market momentum across multiple timeframes, all while maintaining a lag-free chart through automated drawing cleanup.
Core Functionalities
ICT Killzones & Silver Bullets:
Visually demarcates specific high-probability trading windows—including the Asian, London, and New York (AM & PM) killzones, as well as the UK and US "Silver Bullet" times—using vertical lines and colored background highlights.
Key Opening Price Levels:
Automatically plots horizontal lines for significant opening prices, such as the New York Midnight Open (often used as true day open), CME Open, and NY AM/PM Opens. It also includes Higher Time Frame (HTF) levels for Weekly and Monthly opens.
Session High/Low Tracking:
Actively tracks and draws horizontal price levels for the High and Low of the current day, previous day, and individual Globex, Asian, London, and NY sessions.
Multi-Timeframe RSI Dashboard (RSIM):
An on-chart table that displays the current Relative Strength Index (RSI) values and a live countdown timer ("time to close") for the 5-minute, 15-minute, 1-hour, 4-hour, Daily, and Weekly timeframes.
Lunch "No-Trade-Zone":
Specifically highlights the New York Lunch period, visually warning traders of potential low-volume or erratic price action.
Automated Housekeeping:
A built-in memory management system that automatically deletes drawings (lines and labels) older than a user-defined number of days to prevent chart clutter and performance lag.
Built-in Debug Logger:
An optional on-chart logging table that tracks session triggers and script events, helping traders verify that times and levels are plotting correctly for their selected asset.
cephxs + fadi / HTF PSPHTF PSP - PRECISION SWING POINTS
Detect divergence-based Precision Swing Points (PSPs) across multiple higher timeframes with automatic correlated asset detection.
WHAT'S NEW (vs Original HTF Candles)
This indicator builds on @fadizeidan's excellent ICT HTF Candles foundation with significant new functionality, depending on who you ask of course:
✨ PSP Divergence Detection: Automatically identifies Precision Swing Points where price diverges from correlated assets—the original has no divergence analysis
✨ Auto Asset Correlation: Uses AssetCorrelationUtils library to detect and pair correlated assets (ES↔NQ↔DXY, BTC↔ETH, Gold↔Silver, etc.)—no manual setup required
✨ Multi-Asset Comparison: Tracks up to 3 correlated assets simultaneously with divergence relationships between all pairs
✨ Dynamic Asset Reordering: When you switch charts, the indicator automatically reorders assets so your chart is always primary
✨ Inverse Correlation Support: Properly handles inversely correlated assets like DXY (bullish DXY = bearish signal for risk assets)
✨ HTF Sweep Detection: New sweep line feature highlights when HTF candles take out previous highs/lows and close back inside. One of my followers asked me for this, there you go anon.
🔧 Streamlined to 3 HTFs: Focused design with 3 HTF slots (vs 6) for cleaner charts and better performance
The original remains excellent for pure HTF candle visualization. This version adds institutional flow analysis through divergence detection.
WHAT IT DOES
This indicator displays Higher Timeframe (HTF) candles to the right of your chart and highlights Precision Swing Points—pivots where price diverges from correlated assets. When ES makes a new high but NQ doesn't follow, or gold pushes higher while DXY fails to confirm, you're looking at institutional repositioning.
PSPs mark these moments on your HTF candles, giving you a clean visual signal for potential reversals.
HOW IT WORKS
Divergence Detection
The indicator compares price action between your chart and up to two correlated assets. A divergence occurs when one asset makes a directional move (bullish/bearish candle) while a correlated asset moves the opposite direction.
Three divergence relationships are tracked:
Primary vs Secondary (e.g., ES vs NQ)
Primary vs Tertiary (e.g., ES vs DXY)
Secondary vs Tertiary (e.g., NQ vs DXY)
PSP Confirmation
A candle is marked as a PSP when:
A divergence exists between correlated assets
A swing pivot forms (high > previous high AND high > next high, or vice versa for lows)
This dual confirmation filters noise and highlights only meaningful institutional activity.
Automatic Asset Detection
In Auto mode, the indicator uses the AssetCorrelationUtils library to detect your chart's asset class and automatically select the most relevant correlated pairs:
Indices: ES ↔ NQ ↔ DXY, YM ↔ ES ↔ NQ
Forex: EURUSD ↔ DXY ↔ GBPUSD, USDJPY ↔ DXY ↔ US10Y
Crypto: BTC ↔ ETH ↔ DXY
Metals: Gold ↔ Silver ↔ DXY
Energy: CL (Oil) ↔ NG ↔ DXY
HTF Sweep Detection
Sweeps are detected when an HTF candle (C2) takes out the high or low of the previous candle (C1) and then closes back inside. This marks liquidity grabs on the higher timeframe.
HOW TO USE
Enable HTF timeframes: Select 1-3 higher timeframes relevant to your trading style (e.g., 30m, 90m, 4H for intraday traders)
Watch for PSP candles: When a candle body color changes to the divergence color, a PSP has formed
Note the direction: Bullish divergence (your asset bullish while correlated asset bearish) suggests upside; bearish divergence suggests downside
Combine with LTF structure: Use PSPs as bias, then look for entry on lower timeframes (CHoCH, FVG, etc.)
Sweeps confirm liquidity: A sweep followed by a PSP is a strong reversal signal
INPUTS
HTF Selection
HTF 1/2/3: Enable/disable each HTF slot with timeframe and candle count
Custom Daily Open: Use Midnight, 8:30, or 9:30 ET as daily candle open
Styling
Body/Border/Wick Colors: Customize bullish and bearish candle appearance
Padding/Buffer/HTF Buffer: Control spacing between candles and timeframe groups
Labels
HTF Label: Show timeframe name above/below candles
Remaining Time: Countdown to candle close
Label Position: Top, Bottom, or Both
Label Alignment: Align across timeframes or follow individual candles
Interval Value: Show interval details on candles
Imbalance
Fair Value Gap: Highlight FVGs on HTF candles
Volume Imbalance: Highlight VIs on HTF candles
HTF Sweeps: Show sweep lines when C2 takes out C1's high/low
Trace
Trace Lines: Draw lines from HTF candle OHLC levels back to chart price
Anchor: Anchor to first or last timeframe
PSP Divergence Detection
Precise Mode: Only highlight pivots on current asset (stricter confirmation)
Divergence Body Colors: Custom colors for bullish/bearish divergence candles
Asset Selection
Correlation Preset: Auto (library-detected) or Manual
Manual Assets 1/2/3: Specify custom correlated assets
Invert Asset 3: Flip the bullish/bearish interpretation for inverse correlations (e.g., DXY)
KEY FEATURES
Multi-HTF Display: Up to 3 higher timeframes displayed simultaneously
Auto Asset Detection: Automatically finds relevant correlated assets for your chart
Dynamic Reordering: When you switch charts, assets reorder so the chart is always primary
Inverse Correlation Support: Properly handles DXY and other inversely correlated assets
HTF Sweep Detection: Highlights liquidity grabs on higher timeframes
FVG/VI Detection: Fair Value Gaps and Volume Imbalances on HTF candles
Remaining Time Counter: Know exactly when the next HTF candle closes
BEST PRACTICES
Use PSPs as directional bias, not direct entries—wait for LTF confirmation
A PSP at a key level (previous day high, weekly open) carries more weight
Multiple PSPs across different HTFs pointing the same direction = stronger signal
Sweeps that fail to hold (sweep + PSP) often mark significant reversals
In Auto mode, trust the library's asset selection—it's been tuned for common correlations
DISCLAIMER
This indicator is for educational purposes only and does not constitute financial advice. Divergences and PSPs do not guarantee reversals—always use proper risk management and confirm signals with your own analysis. Past performance does not guarantee future results.
CREDITS
Original HTF candle plotting concept by @fadizeidan. PSP divergence detection and asset correlation logic by cephxs & fstarcapital. Uses the AssetCorrelationUtils library by fstarcapital.
Open Sourced For all.
Enjoy.
Made with ❤️ by cephxs + fadi
cephxs + fadi / Previous Time Based Dealing RangesPREVIOUS TIME BASED DEALING RANGES
Visualize previous and current higher timeframe dealing ranges with dual-box OHLC representation, extending reference lines, and HTF candle displays.
Open Source Fork of @fadizeidan 's HTF Candles Indicator
OVERVIEW
This indicator displays time-based dealing ranges from higher timeframes directly on your chart. It shows the complete price action structure of previous (or current/forming) periods using a dual-box system: one box for the full High-Low range and another for the Open-Close body. Reference lines extend from key levels to help identify potential support, resistance, and mean reversion zones.
Perfect for traders who use ICT concepts, market structure analysis, or any methodology that relies on understanding where price has been relative to previous dealing ranges.
KEY FEATURES
Dual-Box Range Visualization: Each range displays two boxes - the full H-L range (outer) and the O-C body (inner) - giving immediate visual context of candle structure
Multiple Timeframes: Support for 90m, 4H, 6H, 1D, 1W, 1M, and 3M ranges
Previous/Current Mode: View completed ranges (Previous) or the forming range (Current) with real-time updates
Auto Mode: Automatically selects the appropriate range based on your chart timeframe
Reference Lines: Extending lines from High, Mid, Low (or Quadrants: H/75/M/25/L) with trade-into detection
HTF Candle Display: Visual HTF candles positioned to the right of price for context
6H Session Support: Session-aware ranges for Asia, London, NY AM, and NY PM with labeled names
Open Line: Vertical line marking the range's opening price/time
Imbalance Detection: Fair Value Gaps and Volume Imbalances highlighted on HTF candles
MODE OPTIONS
Previous/Current: Previous shows the last completed range. Current shows the forming range with dynamic H/L/C updates
Auto/Manual: Auto selects range by chart TF. Manual lets you choose specific ranges
Extend Box (Current): In Current mode, extends the box's right edge as price develops
AUTO MODE TIMEFRAME LOGIC
Auto mode now selects up to 3 ranges automatically based on chart timeframe, providing multi-timeframe context:
Chart ≤ 3m → 90m + 6H + 1D
Chart 4m-14m → 6H + 1D + 1W
Chart 15m-59m → 1D + 1W (+ 1M available)
Chart 1H-3H → 1D + 1W + 1M
Chart 4H-23H → 1W + 1M + 3M
Chart ≥ 1D → 1M + 3M
INPUTS
Mode
Mode: Previous/Current - Choose completed or forming range
Auto/Manual: Auto selects range by chart TF, Manual lets you choose
Extend Box (Current): Extends box right edge with price (Current mode only)
Show Range Boxes: Toggle box visibility (lines remain visible when off)
Filter Lines by Distance: When boxes are hidden, hide reference lines that are too far from current price (Really Close / Balanced / Slightly Far)
Previous Ranges
Range 1: Enable/disable, select timeframe (90m/4H/6H/1D/1W/1M/3M), max display count (1-2)
Range 2: Second range layer for multi-timeframe analysis
Range 3: Third range layer for additional context
Reference Lines
Line Mode: Levels (H/M/L) or Quadrants (H/75/M/25/L)
Line Style: Solid, dashed, or dotted
Line Thickness: 1-4 pixels
Show Labels: Toggle reference line labels
Label Offset: Distance of labels from current price (1-20 bars)
HTF Candle Levels: Show mini H/M/L lines on HTF candles
Open Line: Vertical line at range open with customizable style
Range Boxes & Colors
Per-Range Colors: Customize box and line colors for each timeframe (90m, 4H, 6H, 1D, 1W, 1M, 3M)
HTF Candle Styling
Show HTF Candles: Toggle HTF candle display
Body/Border/Wick Colors: Customize bull and bear candle appearance
Padding/Buffer/Width: Control candle spacing and size
Labels
HTF Label: Show timeframe label above/below candles
Remaining Time: Countdown timer to candle close
Label Position: Top, Bottom, or Both
Label Alignment: Align across timeframes or follow individual candles
Imbalance
Fair Value Gap: Highlight FVGs on HTF candles
Volume Imbalance: Highlight VIs on HTF candles
HOW TO USE
Add the indicator to your chart
Choose Previous or Current mode based on your analysis preference
Use Auto mode for intelligent range selection, or Manual to select specific timeframes
Reference lines extend from range levels - watch for price reactions at H/M/L
In Current mode, observe how the range develops with real-time updates
Use the HTF candles on the right for quick multi-timeframe context
REFERENCE LINE LABELS
Labels follow this format:
Previous mode: pD-H (previous Daily High), pW-M (previous Weekly Mid), p6H-London-L (previous 6H London Low)
Current mode: D-H (Daily High), W-M (Weekly Mid), 6H-Asia-L (6H Asia Low)
6H SESSION NAMES
Asia: 18:00-00:00 ET
London: 00:00-06:00 ET
NYAM: 06:00-12:00 ET
NYPM: 12:00-18:00 ET
RECOMMENDED TIMEFRAMES
Tick/Second charts: 90m ranges
1-5 minute charts: 6H or 1D ranges
15-60 minute charts: 1D or 1W ranges
4H charts: 1W or 1M ranges
Daily charts: 1M or 3M ranges
Or simply use Auto mode to let the indicator choose the optimal range.
TIPS
The Mid (M) level often acts as equilibrium - watch for mean reversion plays
High and Low levels are natural support/resistance zones
In Current mode, watch how price interacts with the forming range boundaries
Combine with your existing analysis for confluence
The Open Line helps identify the "true open" of each range for gap analysis
DISCLAIMER
This indicator is for educational and informational purposes only.
Past performance does not guarantee future results.
Always use proper risk management and never risk more than you can afford to lose.
Trading involves substantial risk of loss and is not suitable for all investors.
CREDITS
Original indicator by @fadizeidan.
Enhanced by cephxs/fstarcapital
CHANGELOG
Pro + v1.1: Reupload + Added 90m ranges for ultra-low timeframe analysis, distance-based line filtering (lines-only mode), third range slot.
Open sourced so users can add more slots.
Enjoy 🤙
cephxs / New X Opening Gaps [Pro +]NWOG & NDOG - OPENING GAPS
Smart Gap Detection with Intelligent Filtering
Visualizes New Week Opening Gaps (NWOGs) and New Day Opening Gaps (NDOGs) with built-in intelligence to show you only what matters. No more cluttered charts with gaps from 3 months ago that price will never revisit.
THE PROBLEM WITH GAP INDICATORS
Most gap indicators dump every single gap on your chart and call it a day. You end up with 50 boxes cluttering your screen, half of which are miles away from current price and the other half are so tiny they're basically noise.
This one's different and I explain why below.
SMART FILTERING (THE GOOD STUFF)
Two filters work together to keep your chart clean:
Size Filter: Uses ATR-based detection to filter out insignificant gaps, dynamic with less volatile time periods
- Filter None: Show everything (if you really want chaos)
- Filter Insignificant: Hide the micro-gaps that don't matter
- Juicy Gaps Only: Only show gaps worth paying attention to
Distance Filter: Only displays gaps within range of current price
- Really Close: 0.5 ATR - tight focus on immediate levels
- Balanced: 1 ATR - sweet spot for most traders
- Slightly Far: 3 ATR - wider view for swing traders
Cleanup Interval: Controls how quickly out-of-range gaps disappear
- Immediately: Gaps hide/show every bar as price moves
- 5 / 15 / 30 Minutes: Gaps only update visibility at interval boundaries - reduces visual noise during choppy price action
The magic: gaps appear and disappear as price moves toward or away from them. Old gaps that price has left behind fade out, and gaps that become relevant fade back in. Use delayed cleanup intervals if you want gaps to "stick around" a bit longer before disappearing.
GAP TYPES EXPLAINED
New Week Opening Gaps (NWOGs):
The gap between Friday's close and Monday's open. These form over the weekend when markets are closed and often act as significant support/resistance.
Two classifications:
Void Gaps: Gap direction aligns with Friday's candle direction (continuation)
Overlap Gaps: Gap direction conflicts with Friday's candle (potential reversal)
New Day Opening Gaps (NDOGs):
The gap between one day's close and the next day's open. Smaller but frequent - useful for intraday traders looking for fill targets.
FEATURES
Automatic Week/Day Detection: Handles forex (17:00 ET open) and futures (18:00 ET open) correctly
DST-Aware: Uses New York timezone with automatic daylight saving adjustments
50% Equilibrium Line: Marks the midpoint of each gap - key level for entries
Days Ago Labels: Shows how old each gap is at a glance
Extension Modes: Choose between live-extending boxes or fixed-width boxes
Separate Color Schemes: Different colors for void vs overlap NWOGs, bullish vs bearish NDOGs
INPUTS
NWOG Display
Show NWOGs: Master toggle
Extension Mode: "Extend Live" or "Extend to Week Close"
Maximum NWOGs: Limit displayed gaps (1-50)
Show Void/Overlap Gaps: Toggle each type independently
Show NWOG Labels: Toggle gap labels
NDOG Display
Show NDOGs: Master toggle
Extension Mode: "Extend Live" or "Extend to Day Close"
Maximum NDOGs: Limit displayed gaps (1-50)
Show NDOG Labels: Toggle gap labels
Filter Settings
Size Filter: Filter None / Filter Insignificant / Juicy Gaps Only
Only Show Near Price: Enable/disable distance filtering
Distance Filter: Really Close / Balanced / Slightly Far
Cleanup Interval: Immediately / 5 Minutes / 15 Minutes / 30 Minutes - controls how often gaps update visibility
ATR Period: Period for ATR calculation (default: 14)
Right Edge Offset: How many bars ahead boxes extend
Styling
Box Transparency: Fill and border opacity
Midline Style: Solid / Dotted / Dashed
Label Style: Simple ("NWOG, 5d ago") or Descriptive ("NWOG (Void Bull), 5d ago")
Label Size: Tiny / Small / Normal / Large
RECOMMENDED SETTINGS
For intraday (1m-15m):
Size Filter: Filter Insignificant
Distance Filter: Really Close or Balanced
Show NDOGs: On
Maximum NDOGs: 5-10
For swing trading (1H-4H):
Size Filter: Juicy Gaps Only
Distance Filter: Balanced or Slightly Far
Show NWOGs: On
Maximum NWOGs: 10-20
TIMEFRAME NOTES
Works on daily timeframe and below. Above daily, the indicator disables itself since NWOG/NDOG gap detection requires daily open/close data.
ASSET SUPPORT
Automatically handles different market open times:
Forex: Week opens Sunday 17:00 ET, closes Friday 17:00 ET
Futures: Week opens Sunday 18:00 ET, closes Friday 16:15 ET
Stocks/Other: Uses session-based detection
FAQ
Why do gaps appear and disappear?
That's the distance filter working. As price moves, gaps that were far away become relevant and appear. Gaps that price leaves behind disappear. This keeps your chart focused on actionable levels.
What's the difference between void and overlap gaps?
Void gaps continue Friday's direction (trend continuation). Overlap gaps conflict with Friday's direction (potential reversal setup). Different traders prefer different types.
Why can't I see any gaps?
Check your filter settings. "Juicy Gaps Only" with "Really Close" distance filter is very selective. Try "Filter Insignificant" with "Balanced" for more gaps.
DISCLAIMER
This indicator is for educational purposes only. Opening gaps are one tool among many - they don't guarantee fills or reversals. Always use proper risk management and never trade based on a single indicator. Past gap fills don't guarantee future performance. Do your own analysis.
CHANGELOG
Pro +: Added smart size/distance filtering, void/overlap classification, NDOG support, DST-aware timezone handling
Base: Initial NWOG visualization
Made with ❤️ by fstarlabs
Key levels by Chav3zNY-Time Anchored Sessions
Visualizes the Asia, London, and New York sessions using customizable boxes or high/low lines. Unlike standard session indicators, this tool uses the America/New York time zone to ensure your session start and end times remain accurate throughout Daylight Savings changes.
2. Dynamic HTF Key Levels (PDH/PDL, PWH/PWL, PMH/PML)
Automatically plots the Previous Daily, Weekly, and Monthly Highs and Lows.
Clean Intraday Origin: To prevent "chart clutter," these lines do not drag across the entire historical data. They originate at the start of the current day (NY Midnight), providing a clean horizontal reference for the current trading session.
Lookback Control: Choose how many days of historical key levels you want to remain visible on your chart.
3. Custom Time-Anchored Levels
Includes two fully customizable "Price Anchors" (e.g., Midnight Open, 09:30 AM NY Open).
Origin Point Precision: Lines start exactly at the candle of the specified time (e.g., 09:30) and extend forward, rather than drawing through the pre-market.
Price Capture: Choose to anchor to the Open, High, or Low of that specific timestamp.
4. Full Aesthetic Customization
Every level (Daily, Weekly, Monthly, and Custom) can be individually styled:
Color & Visibility: Set each level to your preferred color (Defaulted to Black for a clean look).
Line Style: Toggle between Solid, Dashed, or Dotted lines.
Thickness: Adjust the line width (1px, 2px, etc.) for better visibility on high-resolution screens.
How to Use
Midnight Open: Set Level 1 to 0000 to track the Daily Open, a crucial level for determining daily bias.
NY Open: Set Level 2 to 0930 to mark the "Opening Range" anchor for the New York session.
Liquidity Targets: Use the PDH/PDL and PWH/PWL levels to identify draw-on-liquidity areas for intraday scalp or swing setups.
AssetCorrelationUtils
- Open source Library Used for Indicators that utilize correlation between assets for divergence calculations. It has no drawing elements.
ASSET CORRELATION UTILS
PineScript library for automatic detection of correlated asset pairs and triads for multi-asset analysis.
WHAT IT DOES
This library automatically identifies correlated assets based on the current chart symbol. It returns properly configured asset pairings for use in SMT divergence detection, inter-market analysis, and multi-asset comparison tools.
HOW IT WORKS
The library matches your chart symbol against known correlation groups:
Index Futures: NQ/ES/YM/RTY triads (including micros)
Metals: Gold/Silver/Copper triads (futures and CFD)
Forex: EUR/GBP/DXY and USD/JPY/CHF triads
Energy: Crude/Gasoline/Heating Oil triads
Treasury: ZB/ZF/ZN bond triads
Crypto: BTC/ETH/TOTAL3 and major altcoin pairings
Inversion flags are automatically computed for assets that move inversely (e.g., DXY vs EUR pairs).
HOW TO USE
import fstarcapital/AssetCorrelationUtils/1 as acu
// Simple: auto-detect from current chart
config = acu.resolveCurrentChart()
// Access resolved assets
primary = config.primary
secondary = config.secondary
tertiary = config.tertiary
EXPORTED FUNCTIONS
resolveCurrentChart(): One-call auto-detection using chart syminfo
resolveAssets(): Full detection with custom parameters
resolveTriad() / resolveDyad(): Manual resolution with inversion logic
detect*() functions: Category-specific detectors for custom workflows
TYPES
AssetPairing: Core structure for primary/secondary/tertiary tickers with inversion flags
AssetConfig: Full resolution result with detection status and asset category
DISCLAIMER
This library is a utility for building multi-asset indicators. Asset correlations are not guaranteed and may change over time. Always validate pairings for your specific trading context.
Full Default Function @type and @field descriptions below.
Library "AssetCorrelationUtils"
detectIndicesFutures(ticker)
Detects Index Futures (NQ/ES/YM/RTY + micro variants)
Parameters:
ticker (string) : The ticker string to check (typically syminfo.ticker)
Returns: AssetPairing with secondary and tertiary assets configured
detectMetalsFutures(ticker)
Detects Metal Futures (GC/SI/HG + micro variants)
Parameters:
ticker (string) : The ticker string to check
Returns: AssetPairing with secondary and tertiary assets configured
detectForexFutures(ticker)
Detects Forex Futures (6E/6B + micro variants)
Parameters:
ticker (string) : The ticker string to check
Returns: AssetPairing with secondary and tertiary assets configured
detectEnergyFutures(ticker)
Detects Energy Futures (CL/RB/HO + micro variants)
Parameters:
ticker (string) : The ticker string to check
Returns: AssetPairing with secondary and tertiary assets configured
detectTreasuryFutures(ticker)
Detects Treasury Futures (ZB/ZF/ZN)
Parameters:
ticker (string) : The ticker string to check
Returns: AssetPairing with secondary and tertiary assets configured
detectCryptoFutures(ticker)
Detects CME Crypto Futures (BTC/ETH + micro variants)
Parameters:
ticker (string) : The ticker string to check
Returns: AssetPairing with secondary and tertiary assets configured
detectCADFutures(ticker)
Detects CAD Forex Futures (6C + micro variants)
Parameters:
ticker (string) : The ticker string to check
Returns: AssetPairing with secondary and tertiary assets configured
detectForexCFD(ticker, tickerId)
Detects Forex CFD pairs (EUR/GBP/DXY, USD/JPY/CHF triads)
Parameters:
ticker (string) : The ticker string to check
tickerId (string) : The full ticker ID (syminfo.tickerid) for primary asset
Returns: AssetPairing with secondary and tertiary assets configured
detectCrypto(ticker, tickerId)
Detects major Crypto assets (BTC, ETH, SOL, XRP, alts)
Parameters:
ticker (string) : The ticker string to check
tickerId (string) : The full ticker ID for primary asset
Returns: AssetPairing with secondary and tertiary assets configured
detectMetalsCFD(ticker, tickerId)
Detects Metals CFD (XAU/XAG/Copper)
Parameters:
ticker (string) : The ticker string to check
tickerId (string) : The full ticker ID for primary asset
Returns: AssetPairing with secondary and tertiary assets configured
detectIndicesCFD(ticker, tickerId)
Detects Indices CFD (NAS100/SP500/DJ30)
Parameters:
ticker (string) : The ticker string to check
tickerId (string) : The full ticker ID for primary asset
Returns: AssetPairing with secondary and tertiary assets configured
detectEUStocks(ticker, tickerId)
Detects EU Stock Indices (GER40/EU50) - Dyad only
Parameters:
ticker (string) : The ticker string to check
tickerId (string) : The full ticker ID for primary asset
Returns: AssetPairing with secondary asset configured (tertiary empty for dyad)
getDefaultFallback(tickerId)
Returns default fallback assets (chart ticker only, no correlation)
Parameters:
tickerId (string) : The full ticker ID for primary asset
Returns: AssetPairing with chart ticker as primary, empty secondary/tertiary (no correlation)
applySessionModifierWithBackadjust(tickerStr, sessionType)
Applies futures session modifier to ticker WITH back adjustment
Parameters:
tickerStr (string) : The ticker to modify
sessionType (string) : The session type (syminfo.session)
Returns: Modified ticker string with session and backadjustment.on applied
applySessionModifierNoBackadjust(tickerStr, sessionType)
Applies futures session modifier to ticker WITHOUT back adjustment
Parameters:
tickerStr (string) : The ticker to modify
sessionType (string) : The session type (syminfo.session)
Returns: Modified ticker string with session and backadjustment.off applied
isTriadMode(pairing)
Checks if a pairing represents a valid triad (3 assets)
Parameters:
pairing (AssetPairing) : The AssetPairing to check
Returns: True if tertiary is non-empty (triad mode), false for dyad
getAssetTicker(tickerId)
Extracts clean ticker string from full ticker ID
Parameters:
tickerId (string) : The full ticker ID (e.g., "BITGET:BTCUSDT.P")
Returns: Clean ticker string (e.g., "BTCUSDT.P")
resolveTriad(chartTickerId, pairing)
Resolves triad asset assignments with proper inversion flags
Parameters:
chartTickerId (string) : The current chart's ticker ID (syminfo.tickerid)
pairing (AssetPairing) : The detected AssetPairing
Returns: Tuple
resolveDyad(chartTickerId, pairing)
Resolves dyad asset assignment with proper inversion flag
Parameters:
chartTickerId (string) : The current chart's ticker ID
pairing (AssetPairing) : The detected AssetPairing (dyad: tertiary is empty)
Returns: Tuple
resolveAssets(ticker, tickerId, assetType, sessionType, useBackadjust)
Main auto-detection entry point. Detects asset category and returns fully resolved config.
Parameters:
ticker (string) : The ticker string to check (typically syminfo.ticker)
tickerId (string) : The full ticker ID (typically syminfo.tickerid)
assetType (string) : The asset type (typically syminfo.type)
sessionType (string) : The session type for futures (typically syminfo.session)
useBackadjust (bool) : Whether to apply back adjustment for futures session alignment
Returns: AssetConfig with fully resolved assets, inversion flags, and detection status
resolveCurrentChart()
Simplified auto-detection using current chart's syminfo values
Returns: AssetConfig with fully resolved assets, inversion flags, and detection status
AssetPairing
Core asset pairing structure for triad/dyad configurations
Fields:
primary (series string) : The primary (chart) asset ticker ID
secondary (series string) : The secondary correlated asset ticker ID
tertiary (series string) : The tertiary correlated asset ticker ID (empty for dyad)
invertSecondary (series bool) : Whether secondary asset should be inverted for divergence calc
invertTertiary (series bool) : Whether tertiary asset should be inverted for divergence calc
AssetConfig
Full asset resolution result with mode detection and computed values
Fields:
detected (series bool) : Whether auto-detection succeeded
isTriadMode (series bool) : True if triad (3 assets), false if dyad (2 assets)
primary (series string) : The resolved primary asset ticker ID
secondary (series string) : The resolved secondary asset ticker ID
tertiary (series string) : The resolved tertiary asset ticker ID (empty for dyad)
invertSecondary (series bool) : Computed inversion flag for secondary asset
invertTertiary (series bool) : Computed inversion flag for tertiary asset
assetCategory (series string) : String describing the detected asset category
PSP with Color ThemesPSP (Price State Parity) Indicator
This indicator identifies Price State Parity between the current trading instrument and a reference asset. It visually highlights candles where price movements show significant correlation patterns.
Key Features:
Dual Mode Operation:
Divergence Mode (Default): Highlights candles where current and reference assets move in opposite directions
Convergence Mode (Inverse): Highlights candles where both assets move in the same direction
Customizable Visualization:
Separate color selection for bullish and bearish PSP candles
Adjustable transparency for optimal chart visibility
Non-PSP candles remain unchanged for clear price action reading
Flexible Reference Asset:
Compare against any TradingView symbol (crypto, forex, stocks, indices)
Default: ETH/USDT for crypto correlation analysis
Use Cases:
Crypto Correlation Trading: Spot divergence/convergence between crypto pairs
Inter-Market Analysis: Compare stocks with sector ETFs or indices
Forex Pairs Correlation: Analyze currency pair relationships
Hedging Opportunities: Identify when correlated assets decouple
How to Use:
Select your reference symbol in settings
Choose between Divergence or Convergence mode
Customize colors to match your trading style
Watch for highlighted candles indicating PSP signals
Indicator Logic:
Bullish PSP: Current candle bullish + Reference candle bearish (or same in inverse mode)
Bearish PSP: Current candle bearish + Reference candle bullish (or same in inverse mode)
AI-Enhanced MSS HunterAI-Enhanced MSS Hunter
This indicator is a hybrid trading system that merges Mechanical Price Action (ICT Concepts) with Statistical Machine Learning (K-Nearest Neighbors). It is designed to assist traders in identifying high-probability reversals after liquidity sweeps, as well as trend-continuation entries during specific "Kill Zone" sessions.
How It Works
The script operates on a strict 3-step validation process to filter out false signals during choppy market conditions.
1. Liquidity Sweep (The Trigger) The system automatically plots the Previous Day High (PDH) and Previous Day Low (PDL).
The logic begins only when price "sweeps" (breaks) one of these key levels.
State Persistence: Once a level is swept, the system remembers this event for the remainder of the session (or until a signal fires), waiting for the market to reverse.
2. Market Structure Shift (The Setup) After a sweep, the indicator hunts for a Market Structure Shift (MSS).
It tracks dynamic Swing Highs and Swing Lows.
A signal is prepared only if price breaks a recent structural swing point in the opposite direction of the sweep (e.g., Sweep PDL -> Break Swing High).
3. AI / Machine Learning Filter (The Confirmation) To reduce false positives, the signal must be confirmed by a K-Nearest Neighbors (KNN) algorithm.
The Logic: The script analyzes the current values of RSI (14), CCI (14), and ROC (10).
The Comparison: It looks back at the last ~1,000 bars of history to find similar market conditions (neighbors).
The Prediction: If the majority of those historical "neighbors" resulted in a favorable move, the AI confirms the trade. If historical data suggests chop or reversal, the signal is blocked.
Key Features
🎯 Primary Reversal Signals (Circles)
Green Circle: Price swept PDL + Bullish MSS + AI Confirmation.
Red Circle: Price swept PDH + Bearish MSS + AI Confirmation.
♻️ Golden Zone Re-Entries (Triangles) Once a Primary Signal is active, the script tracks the new trend leg.
It automatically draws a dynamic Golden Zone (0.5 – 0.618 Fibonacci Retracement).
If price pulls back into this zone and forms a new MSS, a Re-Entry Triangle is plotted.
Invalidation: If the pullback breaks the original setup's low/high, the zone is removed to prevent bad trades.
⏰ Kill Zone Time Filters Signals are filtered by time to ensure you are trading during high-volume sessions.
Default AM Session: 08:30 – 10:00 (New York Time)
Default PM Session: 14:00 – 15:00 (New York Time)
Fully customizable in settings.
Settings Guide
Key Levels: Toggle PDH/PDL lines and customize colors.
Kill Zones: Enable/Disable time filtering and highlight background colors.
AI Settings:
K-Nearest Neighbors (k): Number of historical neighbors to compare (Default: 5).
Training Window: How far back the AI looks for patterns (Default: 1000 bars).
Visuals: Turn on/off the Golden Zone fib clouds or text labels.
Disclaimer
This tool is for educational purposes only. The "AI" component is a statistical classification algorithm based on historical momentum and does not guarantee future results. Always manage risk and use this indicator as part of a comprehensive trading plan.
Breaker Blocks Signals [AlgoAlpha]🟠 OVERVIEW
This script automates the detection of Breaker Blocks, a popular smart money concept used to identify high-probability reversal zones. It monitors price action for aggressive impulses—measured through a normalized Z-Score—to identify Orderblocks. When these blocks are "broken" or invalidated by price moving through them, they transform into Breaker Blocks. These zones act as "flipped" support or resistance, offering traders specific areas to look for retests and trend continuations. By handling the complex management of zone life-cycles and mitigation, this script provides a clean, real-time map of institutional supply and demand shifts.
🟠 CONCEPTS
The indicator relies on the relationship between price momentum and structural invalidation. It first identifies "impulsive" candles by calculating a Z-Score of price distance covered over a specific window. A Z-Score above 4 marks an "Algorithmically Significant" move. When such a move occurs, the script identifies the last opposite-colored candle (the Orderblock) and draws a gray zone. The transformation happens when price closes entirely through one of these gray zones. This "mitigation" is what triggers the creation of a Breaker Block: an old bearish supply zone becomes a bullish demand zone, and vice versa. This transition reflects a shift in market regime where previous trapped participants are forced to exit, often leading to price rejections at these newly formed levels.
🟠 FEATURES
Automated Breaker Transformation : Instantly flips mitigated Orderblocks into colored Breaker Blocks (Bullish/Bearish).
Rejection Markers : Small arrow icons appear when price enters a Breaker Block and shows signs of respect/reversal.
Comprehensive Alerts : Notifications for both the formation of new breakers and real-time price rejections.
🟠 USAGE
Setup : Add the script to your chart. It is effective on most timeframes, but many traders prefer the 15m or 1h for intraday structure. Use the "Z-Score Window" to adjust sensitivity; 100 is standard, but lower values (e.g., 50) will find more frequent, smaller impulses.
Read the chart : Gray boxes are "Pending" blocks. If price closes above a gray bearish box, it turns into a Bullish Breaker (Green). If price closes below a gray bullish box, it turns into a Bearish Breaker (Red). Look for price to return to these colored zones; the "▲" and "▼" symbols indicate the script has detected a rejection from that level.
Settings that matter : Prevent Overlap is useful for avoiding "cluttered" zones in ranging markets. Max Box Age is critical; it ensures that very old, irrelevant zones are removed from your chart after a set number of bars, keeping your technical analysis current and focused on recent price action.
Session Liquidity & FibsThis is a comprehensive, all-in-one toolkit designed for traders utilizing ICT concepts and time-based liquidity runs. The Session Liquidity & Fibs indicator automates the tedious process of marking up charts, allowing you to focus on price action and execution.
This indicator focuses on "Reverse Engineering" the daily narrative by plotting key sessions, mitigation lines, specific Fibonacci retracement setups, and Higher Timeframe (HTF) liquidity pools automatically.
Key Features:
1. Dynamic Session Killzones Automatically highlights key trading sessions with customizable boxes and extends the High/Low liquidity lines forward until they are mitigated (hit by price).
Asia Range: (Default 20:00 - 00:00)
London Session: (Default 02:00 - 05:00)
NY AM Session: (Default 09:30 - 11:00)
NY PM Session: (Default 13:30 - 16:00)
Note: Lines automatically cut off once price trades through them, keeping your chart clean.
2. Institutional Fibonacci Setups Auto-drawing Fibonacci anchors based on specific time windows to identify OTE (Optimal Trade Entry) and key extensions.
Overnight Fib: Measures the range from 18:00 to 05:00.
9 AM "Silver Bullet" Fib: Measures the 09:00 - 10:00 candle range to determine the morning bias.
Includes standard institutional levels (0, 1, 0.236, 0.786).
3. Higher Timeframe (HTF) Matrix Never lose track of the bigger picture. This tool plots major liquidity levels from higher timeframes onto your intraday chart:
Daily: True Day Open (TDO), Previous Day High/Low (PDH/PDL), and Daily Equilibrium (50%).
Weekly: Previous Week High/Low and Weekly Equilibrium.
Macro: Monthly and Quarterly Highs/Lows + 50% levels.
4. Price Action Helpers
Engulfing / Outside Bar Detector: Highlights bars that fully engulf the previous candle's range (Higher High & Lower Low). These are often key volatility candles used to draw manual Fibonacci ranges or identify immediate reversals.
Previous Bar 50%: Automatically marks the midpoint of the previous candle, useful for immediate rebalancing entries.
Settings & Customization:
Fully customizable colors for every session and level.
Toggle any feature on or off to suit your specific strategy.
Adjustable lookback history to manage chart load.
Usage: This indicator is best used on intraday timeframes (1m, 5m, 15m) for Futures (NQ, ES) and Forex pairs. It is designed to help you spot liquidity sweeps and session reversals without manually drawing every box and line.
This indicator is a Work In Progress. I created this tool primarily for myself to consolidate everything I need for my personal trading style into a single, efficient indicator. However, I am sharing it in case others find it useful. If you are using this and have requests for changes or ideas on how to make it better, please leave a comment or reach out, I will look into what I can do to improve it.
[TehThomas] - Aligned Timeframe Liquidity Sweeps█ OVERVIEW
The Liquidity Sweeps ICT MTF indicator automatically detects and visualizes buyside and sellside liquidity levels based on higher timeframe (HTF) swing points. Designed specifically for traders using Smart Money Concepts and ICT (Inner Circle Trader) methodology, this tool helps identify where institutional players are likely hunting liquidity before making directional moves.
█ KEY FEATURES
✓ Automatic ICT-Aligned Timeframe Selection
• Intelligently selects the higher timeframe based on your current chart
• Follows ICT's recommended correlations (5min→1h, 15min→4h, 1h→Daily, etc.)
• No manual timeframe selection needed - adapts automatically
✓ Precise Liquidity Level Placement
• Lines start exactly at the LTF candle that created the HTF swing point
• Searches backwards through historical data to find exact placement
• Eliminates guesswork about where institutional orders cluster
✓ Real-Time Sweep Detection
• Solid lines indicate untouched liquidity (active levels)
• Lines automatically turn dotted when price sweeps through them
• Swept lines stop at the exact bar of the sweep (clean visualization)
• Both wicks and candle bodies trigger sweep detection
✓ Fully Customizable Per Timeframe
• Individual swing detection settings for each HTF (1m, 15m, 1h, 4h, D, W, M)
• Adjust sensitivity to show major levels only or capture granular liquidity pools
• Customizable colors and line width
• Organized settings groups for easy navigation
█ HOW IT WORKS
The indicator identifies swing highs and swing lows on a higher timeframe using pivot point detection. These swing points represent areas where stop-loss orders from retail traders concentrate, creating "liquidity pools" that smart money targets.
Timeframe Alignment (Automatic):
• 15s chart → 1min HTF
• 1min chart → 15min HTF
• 5min chart → 1hour HTF
• 15min chart → 4hour HTF
• 1hour chart → Daily HTF
• 4hour chart → Weekly HTF
• Daily chart → Monthly HTF
Swing Detection:
The indicator uses customizable left/right bar counts to identify valid swing points on the HTF. Default values are optimized per timeframe (e.g., 10 bars for 1h, 5 bars for Daily), but can be adjusted to your preference.
Visualization:
• Green lines = Buyside liquidity (swing highs where long stops sit)
• Red lines = Sellside liquidity (swing lows where short stops sit)
• Solid style = Untouched liquidity
• Dotted style = Swept liquidity
█ SETTINGS
Swing Detection Group:
• Swing Bars - 1 Minute: Default 5 bars
• Swing Bars - 15 Minutes: Default 8 bars
• Swing Bars - 1 Hour: Default 10 bars
• Swing Bars - 4 Hours: Default 6 bars
• Swing Bars - Daily: Default 5 bars
• Swing Bars - Weekly: Default 3 bars
• Swing Bars - Monthly: Default 2 bars
Tip: Increase values for cleaner charts with major levels only. Decrease for more sensitive detection.
Display Group:
• Buyside Liquidity Color: Default green
• Sellside Liquidity Color: Default red
• Line Width: Adjustable 1-5
█ HOW TO USE
Reading the liquidity levels:
🟢 Green solid line = Untouched buyside liquidity (potential magnet for price)
🔴 Red solid line = Untouched sellside liquidity (potential magnet for price)
🟢 Green dotted line = Swept buyside liquidity (bulls trapped)
🔴 Red dotted line = Swept sellside liquidity (bears trapped)
Trading Applications:
1. Liquidity Grab Reversals: Watch for sweeps followed by immediate reversals
2. Stop Hunt Detection: Multiple sweeps often precede strong counter-moves
3. Target Identification: Use untouched levels as potential price magnets
4. Market Structure Analysis: Understand institutional order flow
5. Confluence Zones: Combine with order blocks, FVGs, or other ICT concepts
Best Practices:
• Focus on liquid markets (major FX pairs, indices, large-cap stocks)
• Consider higher timeframe trend - sweeps against trend are higher probability
• Look for liquidity clusters (multiple levels close together)
• Wait for confirmation after sweeps before entering
• Not all sweeps result in reversals - context matters
█ TRADING STRATEGY EXAMPLES
Liquidity Sweep Reversal:
1. Identify untouched liquidity level
2. Wait for price to sweep through (line turns dotted)
3. Look for reversal price action (engulfing, rejection)
4. Enter in reversal direction with stop beyond the sweep
5. Target next liquidity level or structure
Liquidity-to-Liquidity:
1. Price sweeps sellside liquidity (red dotted)
2. Enter long positions
3. Target buyside liquidity above (green solid)
4. Exit when buyside liquidity is swept
█ IDEAL FOR
• ICT Methodology Traders
• Smart Money Concept Practitioners
• Liquidity-Based Strategies
• Multi-Timeframe Analysis
• Price Action Traders
• Stop Hunt Avoidance
█ TECHNICAL SPECIFICATIONS
• Maximum Lines: 500
• Lookback Range: Up to 1000 bars for precise placement
• Compatible: All markets and timeframes
• Data: Works on both real-time and historical bars
█ NOTES & DISCLAIMERS
• This indicator is a tool for analysis, not a standalone trading system
• Always use proper risk management and combine with other analysis
• Performance may vary across different markets and conditions
• Based on ICT concepts - familiarity with Smart Money trading is recommended
█ LIQUIDITY FOR SINGLETIMEFRAMES
If you prefer normal liquidity lines you can use my other free liquidity indicator
ICT 7/8/9am lines NY session + 7.30/8.30/9.30 linesThis script show the 7, 8, 9 AM NY session lines, together with the 7.30, 8.30 and 9.30AM lines, like ICT teaches in the 2024 Mentorship, lesson 2.
Feel free to use it!
Liquidity Zones | NRP | ProjectSyndicate🏦 ProjectSyndicate Liquidity Zones 1.0 — Complete Documentation
Specifically built for: XAUUSD (Gold) 🥇, NQ 💻, ES 📈 and FX 💱 traders
✅Default settings: tuned to work well across multiple timeframes
Best sweet spot timeframes : M5 / M15 / M30 / H1 → consistently produces high-quality zones
________________________________________
🌍 Overview
ProjectSyndicate Liquidity Zones is a Pine Script v6 indicator built to identify stop-loss hunting zones and liquidity pockets—areas where price frequently sweeps retail stops and then reverses.
It automatically detects and draws zones where institutional flow often triggers liquidity before moving price in the opposite direction.
________________________________________
💧 What Are Liquidity Zones?
Liquidity zones are price levels where stop-loss orders cluster (often around swing highs/lows). Large players may push price into these levels to trigger stops (liquidity sweep) and then reverse.
Also known as:
• 🪤 Stop-loss hunting
• 🌊 Liquidity sweeps
• 🎯 Stop runs
________________________________________
🥇 Why Gold, NQ, ES & FX?
These markets often show repeatable liquidity behavior because of:
• 👥 Heavy participation and predictable stop placement
• 🏛️ Strong institutional activity and order flow
• ⚡ Volatility that enables fast “sweep & reverse” moves
• 📍 Clear technical levels where stops tend to cluster
________________________________________
⚙️ How It Works (3 Detection Engines)
1) 🔺 Pivot-Based Detection
Finds swing highs/lows using fractal pivots—natural stop placement zones.
2) 🕯️ Wick Trap Detection
Flags candles with dominant wicks (long rejection shadows), suggesting stops were hit then price snapped back.
3) 📊 Volume Spike Detection
Marks extremes where volume is elevated (local highs/lows). High volume at extremes often signals liquidity being triggered.
________________________________________
🧩 Zone Types
🟦 Bull Liquidity Zones (Teal/Cyan)
• 📍 Below current price (support area)
• 🧠 Indicates buy-side stops were swept (longs got hunted)
• 📈 Often becomes a potential reversal zone upward
• ✅ Idea: Look for bullish confirmation after a sweep
🟥 Bear Liquidity Zones (Maroon/Red)
• 📍 Above current price (resistance area)
• 🧠 Indicates sell-side stops were swept (shorts got hunted)
• 📉 Often becomes a potential reversal zone downward
• ✅ Idea: Look for bearish confirmation after a sweep
⚪ Historic Zones (Gray)
• 🕰️ Zones that were breached
• 📚 Useful for studying past behavior and sweep patterns
• ❗ Not considered “active”, but great for context
________________________________________
🛠️ Settings Guide
🔎 Detection Settings
🔺 Pivot Detection Length (Default: 10)
• Range: 3 → 50
• Controls swing sensitivity
• Lower (5–8): more zones, faster, noisier ⚡
• Higher (15–20): fewer zones, stronger, cleaner ✅
Recommended (XAUUSD / NQ / ES / FX):
• ⏱️ M5 / M15: 8–10
• ⏱️ M30: 10–12
• ⏱️ H1: 12–15
🕯️ Wick Dominance Ratio (Default: 0.5)
• Range: 0.3 → 0.85
• 0.5 = wick must be ≥ 50% of candle range
• Lower: more traps detected
• Higher: only extreme rejections
✅ Recommended: 0.5–0.6 (balanced)
📊 Volume Spike Multiplier (Default: 1.3)
• Range: 1.0 → 4.0
• 1.3 = volume must be ≥ 130% of 20-period avg
• Lower: more signals
• Higher: only major spikes
✅ Recommended: 1.3–1.5
________________________________________
📦 Zone Settings
📏 Zone ATR Period (Default: 14)
• Range: 10 → 50
• Controls volatility measurement used for zone sizing
• Shorter = more responsive ⚡
• Longer = smoother ✅
✅ Recommended: 14–20
📐 Zone Width (ATR Multiple) (Default: 0.5)
• Range: 0.2 → 1.5
• 0.5 = zone extends 0.5 × ATR around the level
• Smaller (0.3–0.4) = tight & precise 🎯
• Larger (0.6–0.8) = wider coverage 🌊
✅ Recommended: 0.4–0.6
🧱 Max Zones (Default: 8)
• Range: 2 → 20
• Lower = cleaner chart 🧼
• Higher = more context 📚
✅ Recommended: 6–10
↔️ Min Zone Separation (ATR) (Default: 2.0)
• Range: 0.5 → 5.0
• Prevents zone clustering
• Lower = more zones (tighter stacking)
• Higher = fewer zones (cleaner layout)
✅ Recommended: 1.5–2.5
________________________________________
👁️ Display Options
• ✅ Show Current Zones (ON) → active bull/bear zones
• ⛔ Show Historic Zones (OFF) → breached zones in gray
• ✅ Show Zone Labels (ON) → quick identification
• ⛔ Show Pivot Markers (OFF) → optional triangles
• 🌫️ Zone Opacity (80) → suggested 75–85
• 🎨 Bull Color: Teal
• 🎨 Bear Color: Maroon
________________________________________
📈 Trading Strategies
🪤 Strategy 1: Liquidity Sweep Reversal
Steps:
1️⃣ Identify zone
2️⃣ Wait for price to sweep into zone (wick into it)
3️⃣ Confirm with rejection candle
4️⃣ Enter with stop beyond zone
✅ Example (concept): sweep → reclaim → continuation
________________________________________
🔁 Strategy 2: Zone-to-Zone Trading
• Sweep bull zone → target bear zone 🎯
• Sweep bear zone → target bull zone 🎯
Risk plan:
• 🛑 Stop: 1–2 ATR beyond zone
• 🎯 TP: next opposite zone or 2:1 RR
• 📦 Risk: 1–2% per trade
________________________________________
🧲 Strategy 3: Confluence Trading
Look for zones that align with:
• 🧮 Fibonacci (50 / 61.8)
• 🔢 Round numbers (e.g., 2600 / 2650 / 2700)
• 📅 Previous day high/low
• 📉 Trendlines / MAs
More confluence = stronger zone 💪
________________________________________
🕰️ Strategy 4: Historic Zone Analysis
Turn on historic zones and study:
• Did it reverse after breach?
• How far did it extend beyond?
• What did volume do?
Use these patterns to improve expectations on current zones 📚
________________________________________
⏱️ Timeframe Recommendations
M5
• 🏎️ Scalping, fast signals
• More zones, more noise
• Tight risk, quick exits
M15
• ⚖️ Best balance for intraday
• Strong zone quality + quantity
M30
• 🧘 Cleaner zones, stronger signals
• Wider stops, more patience
H1
• 🏗️ Highest-quality zones
• Fewer false signals, bigger targets
________________________________________
✅ Best Practices
Do’s ✅
• Wait for confirmation candles 🕯️
• Use multi-timeframe context (H1 zones + M15 entries) 🧭
• Combine with price action (engulfing / pin bars) 🎯
• Always use stops 🛑
• Study breached zones 📚
• Adapt settings to volatility 🌊
Don’ts ❌
• Don’t trade every zone blindly
• Don’t ignore context (trend/news/sentiment)
• Don’t overtrade
• Don’t treat settings as “one-size forever”
• Don’t fight strong trends without confirmation
________________________________________
🧠 Advanced Tips
🕒 Session-Based Behavior
• 🌙 Asia: zones often hold better (lower volatility)
• 🇬🇧 London: aggressive sweeps
• 🇺🇸 NY: continuations or major reversals
• 🔥 Overlaps: most volatile → strongest reactions
📰 News Awareness
High-impact events (CPI, NFP, FOMC) can:
• create zones rapidly ⚡
• invalidate zones ❗
• extend beyond zones 🎢
Tip: avoid trading zones during major releases
🧩 Multi-Timeframe Confirmation
• Find zone on H1
• Refine entry on M15
• Confirm structure shift / reaction before entry ✅
💪 Zone Strength Clues
Stronger zones often have:
• multiple detection methods (pivot + wick + volume)
• confluence with key levels
• recent formation
• clean first reaction
________________________________________
🧰 Troubleshooting
Too Many Zones
Try:
• Increase separation (2.5–3.0)
• Reduce max zones (5–6)
• Increase pivot length (12–15)
• Increase wick ratio (0.6–0.7)
Too Few Zones
Try:
• Decrease separation (1.0–1.5)
• Increase max zones (10–12)
• Reduce pivot length (7–8)
• Reduce wick ratio (0.4–0.5)
• Reduce volume multiplier (1.2)
🚫 Zones Not Showing
Check:
• “Show Current Zones” is ON ✅
• enough bars loaded
• try defaults first, then adjust
Historic Zones Not Appearing
• Price must breach zones first
• scroll back for older breaches
• increase max zones to store more
________________________________________
🔔 Indicator Alerts
🟥 Bear Liquidity Zone Detected
• Trigger: new resistance zone
• Message: “Bear liquidity hunting zone identified”
• Use: selling opportunities 🧲
🟦 Bull Liquidity Zone Detected
• Trigger: new support zone
• Message: “Bull liquidity hunting zone identified”
• Use: buying opportunities 🧲
Setup:
1️⃣ Right-click chart → Add Alert
2️⃣ Select indicator condition
3️⃣ Choose Bull/Bear alert
4️⃣ Select delivery method (popup/email/webhook)
________________________________________
⚡ Performance Notes
• 🧱 Max boxes: 500
• 🏷️ Max labels: 500
• 🪶 Lightweight / minimal lag
• ✅ No repaint (confirmed on bar close)
• 🔒 Zones stay fixed once created
________________________________________
🧾 Version History v1.0
• Pine Script v6
• 3 detection methods (pivot / wick / volume)
• Current + historic zones
• Custom colors & settings
• Built-in alerts
• Optimized defaults across M5/M15/M30/H1 for XAUUSD, NQ, ES, FX ✅
Can be also combined with Order Block Finder and FVG Finder
for complete / more advanced SMC strategy chart overlay.
✅ Order Block Finder | Gold | ProjectSyndicate
✅ FVG Finder | NRP | ProjectSyndicate
ICT Flow Matrix [Ultimate]📊 Overview
ICT Flow Matrix is a comprehensive, all-in-one Smart Money Concepts (SMC) indicator built for traders who follow ICT (Inner Circle Trader) methodology. This indicator consolidates over 15 institutional trading concepts into a single, highly customizable tool—eliminating chart clutter from multiple indicators while providing deep market structure analysis.
Whether you're identifying liquidity pools, tracking order flow, or timing entries during ICT Macro windows, this indicator delivers institutional-grade analysis directly on your chart.
Pro Tip: use with ICT Market Regime Detector for clear language reads on everything.
⚡ Key Features
🎯 Price Delivery Arrays (PDAs)
Fair Value Gaps (FVG) — Automatic detection with customizable mitigation tracking (Wick Touch, 50% CE, Full Close)
Inverse FVGs (iFVG) — Identifies when FVGs fail and flip, creating new tradeable zones
Order Blocks (OB) — Last opposing candle before impulsive moves with adjustable impulse strength
Breaker Blocks (BB) — Automatically generated when Order Blocks fail
Rejection Blocks (RB) — Strong wick rejections indicating institutional defense
Volume Imbalances (VIMB) — Gaps between candle bodies showing aggressive institutional activity
📐 Market Structure & Liquidity
Market Structure Shifts (MSS) — Real-time detection of bullish/bearish structure breaks
Equal Highs/Lows (EQH/EQL) — Liquidity pools where stop losses accumulate
Buy-Side/Sell-Side Liquidity (BSL/SSL) — Swing point liquidity levels with sweep detection
Premium/Discount Zones — Visual shading showing institutional buying/selling areas
OTE Zone (61.8%-79%) — Optimal Trade Entry zone for high-probability entries
⏰ Time-Based Analysis
ICT Macro Times — All nine 30-minute algorithmic windows (02:45, 03:45, 04:45, 09:45, 10:45, 13:45, 14:45, 15:15, 15:45 NY Time)
Killzone Sessions — Asia, London, NY AM, NY PM with customizable times
Session Opens — Weekly, Monthly, Daily opening prices
Previous Period H/L — PDH/PDL, PWH/PWL, PMH/PML levels
📏 Dealing Ranges
Multi-Timeframe Ranges — 21-Day, 3-Day, Daily dealing ranges
Session Ranges — Asia, London, NY dealing ranges with equilibrium
Fibonacci Structure — 0%, 50% (EQ), 100% levels with P/D shading
🕯️ HTF Orderflow
Higher Timeframe Candles — Display up to 6 HTF candles with auto-timeframe selection
Candle Timer — Countdown to next HTF candle close
O/H/L Reference Lines — Current HTF open, high, low levels extended on chart
🎨 Visual Customization
5 Theme Presets — Dark Pro, Light Clean, Neon, Classic, Custom
Full Color Control — Customize every element individually
Zone Styles — Filled or Border Only options
Mitigation Effects — Visual fade when zones are mitigated
📋 Smart Dashboard
Real-Time Status — Structure bias, zone position, active session, OTE status
Confluence Score — Algorithmic scoring when multiple concepts align
Zone Counters — Active FVG, OB, BB, RB, VIMB, liquidity levels
3 Display Modes — Minimal, Compact, Detailed
🔔 Comprehensive Alert System
40+ Alert Conditions including:
FVG/OB/BB/RB/VIMB formation
Liquidity sweeps (EQH, EQL, BSL, SSL)
Market Structure Shifts
OTE zone entry
Macro time windows
Session opens
High confluence zones
Combo alerts (Macro + Confluence)
📖 How To Use
For Swing/Position Traders:
Enable HTF Orderflow to identify dominant trend direction
Use Dealing Ranges (3D, 21D) to find premium/discount zones
Look for OB/FVG confluence in discount (longs) or premium (shorts)
Confirm with MSS for trend alignment
For Day/Intraday Traders:
Mark the Asian Range during pre-market
Wait for London or NY AM Killzone
Enter during ICT Macro windows when price reaches FVG/OB in OTE zone
Target opposite liquidity (BSL for longs, SSL for shorts)
Confluence Trading:
Dashboard shows real-time confluence score
Score ≥ 3 indicates multiple ICT concepts aligned
Higher scores = higher probability setups
⚙️ Recommended Settings
Trading Style FVG Max OB Max History Bars HTF Candles
Scalping 3-5 2-3 100-200 3-4 Day Trading 5-8 3-5 200-400 4-5
Swing Trading 8-12 5-8 400-800 5-6
🎯 Best Practices
✅ Do:
Use HTF bias before taking LTF entries
Wait for Macro time windows for highest probability
Combine MSS + FVG/OB + OTE for A+ setups
Let mitigated zones fade (use Mitigation Fade setting)
❌ Avoid:
Trading against HTF structure
Entries outside Killzones (lower probability)
Ignoring liquidity targets
Over-cluttering chart (disable unused features)
📝 Version History
v6.0 (Current)
Complete rewrite in PineScript v6
Added ICT Macro Times with bracket/background styles
Enhanced confluence detection algorithm
Improved HTF candle rendering with multiple styles
Added Inverse FVG detection
Session-based Dealing Ranges
Performance optimizations
40+ alert conditions
⚠️ Disclaimer
This indicator is a technical analysis tool designed to visualize ICT/SMC concepts. It does not provide financial advice or guarantee profitable trades. Past performance is not indicative of future results. Always use proper risk management and trade responsibly.
💬 Support & Feedback
If you find this indicator valuable, please leave a comment or boost! Your feedback helps improve future updates.
Questions? Drop a comment below—I actively respond to all questions about the indicator's features and usage.
ICT Market Regime Detector [TradeHook]🔮 Overview
The **ICT Market Regime Detector** is an advanced market condition classifier designed to identify the current market environment and provide context-aware trading guidance. Rather than generating buy/sell signals, this indicator focuses on answering the crucial question: *"What type of market am I trading in right now?"*
Understanding market regime is fundamental to successful trading. The same strategy that works brilliantly in a trending market can fail spectacularly during consolidation. This indicator automatically classifies market conditions into one of eight distinct regimes, each requiring different trading approaches.
---
🎯 Regime Classifications
The indicator identifies these market states:
| Regime | Description | Recommended Approach |
|------------------------|--------------------------------------------------|--------------------------------------|
| *STRONG TREND* |Directional momen. w/ healthy struc| Cont.entries with OTE pullbacks |
| **WEAK TREND** | Gradual drift with retracements | Conservative Order Block entries |
| **ACCUMULATION** | Institutional buying within range | Longs near range lows |
| **DISTRIBUTION** | Institutional selling within range | Shorts near range highs |
| **CONSOLIDATION** | Tight range, low volatility squeeze | Wait for breakout |
| **EXPANSION** | Volatile breakout phase | Momentum following |
| **REVERSAL** | Structural transition period | Wait for confirmation |
| **CHOPPY** | No clear edge | **Avoid trading** |
---
⚙️ How It Works
**Trend Analysis Engine**
- Calculates ADX (Average Directional Index) using Wilder's smoothing method
- Monitors +DI/-DI for directional bias
- Detects trend health via EMA alignment
- Identifies exhaustion through RSI divergence
**Volatility Analysis Engine**
- Measures current vs historical volatility ratio
- Classifies as LOW, NORMAL, HIGH, or EXTREME
- Tracks volatility expansion/contraction phases
**Range Analysis Engine**
- Calculates dynamic support/resistance boundaries
- Tracks price position within range (0-100%)
- Detects range narrowing (squeeze) and expansion patterns
**Institutional Activity Detection**
- Volume spike identification
- Absorption candle patterns (large wicks, small body)
- Displacement candles (large body, small wicks)
- Accumulation/Distribution pattern recognition
---
🛡️ Risk Management Features
**Daily Loss Limit**
- Set maximum daily loss as percentage of account
- Visual warning when approaching limit
- Alert when limit is breached
**Maximum Daily Trades**
- Configurable trade counter per session
- Prevents overtrading
- Session reset options (NY Open, London Open, etc.)
**Trading Readiness Checklist**
- Clear regime ✓/✗
- Kill zone active ✓/✗
- HTF alignment ✓/✗
- Volatility normal ✓/✗
- Loss limit OK ✓/✗
- Trades remaining ✓/✗
---
📊 Multi-Timeframe Analysis
The indicator includes 4H timeframe regime alignment to ensure lower timeframe setups align with higher timeframe bias. Trades taken with HTF alignment historically have higher probability.
---
⏰ Kill Zone Integration
Built-in ICT Kill Zone detection:
- 🌙 Asian Session (Range Building)
- 🇬🇧 London Open (Prime Execution)
- 🇺🇸 NY AM (Prime Execution)
- 🔫 Silver Bullet (10-11 AM EST)
- 🇺🇸 NY PM (Afternoon Opportunities)
Configurable UTC offset for your timezone.
---
🎨 Visual Features
- **Regime-Colored Bars** - Instantly see current market state
- **Comprehensive Dashboard** - All metrics in one panel
- **Adjustable Table Size** - Tiny/Small/Normal/Large
- **Flexible Positioning** - Place dashboard in any corner
- **Optional Regime Labels** - Mark regime changes on chart
---
⚠️ Important Notes
1. This indicator is a **decision support tool**, not a signal generator
2. Always combine with proper price action analysis
3. Past regime identification doesn't guarantee future performance
4. Risk management settings are for tracking purposes only - actual position management should be done through your broker
5. The indicator works best on liquid markets with consistent volume data
---
📚 Educational Purpose
This indicator is designed for educational purposes to help traders understand market structure and regime classification. It implements concepts from ICT (Inner Circle Trader) methodology including:
- Market structure analysis
- Kill zone timing
- Institutional activity patterns
- Multi-timeframe confluence
---
🔧 Inputs Summary
**Master Toggles**
- Enable/Disable indicator, regime detection, recommendations, risk management, alerts
**Core Settings**
- Analysis lookback periods (short/medium/long)
- ADX thresholds for trend classification
- Volatility spike multiplier
**Risk Management**
- Max daily loss percentage
- Max daily trades
- Account size for P&L calculation
- Session reset timing
**Visualization**
- Dashboard on/off and position
- Regime zones and labels
- Bar coloring
- Table text size
---
💡 Tips for Use
1. **Don't trade CHOPPY regimes** - The indicator explicitly warns when no edge exists
2. **Respect the checklist** - Trade only when multiple conditions align
3. **Adjust ADX thresholds** - Different instruments may require fine-tuning
4. **Monitor regime duration** - Fresh regime changes often present the best opportunities
5. **Use with other TradeHook indicators** - Designed to complement the MTMGBS system
⚖️ DISCLAIMER
This indicator is for **educational and informational purposes only**. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always conduct your own analysis and consult with a qualified financial advisor before making trading decisions.
FVG Finder | NRP | ProjectSyndicate🥇 ProjectSyndicate Fair Value Gap (FVG) Finder — Pine Script v6 • NRP Non-Repainting
📌 SMC Imbalance Zones Built for Clean Entries, Targets & Mitigation Tracking
The ProjectSyndicate FVG Finder is a professional TradingView indicator designed for traders who want clean, high-probability Fair Value Gaps price imbalances mapped instantly on-chart—without manual marking or clutter.
Fair Value Gaps form during aggressive displacement when price delivers inefficiently, leaving a void that price often returns to rebalance. This tool helps you spot those zones fast, track whether they’re still fresh, and plan entries with confidence. ✅
________________________________________
🚀 Why Traders Like It
✅ NRP Logic (Non-Repainting): Signals are built to remain stable once confirmed
✅ Real-Time FVG Detection: Automatically identifies bullish + bearish FVG zones as they form
📦 Clean Zone Visualization: Boxed imbalance areas that are easy to trade from
🧹 Auto-Cleanup (Mitigation): Zones update based on your chosen fill rule (Touch / 50% / Full)
🎛️ Anti-Noise Filtering: Minimum size + optional ATR filter to remove weak gaps
⚡ Pine Script v6: Built on the latest TradingView engine for stability and performance
🔔 Alerts + Markers: Get notified when new FVGs print + optional triangle signals
________________________________________
Gold H1 TF active FVGs
Eur Usd M30 TF active FVGs
NQ H1 TF active FVGs
🧠 Detection Logic — Simple, Effective, Battle-Tested
📈 Bullish Fair Value Gap (Demand Imbalance):
A 3-candle imbalance where the low of Candle 3 is above the high of Candle 1
➡️ Signals strong buy-side displacement / inefficient delivery
📉 Bearish Fair Value Gap (Supply Imbalance):
A 3-candle imbalance where the high of Candle 3 is below the low of Candle 1
➡️ Signals strong sell-side displacement / inefficient delivery
________________________________________
🧹 Mitigation Options — Choose How Filled Works
Your strategy decides what counts as used:
👆 Touch: Zone considered mitigated on first interaction
🎯 50% Fill: Mitigated once price fills half the gap
✅ Full Fill: Mitigated only when the entire zone is filled
Optional: Keep mitigated zones visible or hide them for ultra-clean charts.
________________________________________
🛠 Recommended Settings (ATR Multiplier Presets)
Use these as solid starting points on M30 / H1:
•🥇 XAUUSD (Gold) M30/H1: 0.5
•💻 NQ (Nasdaq) M30/H1: 0.25
•🛢️ USOIL M30/H1: 0.25
•₿ BTCUSD M30/H1: 0.25
•💶 EURUSD / GBPUSD M30/H1: 0.25 – 0.50
✅ Other markets are supported too just adjust the ATR Multiplier based on how many signals you want:
•More signals → lower multiplier
•Higher quality → higher multiplier
________________________________________
✅ Best Use-Cases
🎯 Mark imbalance zones instantly without manual drawing
🧲 Wait for price to return to FVG for cleaner entries
🛡️ Use zone boundaries for clear invalidation / stop placement
📊 Combine with trend bias + BOS/CHoCH + premium/discount for higher confirmation
🎯 Use FVGs as both entries and profit targets
________________________________________
⭐ How You Can Support ProjectSyndicate (3 Steps)
1. ✅ Click “Add to Favorites” to save this script to your TradingView Favorites
2. 🔎 Check out our other scripts to complete your SMC toolkit
3. 👤 Follow ProjectSyndicate for the latest updates, upgrades, and new releases
Order Block Finder | Gold | ProjectSyndicate
Breaker Blocks Finder | Gold | ProjectSyndicate
ICT Algo: Sweep + MSS + High Prob FVG/IFVGThis script is a comprehensive execution tool based on Inner Circle Trader (ICT) concepts, specifically designed to identify high-probability entries by combining Liquidity Sweeps, Market Structure Shifts (MSS), and Fair Value Gaps (FVG/IFVG).
Unlike standard FVG indicators that highlight every gap on the chart, this "Algo" version filters for gaps that occur specifically after a liquidity purge and a shift in structure, ensuring you are only looking at setups with institutional backing.
How It Works
The script follows a strict 3-step validation process before plotting a signal:
Liquidity Sweep (The Context): The script tracks Higher Timeframe (HTF) levels including Previous Day High/Low, Weekly High/Low, and Monthly High/Low. A setup is only considered valid if price has recently "swept" one of these levels, indicating a hunt for liquidity.
Market Structure Shift (The Confirmation): Once a sweep occurs, the script looks for a displacement in the opposite direction. It identifies a "Pivot High/Low" (customizable length) and waits for a candle body to close beyond it (MSS).
Filtered Entry (The Trigger): * FVG: Plots a standard Fair Value Gap if it forms within a "Deep Value" zone (Discount for longs, Premium for shorts).
IFVG (Inversion FVG): Highlights failed FVGs that have been reclaimed by price to act as support or resistance.
Key Features
Multi-Timeframe Liquidity Filters: Automatically plots PDH/L, PWH/L, PMH/L, and PYH/L. You can toggle which levels act as your sweep triggers.
Deep Value Logic: The script uses built-in logic to ensure Bullish FVGs are only highlighted when price is below a key liquidity level (Discount), and Bearish FVGs when price is above (Premium).
Dynamic Box Management: To keep your chart clean, boxes for FVGs and IFVGs are automatically shortened ("cut") once they are mitigated by price.
Inversion Logic: Includes a specialized toggle for Inversion Fair Value Gaps, allowing you to trade "failed" gaps that flip their polarity.
Settings & Customization
Entry Setup Bias: Choose to see only Bullish, only Bearish, or Both setups.
MSS Pivot Length: Adjust how "sensitive" the Market Structure Shift detection is. A higher number requires a more significant swing to be broken.
Sweep Lookback: Defines how many bars back the script looks for a liquidity sweep to remain "active" for a setup.
Include Opens: Optional toggle to include Previous Day/Week/Month Opens as liquidity points.
Usage Tips
The Golden Setup: Look for a sweep of a Previous Day High, followed by a Bearish MSS, and an entry at the Red FVG box.
Risk Management: This indicator is designed for entry identification. Always use stop losses (usually placed above/below the candle that created the FVG or the MSS swing point).
Timeframes: Best used on execution timeframes (1m, 5m, 15m) while the script handles the HTF levels automatically.
Disclaimer: This script is an educational tool and does not constitute financial advice. Trading involves significant risk. Past performance of a strategy does not guarantee future results.
Credits: Concepts based on the teachings of Michael J. Huddleston (ICT).






















