Advanced Institucional Trading IndicatorThe Advanced Institutional Trading Indicator is a comprehensive technical analysis tool that combines four institutional trading concepts to identify where large market participants hunt liquidity, establish positions, and create supply/demand imbalances. The indicator integrates pivot-based reversal signals, liquidity sweep detection, volumetric order blocks, and equal highs/lows identification into a unified framework for analyzing institutional footprints in the market.
What It Detects
Pivot-Based Reversal Signals: Swing highs/lows marking potential trend reversals
Liquidity Sweeps: False breakouts indicating institutional stop-hunting
Volumetric Order Blocks: Supply/demand zones with buying vs selling pressure ratios
Equal Highs/Lows (EQH/EQL): Liquidity pools where stops cluster
In Practice
Traders can watch for equal highs/lows near order blocks, wait for sweeps of these levels as confirmation of liquidity capture, then look for reversal signals to time entries with the expectation that institutions have now positioned themselves and the true directional move can begin.
Logic used
Pivots: Standard functions with configurable periods, signals when swing type alternates
Sweeps: Detects brief violations of swing levels with cooldown filter
Order Blocks: Three-candle volume split into buying/selling pressure, filtered by ATR
Equal Levels: Compares consecutive pivots within ATR-based threshold
Visual representation
Reversal Signals: Green "Buy-point"/red "Sell-point" labels.
Sweeps: Dashed lines with "Sweep" text and swing markers.
Order Blocks: Colored boxes with volumetric bars and percentages.
Equal Levels: Golden lines with $ symbols.
Customization options
Pivot Length, Cooldown Period, Swing Length, Zone Count (1/3/5/10), ATR Multiplier, Threshold, customizable colors and styles.
Recommendations for use: Lower timeframes use smaller parameters (5-15 pivot, 20-35 swing). Higher timeframes use larger (20-50 pivot, 50-100 swing). Adjust for volatility.
Originality and value
While this indicator utilizes established concepts from institutional trading methodology (particularly Smart Money Concepts and ICT principles), its value proposition includes:
- Integration: Combines four complementary analysis tools into a single cohesive framework rather than requiring multiple separate indicators
- Volumetric Enhancement: Adds quantitative volume analysis to order blocks, showing not just where institutions positioned but how much buying vs selling pressure existed
- Automated Zone Management: Intelligently combines overlapping order blocks to reduce visual noise while preserving essential information
- Intelligent Filtering: Uses ATR-based thresholds for equal highs/lows and maximum order block size, adapting to market volatility
- Coordinated Signaling: All components reference similar swing detection logic, creating alignment between different institutional footprint indicators
Disclaimer
This indicator is a technical analysis tool and does not constitute financial advice.
/////Descripcion en español/////
El Advanced Institutional Trading Indicator combina cuatro conceptos institucionales—reversiones por pivotes, barridos de liquidez, bloques volumétricos y niveles iguales—para identificar dónde grandes participantes cazan liquidez y establecen posiciones.
Qué detecta
1. Reversiones por Pivotes: Máximos/mínimos marcando cambios de tendencia
2. Barridos de Liquidez: Falsas roturas indicando caza de stops institucional
3. Bloques Volumétricos: Zonas oferta/demanda con ratios presión compradora/vendedora
4. Niveles Iguales (EQH/EQL): Pools de liquidez donde se agrupan stops
Cómo usarlo
Observar niveles iguales cerca de bloques, esperar barridos como confirmación de captura de liquidez, entrar con señales de reversión cuando instituciones se han posicionado.
Lógica utilizada
- Pivotes: Funciones estándar configurables, señaliza cuando alternan
- Barridos: Detecta violaciones breves con filtro de enfriamiento
- Bloques: Volumen de tres velas dividido en presión compradora/vendedora, filtrado por ATR
- Niveles Iguales: Compara pivotes consecutivos dentro de umbral ATR
Representación visual
Señales: Etiquetas "Buy/Sell-point" verdes/rojas. Barridos: Líneas punteadas con "Sweep" y marcadores swing. Bloques: Cajas con barras volumétricas y porcentajes. Niveles: Líneas doradas con símbolo $.
Configuraciones clave
Pivot Length, Cooldown Period, Swing Length, Zone Count (1/3/5/10), ATR Multiplier, Threshold, colores y estilos personalizables.
Consejos: Marcos menores usan parámetros pequeños (5-15 pivot, 20-35 swing). Marcos mayores usan grandes (20-50 pivot, 50-100 swing). Ajustar según volatilidad.
Originalidad
Integra cuatro herramientas en un marco. Añade análisis volumétrico a bloques. Combina automáticamente zonas superpuestas. Usa filtrado adaptativo basado en ATR. Alinea componentes con lógica unificada basada en Smart Money/ICT.
Descargo
Herramienta de análisis técnico, no asesoramiento financiero.
Cari dalam skrip untuk "liquidity"
One Trade Setup for LifeIndicators are refered from @TFlab and @ChartPrime and @UAlgo
***
## Indicator Overview 🚀
**One Trade Setup for Life** is a sophisticated TradingView Pine Script indicator blending Smart Money Concepts (SMC), advanced Price Action, and Liquidity Analysis. It provides signals for structural market moves, trade setups, and custom alerts. This tool is designed for **precision execution**, giving traders a comprehensive edge in diverse market conditions.
***
## Key Logic Sections & Explanation
### Smart Money Concept Logic 💸
- **Pivot Lines**: Plots SMC levels based on swing high/low pivots, customizable for wick/body detection and colored to represent bullish or bearish market structure.
- **Market Structure Detection**: Tracks changes such as BOS (Break of Structure) and CHoCH (Change of Character), using real-time breakout logic to highlight structural shifts, confirm reversal setups, and trigger accompanying alerts.
- **Engulfing & Confirmation**: Identifies engulfing candles, confirms market structure changes, and plots colored lines—with shape plots at exact highs/lows for visual clarity.
***
### Pure Price Action 📈
- **Swing Detection**: Adjustable bars for detecting swing points, making the indicator sensitive to trend reversals and continuations based on candle closes or wicks.
- **BOS/CHoCH Lines**: Plots dashed, solid, or dotted lines (user-selected) to visualize structural changes in price, adding color-coded markers for transparency.
- **Sentiment Table**: Displays an emoji-based sentiment table at the chart bottom, updating live to quickly gauge overall price action and market mood (bull, bear, neutral emoji).
***
### Supertrend Logic 🟩🟥
- **ATR-Based Trend Filter**: Implements Supertrend bands using customizable ATR length, multiplier, and increment. Options include normalization for flexibility in ranging versus trending markets.
- **Multi-Factor Signals**: Detects buy/sell crossovers and plots median/stdev areas for additional confirmation. Users can visually track Supertrend support/resistance as trade triggers.
***
### RSI & Activity Analysis 📊
- **RSI Calculation**: Provides customizable RSI length, overbought/oversold thresholds. Candle coloring flips as RSI hits extreme levels, giving immediate visual signals for exhaustion or reversals.
- **Trading Volume Proxy**: Advanced logic computes percentile rankings and plots quintile bands, triggering signal arrows when activity surges above or below key thresholds.
***
### Liquidity Sweep & Fair Value Gap Logic 💧
- **Sweep Zones**: Detects price sweeps at key resistance/support lines generated from pivots, marking with labels and enabling sweep alerts.
- **FVG & Mitigation**: Integrates Fair Value Gap (FVG) detection. The indicator can filter FVG zones by aggressiveness, classify supply/demand FVGs, and highlight where price is likely to react for entry or exit.
***
### Support, Resistance, and Swing Levels 🟦🟥
- **Multi-Period SR Lines**: Draws dynamic lines for support/resistance from high/low pivots, adjustable for length and quantity, and visually distinct using color, label, and style options.
- **Main Swing Alerts**: Tracks swing direction, assigns colors, and fires alerts only when direction changes, ensuring traders catch priority momentum shifts.
***
### Detailed Alerts System 🚨
- **Custom Alert Inputs**: Users can toggle alerts for CHoCH, BOS, liquidity structure, high-volume, FVG events, sweep zones, false breakouts, and trigger candles—ensuring critical signals are never missed.
- **On-Chart Graphics**: Circles, arrows, and emoji labels clearly mark confirmation, swings, and reversal points directly on the chart, streamlining decision-making.
***
## Example Markdown Table: Alert Features
| Alert Type | Logic/Trigger | Emoji | Visual Output |
|------------------------|--------------------------------------|-------|---------------------------|
| CHoCH (Change of Char.)| Counter-trend BOS detection | 🔄 | Colored line & arrow |
| BOS (Break of Struct.) | Trend BOS, confirming market shift | 💥 | Line/circle at high/low |
| Liquidity Sweep | Price breaks support/resistance | 💧 | Label "Sweep" + alert |
| FVG Alert | FVG zone formation by aggression | ⚡ | Box highlight + alert |
| Supertrend Trigger | Median/std crossovers | 🟩🟥 | Colored area, Buy/Sell |
***
## Customization, Emoji & Styling 🎨
- **All key inputs are grouped and tooltipped for easy setup.**
- **Charts use emojis for sentiment** and direction, visible on tables and labels.
- **Colors are user-selected** for all markers (pivot, BOS, CHoCH, FVG, SR, swing).
- **Visuals (circles/arrows)** highlight entry, exit, and alert points for instant interpretation—making the script unique and easy to use.
***
## Publication & Use 🌐
This script is covered under the Mozilla Public License 2.0. When publishing, provide the following metadata:
- **Title**: One Trade Setup for Life
- **Description**: A fusion tool combining SMC, price action, advanced liquidity analytics, and market structure detection—with a robust alert system and richly visual trading interface.
**Enjoy clear signals, custom alerts, and visually appealing chart markers—all in one package!** 🏆
ICT First FVG - 9:30am & Custom (v4)ICT First FVG - 9:30am & Custom Time Ranges (v4)
📖 DESCRIPTION
This comprehensive Pine Script indicator identifies and displays Fair Value Gaps (FVGs), Volume Imbalances (VIs), and Liquidity Voids (LVs) based on Inner Circle Trading (ICT) concepts. The indicator offers dual functionality: traditional 9:30am New York session FVG detection and customizable time range analysis for maximum flexibility.
🚀 KEY FEATURES
Dual Detection System
9:30am NY Open FVG: Classic ICT first presentation detection after market open
Custom Time Range FVG: User-configurable time periods for specialized analysis
Independent Operations: Both systems work simultaneously without interference
Separate Controls: Each system has its own settings and previous days configuration
Advanced Gap Detection
Fair Value Gaps (FVG): Three-candle patterns showing price inefficiencies
Volume Imbalances (VI): Single candle volume-related gaps
Liquidity Voids (LV): Areas where price moved too fast, creating liquidity gaps
Consequent Encroachment (CE): Midpoint lines of detected inefficiencies
Precision Sizing System
Multi-Asset Support: Automatic point/pip calculation for Forex, Futures, and Indices
Forex Handling: Specialized pip calculation for major pairs and JPY crosses
Size Filtering: Minimum gap size filter to eliminate noise
Real-Time Display: Shows exact gap sizes in labels (e.g., "15.3 pips" or "12.7 pts")
Professional Visualization
Dual Display Modes: Choose between solid blocks or line representations
Color Coding: Different colors for current vs. previous day imbalances
Smart Labels: Configurable date, time, type, and size information
Extension Options: Extend gaps to session end or current bar
M1 Data Integration
High Accuracy: Uses 1-minute data regardless of chart timeframe
Better Detection: More precise gap identification on higher timeframes
Flexible Usage: Works on any timeframe ≤15 minutes
⚙️ CONFIGURATION GUIDE
General Settings
Visualization Type: Choose "Blocks" for filled areas or "Lines" for boundaries
Previous Days: Number of historical days to display (0 = today only)
Extend Imbalances: Project gaps to session end or current bar
Use M1 Data: Recommended ON for better accuracy
FVG Size Filter
Minimum FVG Size: Filter out gaps smaller than specified points
Enable Filter: Toggle size filtering on/off
🎯 RECOMMENDED MINIMUM SIZES:
USD/JPY: 0.01 points (1 pip)
Gold (XAUUSD): 1.6 points
NQ (Nasdaq-100): 0.2 points
Nasdaq CFD: 2.0 points
Other instruments: Experiment and discover optimal values
Custom FVG System
Enable Custom FVG: Activate secondary time range detection
Custom Time Range: Use session format (e.g., "1430-1600" for 2:30-4:00 PM)
Custom Previous Days: Independent historical period for custom ranges
Custom Label Color: Distinct color for custom time range gaps
Delete Default FVG 9:30: Use when running multiple instances with different timeframes
Imbalance Types
Fair Value Gaps: Main three-candle inefficiency patterns
Include Open/Close Gap: Additional gap calculation method
Volume Imbalances: Single-candle volume-based gaps
Liquidity Voids: Fast price movement gaps
C.E. (Consequent Encroachment): Midpoint reference lines
Label Customization
Show Labels: Toggle date/time information display
Include Time: Add timestamp to labels
Include Type: Display gap type (FVG, VI, LV)
Include Size: Show calculated gap size in points/pips
Position: Configure label placement (left/center/right, top/center/bottom)
Size & Color: Customize label appearance
Visual Styling
Colors: Separate colors for FVG, VI, LV types
Previous Day Colors: Distinct styling for historical gaps
Border Styles: Solid, dashed, or dotted borders
Line Widths: Configurable border thickness
📊 TECHNICAL SPECIFICATIONS
Supported Markets
Forex: All major and minor pairs with proper pip calculation
Futures: ES, NQ, YM, RTY, GC, SI, CL, etc.
Indices: SPX, NDX, DJI, and CFD versions
Stocks: Individual equities (adjust size filter accordingly)
Time Frame Compatibility
Recommended: 1m, 3m, 5m, 15m charts
Maximum: 15-minute timeframe
Optimal: 1m or 5m for best precision
Session Handling
Timezone: America/New_York (Eastern Time)
Default 9:30am: Standard NY market open detection
Custom Sessions: Any time range using HHMM-HHMM format
Weekend Filtering: Automatic exclusion of non-trading days
🔧 USAGE INSTRUCTIONS
Basic Setup
Add indicator to chart (≤15m timeframe recommended)
Enable "Use M1 Data" for accuracy
Set "Minimum FVG Size" based on instrument (see recommendations above)
Configure "Previous Days Imbalances" (5 is good default)
Custom Time Range Setup
Enable "Enable Custom FVG"
Set "Custom Time Range" (e.g., "1430-1600" for 2:30-4:00 PM ET)
Adjust "Custom Previous Days" as needed
Choose distinct "Custom Label Color" for easy identification
Multiple Instance Usage
Add indicator multiple times for different time ranges
Enable "Delete Default FVG 9:30" on additional instances
Use different custom time ranges for each instance
Assign unique colors to distinguish between instances
Label Optimization
Enable size display to see gap magnitude
Position labels to avoid chart clutter
Use appropriate label size for your screen resolution
Consider disabling time display on crowded charts
🎯 PRACTICAL APPLICATIONS
ICT Trading Concepts
First Presentation: Initial FVG after 9:30am NY open
Return to Gap: Price revisiting inefficiency areas
Mitigation Levels: Using FVG boundaries as support/resistance
Liquidity Hunting: Understanding where price seeks efficiency
Multi-Session Analysis
London Close: Set custom range for 1600-1601 London close gaps
Asian Session: Configure overnight inefficiencies
Power Hour: Analyze 1500-1600 ET gaps
Lunch Hour: Study 1200-1300 ET price behavior
Risk Management
Size-Based Filtering: Focus on significant gaps only
Historical Context: Compare current gaps to previous days
Confluence Trading: Combine with other ICT concepts
Session-Specific: Target gaps from specific market sessions
⚠️ IMPORTANT NOTES
Performance Considerations
Maximum Objects: Indicator creates multiple visual elements
Historical Limit: Adjust "Previous Days" to balance history vs. performance
Chart Refresh: Allow time for initial loading on historical data
Data Quality
Broker Dependency: Gap detection accuracy depends on data feed quality
Weekend Gaps: Sunday gaps may appear due to data provider differences
Fast Markets: Extremely volatile periods may create false gaps
Best Practices
Timeframe Consistency: Use same timeframe for analysis and execution
Size Calibration: Adjust minimum sizes based on instrument volatility
Session Awareness: Understand which sessions produce most relevant gaps
Confirmation: Use additional ICT concepts to confirm gap validity
ICT Entry Models (Riz)The ICT Entry Models Indicator is a complete framework built to help traders visualize and apply multiple Institutional concepts on a single chart. Instead of relying on one entry technique, this tool combines 14+ ICT entry models and evaluates them under a unified structure. Each model is detected independently but filtered through a multi-factor confluence engine that considers liquidity, higher-timeframe structure, premium/discount zones, and session context. This ensures only high-probability setups are highlighted.
What This Indicator Does
⦁ Detects and plots ICT-based entry models such as: Fair Value Gaps, Order Blocks, Breakers, Liquidity Grabs, Stop Hunts, Asian Range Breakouts, Silver Bullet setups, Power of Three, Judas Swing, Unicorn model, Market Maker models, Previous Day High/Low breaks, and others.
⦁ Automatically validates entries using higher timeframe confirmation and confluence filters.
⦁ Provides risk management tools with structural stop-loss, ATR-based SL, TP1/TP2 targets, and R:R calculations.
⦁ Displays visual trade labels showing direction, strength, and expected risk/reward.
⦁ Includes a performance dashboard that tracks win rates, session stats, and risk outcomes.
How It Works
Each entry model is activated through custom detection logic. The script checks for key conditions like displacement, imbalance, BOS/CHoCH, liquidity sweeps, and premium/discount zones. When multiple models align, the indicator assigns a signal strength rating.
⦁ Weak setups: Highlighted but marked lower confidence.
⦁ Strong setups: Require confluence of liquidity, structure, and time-based filters (e.g., killzones).
⦁ The indicator then calculates a safe stop-loss placement (always on the correct side of price) and take-profit levels based on Goldbach ratios and volatility expansion.
Inputs
⦁ Model Toggles: Enable/disable individual entry models (e.g., FVG only, OB only, or full confluence).
⦁ Confluence Filters: Higher-timeframe structure, premium/discount zones, volatility thresholds.
⦁ Risk Management Settings: ATR multiplier, fixed SL/TP options, R:R target adjustments.
⦁ Dashboard & Visuals: Choose which stats, labels, and levels appear on chart.
How to Use
1. Apply the indicator to any forex, crypto, or index chart.
2. Select your timeframe. For scalping, use 1–5m with HTF confirmation. For day/swing trades, use 15m–1H with HTF overlays.
3. Toggle your preferred entry models (e.g., FVG + Liquidity Sweep) or enable all for confluence.
4. Watch for strong confluence signals: entry marker + calculated SL/TP + dashboard confirmation.
5. Use the signals as decision support not as automated buy/sell triggers.
Notes & Tips
Best used in liquid markets (Majors, Gold, Indices, BTC/ETH).
HTF confirmation greatly improves accuracy e.g., align 1m entries with 15m structure.
Combining time-based models (Silver Bullet, Killzones) with structural models improves precision.
Disclaimer
This tool is for educational and research purposes only. It is not financial advice, nor does it guarantee profitability. All trading involves risk, and users should test thoroughly before applying live.
Manipulation Ribbon [FxScripts]Manipulation Ribbon
Designed to detect areas of price manipulation by Market Makers vs areas where it is trading in a natural, price-driven state. By identifying zones of control and imbalance, the ribbon provides a clear visualization of where price is being held or artificially displaced, offering key insights into potential future direction.
Indicator Function
Unlike traditional oscillators, the Manipulation Ribbon plots a continuous line or ribbon, with no defined y-axis. The ribbon dynamically adapts to market conditions, allowing the user to spot potential manipulation and price containment vs natural price movement.
Calculation Methodology
The Manipulation Ribbon is derived exclusively from price action. The underlying algorithm evaluates where price is, where it should be and where it’s being held.
The resulting ribbon reflects these dynamics in real time, providing a visual framework for interpreting price behavior at a granular level.
Operational Use: Divergences
The primary use of the Manipulation Ribbon is to locate divergences between price and the ribbon.
There are two distinct types of divergence to look for:
Price Containment: Where the ribbon moves but price doesn’t. This can help identify zones where price is being held, often preceding sharp movements once control is released.
Price Manipulation: Where price moves but the ribbon doesn’t. This can help identify liquidity sweeps, often preceding swift reversals once the liquidity has been taken.
Analytical Scenarios
High Liquidity Sweep: Price forms a higher high while the ribbon forms a lower high. Indicates a liquidity sweep may be occurring at the highs and a potential bearish reversal may be imminent.
Low Liquidity Sweep: Price forms a lower low while the ribbon forms a higher low. Indicates a liquidity sweep may be occurring at the lows and a potential bullish reversal may be imminent.
Top Edge Hold: Upwards movement of the ribbon without price followthrough. Indicates price may be being held at the highs, suggesting Market Makers are artificially holding price down in order to create a top edge and potential bearish reversal.
Bottom Edge Hold: Downwards movement of the ribbon without price followthrough. Indicates price may be being held at the lows, suggesting Market Makers are artificially holding price up in order to create a bottom edge and potential bearish reversal.
Settings
Guides: Option to have dynamic guides applied to your chart. Customizable style, color and width.
Guide Lookback: Due to the ribbon having a non-standard y-axis scale, it’s not possible to plot standard interval guides. Due to technical limitations this value is not calculable automatically either. The upper and lower bounds of the guides are therefore calculated using a user-inputted lookback function. In order to ensure the guides use the correct y-axis on the chart, simply input the average number of bars in your current viewport using the ruler, the guides will automatically update to match this.
Line 1 / Band 1: Option to turn on/off Line 1 and Band 1 alongside updating color and linewidth. Line 1 and Band 1 use the current chart symbol as their source.
Line 2 / Band 2: Option to add a second line and/or band to the chart. Use this to compare any correlated instrument e.g. BTCUSDT and ETHUSDT (as visualized in the chart above) or other pairs such as XAUUSD/XAUEUR or ES/NQ. Due to differences in y-axis scaling it's advised to add this as an additional indicator on a new pane (as per chart above).
Inverse Line 2 / Band 2: Option to show/hide the inverse of Line 2 and Band 2. This is useful for comparing inversely correlated symbols e.g. EURUSD and USDCHF.
Performance and Optimization
Backtesting Results: The Manipulation Ribbon has undergone extensive backtesting across various instruments, timeframes and market conditions, demonstrating strong performance in identifying where price is out of sync with its natural state. User backtesting is strongly encouraged as it allows traders to gain familiarity with the ribbon using their preferred instruments and timeframes.
Optimization for Diverse Markets: The Manipulation Ribbon can be used on crypto, forex, indices, commodities and stocks. The Manipulation Ribbon's algorithmic foundation ensures consistent performance across a variety of instruments. The lack of complex settings makes it easy for the trader to set up and go.
Educational Resources and Support
Users of the Manipulation Ribbon benefit from comprehensive educational resources and full access to FxScripts Support. This ensures traders can maximize the potential of the Manipulation Ribbon and other tools in the Sigma Indicator Suite by learning best practices and gaining insights from an experienced team of traders.
RT-Signal LiteRT-Signal Lite — Learning & Price-Action Companion (EN)
Protected script – source code is not visible. Educational tool for learning structured entries, filters and risk management.
What it is
RT-Signal Lite is a learning-first price-action indicator that helps you turn chart context into repeatable entries. It combines a score engine (trend, momentum, volume, divergences) with optional pattern/structure filters, a clear signal panel, and a visual TP/SL ladder in R-multiples.
How it helps you learn
• Practice exact entry logic (Cross/Pullback/Breakout with optional Retest).
• See why a setup is allowed or blocked (FVG/HTF proximity, ADX/DI, Volume Z, Liquidity sweep etc.).
• Train risk thinking with R-based TP ladder, BE/Trailing, “SL-Fishing” concept and a compact monthly performance table (educational only).
• Multi-TF RSI panel + simple market labels keep the big picture in view.
• Works great in Replay mode for bar-by-bar drills.
Quick start
Pick a supported timeframe (3/5/15/30/45/60/240/D by default; or add your own in Settings → Timeframe-Gate).
Choose an Entry Mode : CrossOnly / Pullback / Breakout (with ATR buffer) / Retest / Any.
Keep default risk presets (ATR or Structure SL, TP1 in R, step in R, optional BE/Trailing).
Read the Signal Box : direction, Entry/SL/SL-Fishing, TP1…TPn, status, VIX/VDAX state, score & confidence.
Use Trend Box for MTF RSI and a quick checklist (Breakout, Volume OK, Divergence, VIX allowed).
Train in Replay → journal your decisions.
Main features (Lite)
• Entry engine : SMA cross, EMA pullback bounce, prior HH/LL breakout with ATR buffer, optional strict Retest window; candlestick assists (Hammer/Shooting Star, Engulfing, Morning/Evening Star, Doji, Inside Bar, 3 Soldiers/Crows).
• Filters : ADX/DI thresholds (TF-aware), Volume (level & Z-score), RSI divergences (pivot-anchored), ATR/Close regime, FOMO-bar guard, Liquidity sweep window, Opposite Order-Block distance, FVG zone gating, HTF zone proximity, optional VIX/VDAX gate (auto picks VDAX for DAX).
• Structure : Support/Resistance lines, classical FVG (lifetime & mitigation), robust Order-Blocks with separate states and mitigation logic.
• Scanners : Triangle breakout (Lite).
• Risk & exits : Structure/ATR SL, SL-Fishing buffer, TP ladder in R (TP1…TPn), optional BE & Trailing after TP1, cooldown, max bars in trade.
• UI : Signal Box, Trend Box, local trade boxes/lines (entry/sl/tp), watermark, monthly performance table (one outcome per trade: highest TP or SL-Fishing; counted by exit/entry month – for learning only).
• Alerts : Alerts are available in PRO only.
• Privacy : Compiled & protected; source code is not visible.
Key inputs (short list)
Entry mode • Breakout ATR buffer • Retest window/strict • Pullback bounce •
Risk: min R:R, Structure/ATR SL, ATR multiplier, TP ladder, BE/Trail, Cooldown •
Filters: ADX/DI, Volume/Z, ATR regime, RSI limits, FVG/HTF gates, Liquidity sweep, Opp. OB distance •
Scanners: Triangle (Lite) • RSI-MTF toggles • Visuals (Signal/Trend boxes, SR, OB/FVG).
Markets & timeframes
Indices (US/DE), commodities, crypto, forex, stocks.
Works on the whitelisted/custom TFs (e.g., 3/5/15/30/45/60/240/D). Heikin-Ashi and some feeds may change results; volume-based filters need reliable volume.
Best practice (learning workflow)
• Start with 5m/15m/1h on liquid symbols.
• Train in Replay: define entry, see blockers, adjust rules, collect screenshots.
• Move to live observation (paper/sim) only after you can explain every entry/avoidance.
• Use strict risk: position sizing to SL, no over-optimization, no promises.
FAQ — “No signal?” (common blockers)
TF not allowed • Cooldown active • ADX/DI below threshold • VIX/VDAX gate off •
Retest not hit yet • FVG/HTF gate blocking • FOMO bar filtered • Min R:R to next level not met • Opposite OB too close • Liquidity sweep window not satisfied.
PRO upgrade
Adds alerts and extra scanners (Range/Channel/Double-Top/Bottom), more visualization and flexibility. Links are provided inside the script under Settings → Info .
Disclaimer
For educational purposes only. No financial advice. No performance guarantee. Always validate signals in context (structure, liquidity, volatility, news). You are fully responsible for your decisions and risk.
PAT [PieTrader]This Pine Script (//@version=6) is an advanced Price Action Toolkit (PAT) – PieTrader, enhanced by the PieTrader community to combine core Smart Money Concepts into one visual framework. It integrates market structure, liquidity sweeps, order blocks, and dynamic trendlines, with customizable settings for flexibility.
Market Structure (Zigzag): The script tracks trend shifts using a configurable zigzag length. Swing highs and lows are recorded, and optional zigzag lines visualise price movement. Structure shifts are highlighted with Change of Character (CHoCH) or Break of Structure (BoS) labels, providing clear signals of directional intent.
Order Blocks: On detecting structure breaks, bullish and bearish order blocks are marked with ATR-based zones. These are drawn as shaded boxes, with user control over how many remain visible. Invalid or broken blocks are automatically removed to keep the chart clean.
Liquidity Sweeps: Pivot highs and lows over a chosen lookback define liquidity levels. These are shown as horizontal lines that switch to dashed style once swept by price. Markers (“x”) identify sweep points, helping traders spot liquidity grabs. To optimise performance, older levels are deleted beyond a fixed storage limit.
Trendlines: Using pivot detection, the system identifies bullish and bearish trendlines. Valid lines with upward or downward slopes are extended in real time, updating dynamically with price. Bullish lines are teal; bearish lines are red.
Additional Features: A watermark option displays “PieTrader” on the chart, and colour themes are fully customizable.
In summary, the PieTrader community’s enhancements make this toolkit a comprehensive visual aid for analysing market structure, liquidity, and trend alignment within a streamlined charting solution.
ATAI Volume analysis with price action V 1.00ATAI Volume Analysis with Price Action
1. Introduction
1.1 Overview
ATAI Volume Analysis with Price Action is a composite indicator designed for TradingView. It combines per‑side volume data —that is, how much buying and selling occurs during each bar—with standard price‑structure elements such as swings, trend lines and support/resistance. By blending these elements the script aims to help a trader understand which side is in control, whether a breakout is genuine, when markets are potentially exhausted and where liquidity providers might be active.
The indicator is built around TradingView’s up/down volume feed accessed via the TradingView/ta/10 library. The following excerpt from the script illustrates how this feed is configured:
import TradingView/ta/10 as tvta
// Determine lower timeframe string based on user choice and chart resolution
string lower_tf_breakout = use_custom_tf_input ? custom_tf_input :
timeframe.isseconds ? "1S" :
timeframe.isintraday ? "1" :
timeframe.isdaily ? "5" : "60"
// Request up/down volume (both positive)
= tvta.requestUpAndDownVolume(lower_tf_breakout)
Lower‑timeframe selection. If you do not specify a custom lower timeframe, the script chooses a default based on your chart resolution: 1 second for second charts, 1 minute for intraday charts, 5 minutes for daily charts and 60 minutes for anything longer. Smaller intervals provide a more precise view of buyer and seller flow but cover fewer bars. Larger intervals cover more history at the cost of granularity.
Tick vs. time bars. Many trading platforms offer a tick / intrabar calculation mode that updates an indicator on every trade rather than only on bar close. Turning on one‑tick calculation will give the most accurate split between buy and sell volume on the current bar, but it typically reduces the amount of historical data available. For the highest fidelity in live trading you can enable this mode; for studying longer histories you might prefer to disable it. When volume data is completely unavailable (some instruments and crypto pairs), all modules that rely on it will remain silent and only the price‑structure backbone will operate.
Figure caption, Each panel shows the indicator’s info table for a different volume sampling interval. In the left chart, the parentheses “(5)” beside the buy‑volume figure denote that the script is aggregating volume over five‑minute bars; the center chart uses “(1)” for one‑minute bars; and the right chart uses “(1T)” for a one‑tick interval. These notations tell you which lower timeframe is driving the volume calculations. Shorter intervals such as 1 minute or 1 tick provide finer detail on buyer and seller flow, but they cover fewer bars; longer intervals like five‑minute bars smooth the data and give more history.
Figure caption, The values in parentheses inside the info table come directly from the Breakout — Settings. The first row shows the custom lower-timeframe used for volume calculations (e.g., “(1)”, “(5)”, or “(1T)”)
2. Price‑Structure Backbone
Even without volume, the indicator draws structural features that underpin all other modules. These features are always on and serve as the reference levels for subsequent calculations.
2.1 What it draws
• Pivots: Swing highs and lows are detected using the pivot_left_input and pivot_right_input settings. A pivot high is identified when the high recorded pivot_right_input bars ago exceeds the highs of the preceding pivot_left_input bars and is also higher than (or equal to) the highs of the subsequent pivot_right_input bars; pivot lows follow the inverse logic. The indicator retains only a fixed number of such pivot points per side, as defined by point_count_input, discarding the oldest ones when the limit is exceeded.
• Trend lines: For each side, the indicator connects the earliest stored pivot and the most recent pivot (oldest high to newest high, and oldest low to newest low). When a new pivot is added or an old one drops out of the lookback window, the line’s endpoints—and therefore its slope—are recalculated accordingly.
• Horizontal support/resistance: The highest high and lowest low within the lookback window defined by length_input are plotted as horizontal dashed lines. These serve as short‑term support and resistance levels.
• Ranked labels: If showPivotLabels is enabled the indicator prints labels such as “HH1”, “HH2”, “LL1” and “LL2” near each pivot. The ranking is determined by comparing the price of each stored pivot: HH1 is the highest high, HH2 is the second highest, and so on; LL1 is the lowest low, LL2 is the second lowest. In the case of equal prices the newer pivot gets the better rank. Labels are offset from price using ½ × ATR × label_atr_multiplier, with the ATR length defined by label_atr_len_input. A dotted connector links each label to the candle’s wick.
2.2 Key settings
• length_input: Window length for finding the highest and lowest values and for determining trend line endpoints. A larger value considers more history and will generate longer trend lines and S/R levels.
• pivot_left_input, pivot_right_input: Strictness of swing confirmation. Higher values require more bars on either side to form a pivot; lower values create more pivots but may include minor swings.
• point_count_input: How many pivots are kept in memory on each side. When new pivots exceed this number the oldest ones are discarded.
• label_atr_len_input and label_atr_multiplier: Determine how far pivot labels are offset from the bar using ATR. Increasing the multiplier moves labels further away from price.
• Styling inputs for trend lines, horizontal lines and labels (color, width and line style).
Figure caption, The chart illustrates how the indicator’s price‑structure backbone operates. In this daily example, the script scans for bars where the high (or low) pivot_right_input bars back is higher (or lower) than the preceding pivot_left_input bars and higher or lower than the subsequent pivot_right_input bars; only those bars are marked as pivots.
These pivot points are stored and ranked: the highest high is labelled “HH1”, the second‑highest “HH2”, and so on, while lows are marked “LL1”, “LL2”, etc. Each label is offset from the price by half of an ATR‑based distance to keep the chart clear, and a dotted connector links the label to the actual candle.
The red diagonal line connects the earliest and latest stored high pivots, and the green line does the same for low pivots; when a new pivot is added or an old one drops out of the lookback window, the end‑points and slopes adjust accordingly. Dashed horizontal lines mark the highest high and lowest low within the current lookback window, providing visual support and resistance levels. Together, these elements form the structural backbone that other modules reference, even when volume data is unavailable.
3. Breakout Module
3.1 Concept
This module confirms that a price break beyond a recent high or low is supported by a genuine shift in buying or selling pressure. It requires price to clear the highest high (“HH1”) or lowest low (“LL1”) and, simultaneously, that the winning side shows a significant volume spike, dominance and ranking. Only when all volume and price conditions pass is a breakout labelled.
3.2 Inputs
• lookback_break_input : This controls the number of bars used to compute moving averages and percentiles for volume. A larger value smooths the averages and percentiles but makes the indicator respond more slowly.
• vol_mult_input : The “spike” multiplier; the current buy or sell volume must be at least this multiple of its moving average over the lookback window to qualify as a breakout.
• rank_threshold_input (0–100) : Defines a volume percentile cutoff: the current buyer/seller volume must be in the top (100−threshold)%(100−threshold)% of all volumes within the lookback window. For example, if set to 80, the current volume must be in the top 20 % of the lookback distribution.
• ratio_threshold_input (0–1) : Specifies the minimum share of total volume that the buyer (for a bullish breakout) or seller (for bearish) must hold on the current bar; the code also requires that the cumulative buyer volume over the lookback window exceeds the seller volume (and vice versa for bearish cases).
• use_custom_tf_input / custom_tf_input : When enabled, these inputs override the automatic choice of lower timeframe for up/down volume; otherwise the script selects a sensible default based on the chart’s timeframe.
• Label appearance settings : Separate options control the ATR-based offset length, offset multiplier, label size and colors for bullish and bearish breakout labels, as well as the connector style and width.
3.3 Detection logic
1. Data preparation : Retrieve per‑side volume from the lower timeframe and take absolute values. Build rolling arrays of the last lookback_break_input values to compute simple moving averages (SMAs), cumulative sums and percentile ranks for buy and sell volume.
2. Volume spike: A spike is flagged when the current buy (or, in the bearish case, sell) volume is at least vol_mult_input times its SMA over the lookback window.
3. Dominance test: The buyer’s (or seller’s) share of total volume on the current bar must meet or exceed ratio_threshold_input. In addition, the cumulative sum of buyer volume over the window must exceed the cumulative sum of seller volume for a bullish breakout (and vice versa for bearish). A separate requirement checks the sign of delta: for bullish breakouts delta_breakout must be non‑negative; for bearish breakouts it must be non‑positive.
4. Percentile rank: The current volume must fall within the top (100 – rank_threshold_input) percent of the lookback distribution—ensuring that the spike is unusually large relative to recent history.
5. Price test: For a bullish signal, the closing price must close above the highest pivot (HH1); for a bearish signal, the close must be below the lowest pivot (LL1).
6. Labeling: When all conditions above are satisfied, the indicator prints “Breakout ↑” above the bar (bullish) or “Breakout ↓” below the bar (bearish). Labels are offset using half of an ATR‑based distance and linked to the candle with a dotted connector.
Figure caption, (Breakout ↑ example) , On this daily chart, price pushes above the red trendline and the highest prior pivot (HH1). The indicator recognizes this as a valid breakout because the buyer‑side volume on the lower timeframe spikes above its recent moving average and buyers dominate the volume statistics over the lookback period; when combined with a close above HH1, this satisfies the breakout conditions. The “Breakout ↑” label appears above the candle, and the info table highlights that up‑volume is elevated relative to its 11‑bar average, buyer share exceeds the dominance threshold and money‑flow metrics support the move.
Figure caption, In this daily example, price breaks below the lowest pivot (LL1) and the lower green trendline. The indicator identifies this as a bearish breakout because sell‑side volume is sharply elevated—about twice its 11‑bar average—and sellers dominate both the bar and the lookback window. With the close falling below LL1, the script triggers a Breakout ↓ label and marks the corresponding row in the info table, which shows strong down volume, negative delta and a seller share comfortably above the dominance threshold.
4. Market Phase Module (Volume Only)
4.1 Concept
Not all markets trend; many cycle between periods of accumulation (buying pressure building up), distribution (selling pressure dominating) and neutral behavior. This module classifies the current bar into one of these phases without using ATR , relying solely on buyer and seller volume statistics. It looks at net flows, ratio changes and an OBV‑like cumulative line with dual‑reference (1‑ and 2‑bar) trends. The result is displayed both as on‑chart labels and in a dedicated row of the info table.
4.2 Inputs
• phase_period_len: Number of bars over which to compute sums and ratios for phase detection.
• phase_ratio_thresh : Minimum buyer share (for accumulation) or minimum seller share (for distribution, derived as 1 − phase_ratio_thresh) of the total volume.
• strict_mode: When enabled, both the 1‑bar and 2‑bar changes in each statistic must agree on the direction (strict confirmation); when disabled, only one of the two references needs to agree (looser confirmation).
• Color customisation for info table cells and label styling for accumulation and distribution phases, including ATR length, multiplier, label size, colors and connector styles.
• show_phase_module: Toggles the entire phase detection subsystem.
• show_phase_labels: Controls whether on‑chart labels are drawn when accumulation or distribution is detected.
4.3 Detection logic
The module computes three families of statistics over the volume window defined by phase_period_len:
1. Net sum (buyers minus sellers): net_sum_phase = Σ(buy) − Σ(sell). A positive value indicates a predominance of buyers. The code also computes the differences between the current value and the values 1 and 2 bars ago (d_net_1, d_net_2) to derive up/down trends.
2. Buyer ratio: The instantaneous ratio TF_buy_breakout / TF_tot_breakout and the window ratio Σ(buy) / Σ(total). The current ratio must exceed phase_ratio_thresh for accumulation or fall below 1 − phase_ratio_thresh for distribution. The first and second differences of the window ratio (d_ratio_1, d_ratio_2) determine trend direction.
3. OBV‑like cumulative net flow: An on‑balance volume analogue obv_net_phase increments by TF_buy_breakout − TF_sell_breakout each bar. Its differences over the last 1 and 2 bars (d_obv_1, d_obv_2) provide trend clues.
The algorithm then combines these signals:
• For strict mode , accumulation requires: (a) current ratio ≥ threshold, (b) cumulative ratio ≥ threshold, (c) both ratio differences ≥ 0, (d) net sum differences ≥ 0, and (e) OBV differences ≥ 0. Distribution is the mirror case.
• For loose mode , it relaxes the directional tests: either the 1‑ or the 2‑bar difference needs to agree in each category.
If all conditions for accumulation are satisfied, the phase is labelled “Accumulation” ; if all conditions for distribution are satisfied, it’s labelled “Distribution” ; otherwise the phase is “Neutral” .
4.4 Outputs
• Info table row : Row 8 displays “Market Phase (Vol)” on the left and the detected phase (Accumulation, Distribution or Neutral) on the right. The text colour of both cells matches a user‑selectable palette (typically green for accumulation, red for distribution and grey for neutral).
• On‑chart labels : When show_phase_labels is enabled and a phase persists for at least one bar, the module prints a label above the bar ( “Accum” ) or below the bar ( “Dist” ) with a dashed or dotted connector. The label is offset using ATR based on phase_label_atr_len_input and phase_label_multiplier and is styled according to user preferences.
Figure caption, The chart displays a red “Dist” label above a particular bar, indicating that the accumulation/distribution module identified a distribution phase at that point. The detection is based on seller dominance: during that bar, the net buyer-minus-seller flow and the OBV‑style cumulative flow were trending down, and the buyer ratio had dropped below the preset threshold. These conditions satisfy the distribution criteria in strict mode. The label is placed above the bar using an ATR‑based offset and a dashed connector. By the time of the current bar in the screenshot, the phase indicator shows “Neutral” in the info table—signaling that neither accumulation nor distribution conditions are currently met—yet the historical “Dist” label remains to mark where the prior distribution phase began.
Figure caption, In this example the market phase module has signaled an Accumulation phase. Three bars before the current candle, the algorithm detected a shift toward buyers: up‑volume exceeded its moving average, down‑volume was below average, and the buyer share of total volume climbed above the threshold while the on‑balance net flow and cumulative ratios were trending upwards. The blue “Accum” label anchored below that bar marks the start of the phase; it remains on the chart because successive bars continue to satisfy the accumulation conditions. The info table confirms this: the “Market Phase (Vol)” row still reads Accumulation, and the ratio and sum rows show buyers dominating both on the current bar and across the lookback window.
5. OB/OS Spike Module
5.1 What overbought/oversold means here
In many markets, a rapid extension up or down is often followed by a period of consolidation or reversal. The indicator interprets overbought (OB) conditions as abnormally strong selling risk at or after a price rally and oversold (OS) conditions as unusually strong buying risk after a decline. Importantly, these are not direct trade signals; rather they flag areas where caution or contrarian setups may be appropriate.
5.2 Inputs
• minHits_obos (1–7): Minimum number of oscillators that must agree on an overbought or oversold condition for a label to print.
• syncWin_obos: Length of a small sliding window over which oscillator votes are smoothed by taking the maximum count observed. This helps filter out choppy signals.
• Volume spike criteria: kVolRatio_obos (ratio of current volume to its SMA) and zVolThr_obos (Z‑score threshold) across volLen_obos. Either threshold can trigger a spike.
• Oscillator toggles and periods: Each of RSI, Stochastic (K and D), Williams %R, CCI, MFI, DeMarker and Stochastic RSI can be independently enabled; their periods are adjustable.
• Label appearance: ATR‑based offset, size, colors for OB and OS labels, plus connector style and width.
5.3 Detection logic
1. Directional volume spikes: Volume spikes are computed separately for buyer and seller volumes. A sell volume spike (sellVolSpike) flags a potential OverBought bar, while a buy volume spike (buyVolSpike) flags a potential OverSold bar. A spike occurs when the respective volume exceeds kVolRatio_obos times its simple moving average over the window or when its Z‑score exceeds zVolThr_obos.
2. Oscillator votes: For each enabled oscillator, calculate its overbought and oversold state using standard thresholds (e.g., RSI ≥ 70 for OB and ≤ 30 for OS; Stochastic %K/%D ≥ 80 for OB and ≤ 20 for OS; etc.). Count how many oscillators vote for OB and how many vote for OS.
3. Minimum hits: Apply the smoothing window syncWin_obos to the vote counts using a maximum‑of‑last‑N approach. A candidate bar is only considered if the smoothed OB hit count ≥ minHits_obos (for OverBought) or the smoothed OS hit count ≥ minHits_obos (for OverSold).
4. Tie‑breaking: If both OverBought and OverSold spike conditions are present on the same bar, compare the smoothed hit counts: the side with the higher count is selected; ties default to OverBought.
5. Label printing: When conditions are met, the bar is labelled as “OverBought X/7” above the candle or “OverSold X/7” below it. “X” is the number of oscillators confirming, and the bracket lists the abbreviations of contributing oscillators. Labels are offset from price using half of an ATR‑scaled distance and can optionally include a dotted or dashed connector line.
Figure caption, In this chart the overbought/oversold module has flagged an OverSold signal. A sell‑off from the prior highs brought price down to the lower trend‑line, where the bar marked “OverSold 3/7 DeM” appears. This label indicates that on that bar the module detected a buy‑side volume spike and that at least three of the seven enabled oscillators—in this case including the DeMarker—were in oversold territory. The label is printed below the candle with a dotted connector, signaling that the market may be temporarily exhausted on the downside. After this oversold print, price begins to rebound towards the upper red trend‑line and higher pivot levels.
Figure caption, This example shows the overbought/oversold module in action. In the left‑hand panel you can see the OB/OS settings where each oscillator (RSI, Stochastic, Williams %R, CCI, MFI, DeMarker and Stochastic RSI) can be enabled or disabled, and the ATR length and label offset multiplier adjusted. On the chart itself, price has pushed up to the descending red trendline and triggered an “OverBought 3/7” label. That means the sell‑side volume spiked relative to its average and three out of the seven enabled oscillators were in overbought territory. The label is offset above the candle by half of an ATR and connected with a dashed line, signaling that upside momentum may be overextended and a pause or pullback could follow.
6. Buyer/Seller Trap Module
6.1 Concept
A bull trap occurs when price appears to break above resistance, attracting buyers, but fails to sustain the move and quickly reverses, leaving a long upper wick and trapping late entrants. A bear trap is the opposite: price breaks below support, lures in sellers, then snaps back, leaving a long lower wick and trapping shorts. This module detects such traps by looking for price structure sweeps, order‑flow mismatches and dominance reversals. It uses a scoring system to differentiate risk from confirmed traps.
6.2 Inputs
• trap_lookback_len: Window length used to rank extremes and detect sweeps.
• trap_wick_threshold: Minimum proportion of a bar’s range that must be wick (upper for bull traps, lower for bear traps) to qualify as a sweep.
• trap_score_risk: Minimum aggregated score required to flag a trap risk. (The code defines a trap_score_confirm input, but confirmation is actually based on price reversal rather than a separate score threshold.)
• trap_confirm_bars: Maximum number of bars allowed for price to reverse and confirm the trap. If price does not reverse in this window, the risk label will expire or remain unconfirmed.
• Label settings: ATR length and multiplier for offsetting, size, colours for risk and confirmed labels, and connector style and width. Separate settings exist for bull and bear traps.
• Toggle inputs: show_trap_module and show_trap_labels enable the module and control whether labels are drawn on the chart.
6.3 Scoring logic
The module assigns points to several conditions and sums them to determine whether a trap risk is present. For bull traps, the score is built from the following (bear traps mirror the logic with highs and lows swapped):
1. Sweep (2 points): Price trades above the high pivot (HH1) but fails to close above it and leaves a long upper wick at least trap_wick_threshold × range. For bear traps, price dips below the low pivot (LL1), fails to close below and leaves a long lower wick.
2. Close break (1 point): Price closes beyond HH1 or LL1 without leaving a long wick.
3. Candle/delta mismatch (2 points): The candle closes bullish yet the order flow delta is negative or the seller ratio exceeds 50%, indicating hidden supply. Conversely, a bearish close with positive delta or buyer dominance suggests hidden demand.
4. Dominance inversion (2 points): The current bar’s buyer volume has the highest rank in the lookback window while cumulative sums favor sellers, or vice versa.
5. Low‑volume break (1 point): Price crosses the pivot but total volume is below its moving average.
The total score for each side is compared to trap_score_risk. If the score is high enough, a “Bull Trap Risk” or “Bear Trap Risk” label is drawn, offset from the candle by half of an ATR‑scaled distance using a dashed outline. If, within trap_confirm_bars, price reverses beyond the opposite level—drops back below the high pivot for bull traps or rises above the low pivot for bear traps—the label is upgraded to a solid “Bull Trap” or “Bear Trap” . In this version of the code, there is no separate score threshold for confirmation: the variable trap_score_confirm is unused; confirmation depends solely on a successful price reversal within the specified number of bars.
Figure caption, In this example the trap module has flagged a Bear Trap Risk. Price initially breaks below the most recent low pivot (LL1), but the bar closes back above that level and leaves a long lower wick, suggesting a failed push lower. Combined with a mismatch between the candle direction and the order flow (buyers regain control) and a reversal in volume dominance, the aggregate score exceeds the risk threshold, so a dashed “Bear Trap Risk” label prints beneath the bar. The green and red trend lines mark the current low and high pivot trajectories, while the horizontal dashed lines show the highest and lowest values in the lookback window. If, within the next few bars, price closes decisively above the support, the risk label would upgrade to a solid “Bear Trap” label.
Figure caption, In this example the trap module has identified both ends of a price range. Near the highs, price briefly pushes above the descending red trendline and the recent pivot high, but fails to close there and leaves a noticeable upper wick. That combination of a sweep above resistance and order‑flow mismatch generates a Bull Trap Risk label with a dashed outline, warning that the upside break may not hold. At the opposite extreme, price later dips below the green trendline and the labelled low pivot, then quickly snaps back and closes higher. The long lower wick and subsequent price reversal upgrade the previous bear‑trap risk into a confirmed Bear Trap (solid label), indicating that sellers were caught on a false breakdown. Horizontal dashed lines mark the highest high and lowest low of the lookback window, while the red and green diagonals connect the earliest and latest pivot highs and lows to visualize the range.
7. Sharp Move Module
7.1 Concept
Markets sometimes display absorption or climax behavior—periods when one side steadily gains the upper hand before price breaks out with a sharp move. This module evaluates several order‑flow and volume conditions to anticipate such moves. Users can choose how many conditions must be met to flag a risk and how many (plus a price break) are required for confirmation.
7.2 Inputs
• sharp Lookback: Number of bars in the window used to compute moving averages, sums, percentile ranks and reference levels.
• sharpPercentile: Minimum percentile rank for the current side’s volume; the current buy (or sell) volume must be greater than or equal to this percentile of historical volumes over the lookback window.
• sharpVolMult: Multiplier used in the volume climax check. The current side’s volume must exceed this multiple of its average to count as a climax.
• sharpRatioThr: Minimum dominance ratio (current side’s volume relative to the opposite side) used in both the instant and cumulative dominance checks.
• sharpChurnThr: Maximum ratio of a bar’s range to its ATR for absorption/churn detection; lower values indicate more absorption (large volume in a small range).
• sharpScoreRisk: Minimum number of conditions that must be true to print a risk label.
• sharpScoreConfirm: Minimum number of conditions plus a price break required for confirmation.
• sharpCvdThr: Threshold for cumulative delta divergence versus price change (positive for bullish accumulation, negative for bearish distribution).
• Label settings: ATR length (sharpATRlen) and multiplier (sharpLabelMult) for positioning labels, label size, colors and connector styles for bullish and bearish sharp moves.
• Toggles: enableSharp activates the module; show_sharp_labels controls whether labels are drawn.
7.3 Conditions (six per side)
For each side, the indicator computes six boolean conditions and sums them to form a score:
1. Dominance (instant and cumulative):
– Instant dominance: current buy volume ≥ sharpRatioThr × current sell volume.
– Cumulative dominance: sum of buy volumes over the window ≥ sharpRatioThr × sum of sell volumes (and vice versa for bearish checks).
2. Accumulation/Distribution divergence: Over the lookback window, cumulative delta rises by at least sharpCvdThr while price fails to rise (bullish), or cumulative delta falls by at least sharpCvdThr while price fails to fall (bearish).
3. Volume climax: The current side’s volume is ≥ sharpVolMult × its average and the product of volume and bar range is the highest in the lookback window.
4. Absorption/Churn: The current side’s volume divided by the bar’s range equals the highest value in the window and the bar’s range divided by ATR ≤ sharpChurnThr (indicating large volume within a small range).
5. Percentile rank: The current side’s volume percentile rank is ≥ sharp Percentile.
6. Mirror logic for sellers: The above checks are repeated with buyer and seller roles swapped and the price break levels reversed.
Each condition that passes contributes one point to the corresponding side’s score (0 or 1). Risk and confirmation thresholds are then applied to these scores.
7.4 Scoring and labels
• Risk: If scoreBull ≥ sharpScoreRisk, a “Sharp ↑ Risk” label is drawn above the bar. If scoreBear ≥ sharpScoreRisk, a “Sharp ↓ Risk” label is drawn below the bar.
• Confirmation: A risk label is upgraded to “Sharp ↑” when scoreBull ≥ sharpScoreConfirm and the bar closes above the highest recent pivot (HH1); for bearish cases, confirmation requires scoreBear ≥ sharpScoreConfirm and a close below the lowest pivot (LL1).
• Label positioning: Labels are offset from the candle by ATR × sharpLabelMult (full ATR times multiplier), not half, and may include a dashed or dotted connector line if enabled.
Figure caption, In this chart both bullish and bearish sharp‑move setups have been flagged. Earlier in the range, a “Sharp ↓ Risk” label appears beneath a candle: the sell‑side score met the risk threshold, signaling that the combination of strong sell volume, dominance and absorption within a narrow range suggested a potential sharp decline. The price did not close below the lower pivot, so this label remains a “risk” and no confirmation occurred. Later, as the market recovered and volume shifted back to the buy side, a “Sharp ↑ Risk” label prints above a candle near the top of the channel. Here, buy‑side dominance, cumulative delta divergence and a volume climax aligned, but price has not yet closed above the upper pivot (HH1), so the alert is still a risk rather than a confirmed sharp‑up move.
Figure caption, In this chart a Sharp ↑ label is displayed above a candle, indicating that the sharp move module has confirmed a bullish breakout. Prior bars satisfied the risk threshold — showing buy‑side dominance, positive cumulative delta divergence, a volume climax and strong absorption in a narrow range — and this candle closes above the highest recent pivot, upgrading the earlier “Sharp ↑ Risk” alert to a full Sharp ↑ signal. The green label is offset from the candle with a dashed connector, while the red and green trend lines trace the high and low pivot trajectories and the dashed horizontals mark the highest and lowest values of the lookback window.
8. Market‑Maker / Spread‑Capture Module
8.1 Concept
Liquidity providers often “capture the spread” by buying and selling in almost equal amounts within a very narrow price range. These bars can signal temporary congestion before a move or reflect algorithmic activity. This module flags bars where both buyer and seller volumes are high, the price range is only a few ticks and the buy/sell split remains close to 50%. It helps traders spot potential liquidity pockets.
8.2 Inputs
• scalpLookback: Window length used to compute volume averages.
• scalpVolMult: Multiplier applied to each side’s average volume; both buy and sell volumes must exceed this multiple.
• scalpTickCount: Maximum allowed number of ticks in a bar’s range (calculated as (high − low) / minTick). A value of 1 or 2 captures ultra‑small bars; increasing it relaxes the range requirement.
• scalpDeltaRatio: Maximum deviation from a perfect 50/50 split. For example, 0.05 means the buyer share must be between 45% and 55%.
• Label settings: ATR length, multiplier, size, colors, connector style and width.
• Toggles : show_scalp_module and show_scalp_labels to enable the module and its labels.
8.3 Signal
When, on the current bar, both TF_buy_breakout and TF_sell_breakout exceed scalpVolMult times their respective averages and (high − low)/minTick ≤ scalpTickCount and the buyer share is within scalpDeltaRatio of 50%, the module prints a “Spread ↔” label above the bar. The label uses the same ATR offset logic as other modules and draws a connector if enabled.
Figure caption, In this chart the spread‑capture module has identified a potential liquidity pocket. Buyer and seller volumes both spiked above their recent averages, yet the candle’s range measured only a couple of ticks and the buy/sell split stayed close to 50 %. This combination met the module’s criteria, so it printed a grey “Spread ↔” label above the bar. The red and green trend lines link the earliest and latest high and low pivots, and the dashed horizontals mark the highest high and lowest low within the current lookback window.
9. Money Flow Module
9.1 Concept
To translate volume into a monetary measure, this module multiplies each side’s volume by the closing price. It tracks buying and selling system money default currency on a per-bar basis and sums them over a chosen period. The difference between buy and sell currencies (Δ$) shows net inflow or outflow.
9.2 Inputs
• mf_period_len_mf: Number of bars used for summing buy and sell dollars.
• Label appearance settings: ATR length, multiplier, size, colors for up/down labels, and connector style and width.
• Toggles: Use enableMoneyFlowLabel_mf and showMFLabels to control whether the module and its labels are displayed.
9.3 Calculations
• Per-bar money: Buy $ = TF_buy_breakout × close; Sell $ = TF_sell_breakout × close. Their difference is Δ$ = Buy $ − Sell $.
• Summations: Over mf_period_len_mf bars, compute Σ Buy $, Σ Sell $ and ΣΔ$ using math.sum().
• Info table entries: Rows 9–13 display these values as texts like “↑ USD 1234 (1M)” or “ΣΔ USD −5678 (14)”, with colors reflecting whether buyers or sellers dominate.
• Money flow status: If Δ$ is positive the bar is marked “Money flow in” ; if negative, “Money flow out” ; if zero, “Neutral”. The cumulative status is similarly derived from ΣΔ.Labels print at the bar that changes the sign of ΣΔ, offset using ATR × label multiplier and styled per user preferences.
Figure caption, The chart illustrates a steady rise toward the highest recent pivot (HH1) with price riding between a rising green trend‑line and a red trend‑line drawn through earlier pivot highs. A green Money flow in label appears above the bar near the top of the channel, signaling that net dollar flow turned positive on this bar: buy‑side dollar volume exceeded sell‑side dollar volume, pushing the cumulative sum ΣΔ$ above zero. In the info table, the “Money flow (bar)” and “Money flow Σ” rows both read In, confirming that the indicator’s money‑flow module has detected an inflow at both bar and aggregate levels, while other modules (pivots, trend lines and support/resistance) remain active to provide structural context.
In this example the Money Flow module signals a net outflow. Price has been trending downward: successive high pivots form a falling red trend‑line and the low pivots form a descending green support line. When the latest bar broke below the previous low pivot (LL1), both the bar‑level and cumulative net dollar flow turned negative—selling volume at the close exceeded buying volume and pushed the cumulative Δ$ below zero. The module reacts by printing a red “Money flow out” label beneath the candle; the info table confirms that the “Money flow (bar)” and “Money flow Σ” rows both show Out, indicating sustained dominance of sellers in this period.
10. Info Table
10.1 Purpose
When enabled, the Info Table appears in the lower right of your chart. It summarises key values computed by the indicator—such as buy and sell volume, delta, total volume, breakout status, market phase, and money flow—so you can see at a glance which side is dominant and which signals are active.
10.2 Symbols
• ↑ / ↓ — Up (↑) denotes buy volume or money; down (↓) denotes sell volume or money.
• MA — Moving average. In the table it shows the average value of a series over the lookback period.
• Σ (Sigma) — Cumulative sum over the chosen lookback period.
• Δ (Delta) — Difference between buy and sell values.
• B / S — Buyer and seller share of total volume, expressed as percentages.
• Ref. Price — Reference price for breakout calculations, based on the latest pivot.
• Status — Indicates whether a breakout condition is currently active (True) or has failed.
10.3 Row definitions
1. Up volume / MA up volume – Displays current buy volume on the lower timeframe and its moving average over the lookback period.
2. Down volume / MA down volume – Shows current sell volume and its moving average; sell values are formatted in red for clarity.
3. Δ / ΣΔ – Lists the difference between buy and sell volume for the current bar and the cumulative delta volume over the lookback period.
4. Σ / MA Σ (Vol/MA) – Total volume (buy + sell) for the bar, with the ratio of this volume to its moving average; the right cell shows the average total volume.
5. B/S ratio – Buy and sell share of the total volume: current bar percentages and the average percentages across the lookback period.
6. Buyer Rank / Seller Rank – Ranks the bar’s buy and sell volumes among the last (n) bars; lower rank numbers indicate higher relative volume.
7. Σ Buy / Σ Sell – Sum of buy and sell volumes over the lookback window, indicating which side has traded more.
8. Breakout UP / DOWN – Shows the breakout thresholds (Ref. Price) and whether the breakout condition is active (True) or has failed.
9. Market Phase (Vol) – Reports the current volume‑only phase: Accumulation, Distribution or Neutral.
10. Money Flow – The final rows display dollar amounts and status:
– ↑ USD / Σ↑ USD – Buy dollars for the current bar and the cumulative sum over the money‑flow period.
– ↓ USD / Σ↓ USD – Sell dollars and their cumulative sum.
– Δ USD / ΣΔ USD – Net dollar difference (buy minus sell) for the bar and cumulatively.
– Money flow (bar) – Indicates whether the bar’s net dollar flow is positive (In), negative (Out) or neutral.
– Money flow Σ – Shows whether the cumulative net dollar flow across the chosen period is positive, negative or neutral.
The chart above shows a sequence of different signals from the indicator. A Bull Trap Risk appears after price briefly pushes above resistance but fails to hold, then a green Accum label identifies an accumulation phase. An upward breakout follows, confirmed by a Money flow in print. Later, a Sharp ↓ Risk warns of a possible sharp downturn; after price dips below support but quickly recovers, a Bear Trap label marks a false breakdown. The highlighted info table in the center summarizes key metrics at that moment, including current and average buy/sell volumes, net delta, total volume versus its moving average, breakout status (up and down), market phase (volume), and bar‑level and cumulative money flow (In/Out).
11. Conclusion & Final Remarks
This indicator was developed as a holistic study of market structure and order flow. It brings together several well‑known concepts from technical analysis—breakouts, accumulation and distribution phases, overbought and oversold extremes, bull and bear traps, sharp directional moves, market‑maker spread bars and money flow—into a single Pine Script tool. Each module is based on widely recognized trading ideas and was implemented after consulting reference materials and example strategies, so you can see in real time how these concepts interact on your chart.
A distinctive feature of this indicator is its reliance on per‑side volume: instead of tallying only total volume, it separately measures buy and sell transactions on a lower time frame. This approach gives a clearer view of who is in control—buyers or sellers—and helps filter breakouts, detect phases of accumulation or distribution, recognize potential traps, anticipate sharp moves and gauge whether liquidity providers are active. The money‑flow module extends this analysis by converting volume into currency values and tracking net inflow or outflow across a chosen window.
Although comprehensive, this indicator is intended solely as a guide. It highlights conditions and statistics that many traders find useful, but it does not generate trading signals or guarantee results. Ultimately, you remain responsible for your positions. Use the information presented here to inform your analysis, combine it with other tools and risk‑management techniques, and always make your own decisions when trading.
ICT SIlver Bullet Trading Windows UK times🎯 Purpose of the Indicator
It’s designed to highlight key ICT “macro” and “micro” windows of opportunity, i.e., time ranges where liquidity grabs and algorithmic setups are most likely to occur. The ICT Silver Bullet concept is built on the idea that institutions execute in recurring intraday windows, and these often produce high-probability setups.
🕰️ Windows
London Macro Window
10:00 – 11:00 UK time
This aligns with a major liquidity window after the London equities open settles and London + EU traders reposition.
You’re looking for setups like liquidity sweeps, MSS (market structure shift), and FVG entries here.
New York Macro Window
15:00 – 16:00 UK time (10:00 – 11:00 NY time)
This is right after the NY equities open, a key ICT window for volatility and liquidity grabs.
Power Hour
Usually 20:00 – 21:00 UK time (3pm–4pm NY time), the last trading hour of NY equities.
ICT often refers to this as another manipulation window where setups can form before the daily close.
🔍 What the Indicator Does
Draws session boxes or shading: so you can visually see the London/NY/Power Hour windows directly on your chart.
Macro vs. Micro time frames:
Macro windows → The ones you set (London & NY) are the major daily algo execution windows.
Micro windows → Within those boxes, ICT expects smaller intraday setups (like a Silver Bullet entry from a sweep + FVG).
Guides your trade selection: it tells you when not to hunt trades everywhere, but instead to wait for price action confirmation inside those boxes.
🧩 How This Fits ICT Silver Bullet Trading
The ICT Silver Bullet strategy says:
Wait for one of the macro windows (London or NY).
Look for liquidity sweep → market structure shift → FVG.
Enter with defined risk inside that hour.
This indicator essentially does step 1 for you: it makes those high-probability windows visually obvious, so you don’t waste time trading random hours where algos aren’t active.
Muzyorae - Quarterly CyclesQuarterly Theory — NY Session Macro Model
The Quarterly Theory is a time-based framework for analyzing intraday market behavior during the New York session. It divides the session into four sequential quarters (Q1–Q4), each reflecting institutional activity, liquidity accumulation, and directional bias.
Q1 – Accumulation (9:30–10:00 AM): Early positioning, initial liquidity sweeps, and potential early breakouts (AMDX - XAMD patterns).
Q2 – Manipulation/Expansion (10:00–11:30 AM): Main directional move with structure breaks, fair value gaps, and liquidity sweeps.
Q3 – Distribution/Retracement (11:30 AM–1:30 PM): Consolidation, profit-taking, and market chop.
Q4 – Final Expansion/Repricing (1:30–4:00 PM): Trend continuation, reversals, and session high/low formation.
Key Features:
Fractal-based cycles scalable across intraday or multi-day timeframes.
Supports AMDX (Accumulation → Manipulation → Distribution → Expansion) and XAMD reversal sequences.
Highlights early Q1 expansions, Q2 open reference, and critical liquidity zones.
Fully synchronized to NY time and compatible with ICT concepts (SMT, FVGs, OBs, BOS).
Professional visualization with optional labels and vertical markers.
Purpose:
Provides traders a systematic framework to align with institutional flow, anticipate liquidity accumulation, identify optimal entry/exit zones, and structure trades around high-probability intraday cycles.
MasterClass — FU + AFU (Attempted FU) • with impulse filterThis indicator automatically detects and displays:
FU (Failure/False Breakout) — classic “bank candles”:
🟩 Green diamond below the bar — FU bullish (liquidity taken below, strong move upward).
🟥 Red diamond above the bar — FU bearish (liquidity taken above, reversal downward).
AFU (Attempted FU) — manipulation candles, when the market attempts to sweep liquidity but does not form a full FU:
🔵 Blue circle above the bar — AFU sell-side (attempted liquidity grab above).
🔵 Blue circle below the bar — AFU buy-side (attempted liquidity grab below).
🔹 This indicator helps traders:
Spot liquidity grabs and manipulations.
Identify key entry and reversal points.
Works on any timeframe and any instrument (Forex, Crypto, Stocks).
Global M2 Money Supply -WinCAlgoWhat is this Indicator?
The Global M2 Money Supply Indicator aggregates the M2 money supply data from 20 major economies worldwide, converted to USD. This powerful macro-economic tool tracks the total liquidity injected into the global financial system, providing crucial insights for long-term investment decisions across all asset classes including crypto, stocks, bonds, and commodities.
Key Features:
20 Major Economies: US, EU, China, Japan, UK, Canada, Switzerland, and 13 other significant markets
USD Normalized: All currencies converted to USD for unified comparison
Real-time Data: Updates with latest central bank releases
Time Offset: Adjustable time offset for correlation analysis (-1000 to +1000 days)
Macro Analysis: Essential tool for understanding global liquidity cycles
How to Use:
Long-term Analysis: Use on weekly/monthly timeframes for macro trend identification
Liquidity Cycles: Rising M2 typically correlates with asset price increases
Market Timing: Major inflection points often coincide with policy changes
Cross-Asset Analysis: Compare with Bitcoin, Gold, Stock indices for correlation
Time Offset: Adjust offset to analyze leading/lagging relationships
Trading Applications:
Crypto Analysis: Bitcoin and altcoins often correlate with global liquidity
Stock Markets: Equity valuations tend to follow liquidity expansion/contraction
Commodities: Gold, Silver, and other commodities react to money supply changes
Bond Markets: Interest rate expectations influenced by monetary policy
Currency Analysis: Understand relative strength between major currencies
Investment Strategy:
Rising Trend: Indicates increasing global liquidity - favorable for risk assets
Declining Trend: Suggests tightening conditions - defensive positioning recommended
Acceleration/Deceleration: Changes in slope indicate shifting monetary policy
Correlation Analysis: Use time offset to find optimal lead/lag relationships
Qabas systemQabas System — Multi-Layered Smart Trading Framework
The Qabas System is an advanced all-in-one Pine Script indicator designed to combine institutional-grade analysis, smart entry/exit detection, and adaptive risk management into a single framework. It integrates multiple professional trading concepts into one ecosystem, making it suitable for intraday, swing, and position trading.
⸻
Core Components
1. VSA Engine (Volume Spread Analysis)
Detects institutional footprints (accumulation, distribution, no-demand, supply tests) by analyzing the relationship between candle spread, volume, and close location.
2. Order Blocks (Supply & Demand Zones)
Automatically highlights bullish and bearish order blocks with customizable transparency, showing where institutions left unfilled orders.
3. Smart Traps (Liquidity Traps)
Identifies bull and bear traps by detecting abnormal wicks and volume exhaustion near highs/lows — a common reversal signal.
4. Fibonacci Golden Levels
Draws adaptive retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6) aligned with the current market trend.
5. CPR (Central Pivot Range)
Daily pivot zones acting as magnets for price, helping detect high-probability reversal and breakout areas.
6. Liquidity Zones
Detects liquidity sweeps above highs and below lows combined with strong volume confirmation.
7. Market Structure (Chanlun Waves)
Tracks higher-highs / lower-lows to outline bullish or bearish structural waves.
8. Breakout Engine (Duanxian Gate)
Confirms valid breakouts using EMA/Donchian/Linear Regression baselines with ATR and volume filters.
9. Adaptive Resonance Oscillator (ARO)
A proprietary entry/exit system based on Hilbert transform and RSI resonance, plotting BUY/SELL arrows only when conditions are valid and alternating (to avoid duplicate signals).
⸻
Risk & Trade Management
• Smart ATR / Fibonacci / Structure-based stop loss options.
• Fibonacci / Risk-Reward / Structure-based take profit logic.
• Built-in auto-risk engine with position sizing (% risk per trade).
• ATR-based adaptive targets for breakout scenarios.
⸻
Visualization & Dashboard
• Multiple color themes (Neon, Professional, Matrix, Gold).
• Smart candle coloring for volume spikes and weak drops.
• Order Block boxes with custom transparency.
• A dynamic Arabic/RTL dashboard showing:
• Decision (Buy/Sell/Strong Buy/Strong Sell/Wait)
• Trend strength (across multiple timeframes)
• Volume pressure (Accumulation / Distribution / Neutral)
• Range & Breakout probabilities
⸻
Dynamic Probabilities Engine
The system records historical outcomes near supply/demand boundaries and continuously adapts breakout probability calculations. This enables it to dynamically project probability of ranging vs breaking out, and update targets accordingly.
⸻
How It Works (Step-by-Step)
1. Market Context: Multi-timeframe EMAs define overall trend score.
2. Institutional Clues: VSA, order blocks, traps, CPR, liquidity, and Fibonacci generate signals.
3. Structural Confirmation: Breakouts and wave analysis validate directional bias.
4. Decision Engine: Weighted scoring system fuses all signals into a single decision (BUY / SELL / WAIT) with confidence level.
5. Execution: ARO entry/exit signals provide precise timing inside the broader context.
6. Risk Management: Adaptive stop loss and take profit methods are applied automatically.
⸻
👉 In summary:
The Qabas System acts like an institutional trading toolkit inside one indicator — combining price action, smart volume, liquidity, structure, and adaptive risk to deliver context-aware, probability-driven trade signals with a clear visual dashboard.
Sunmool's Silver Bullet Model FinderICT Silver Bullet Model Indicator - Complete Guide
📈 Overview
The ICT Silver Bullet Model indicator is a supplementary tool for utilizing ICT's (Inner Circle Trader) market structure analysis techniques. This indicator detects institutional liquidity hunting patterns and automatically identifies structural levels, helping traders analyze market structure more effectively.
🎯 Core Features
1. Structural Level Identification
STL (Short Term Low): Recent support levels formed in the short term
STH (Short Term High): Recent resistance levels formed in the short term
ITL (Intermediate Term Low): Stronger support levels with more significance
ITH (Intermediate Term High): Stronger resistance levels with more significance
2. Kill Zone Time Display
London Kill Zone: 02:00-05:00 (default)
New York Kill Zone: 08:30-11:00 (default)
These are the most active trading hours for institutional players where significant price movements occur
3. Smart Sweep Detection
Bear Sweep (🔻): Pattern where price sweeps below lows then recovers - Simply indicates sweep occurrence
Bull Sweep (🔺): Pattern where price sweeps above highs then declines - Simply indicates sweep occurrence
Important: Sweep labels only mark liquidity hunting locations, not directional bias.
🔧 Configuration Parameters
Basic Settings
Sweep Detection Lookback: Number of candles for sweep detection (default: 20)
Structure Point Lookback: Number of candles for structural point detection (default: 10)
Sweep Threshold: Percentage threshold for sweep validation (default: 0.1%)
Time Settings
London Kill Zone: Active hours for London session
New York Kill Zone: Active hours for New York session
Visualization Settings
Customizable colors for each level type
Enable/disable alert notifications
📊 How to Use
1. Chart Setup
Most effective on 1-minute to 1-hour timeframes
Recommended for major currency pairs (EUR/USD, GBP/USD, etc.)
Also applicable to cryptocurrencies and indices
2. Signal Interpretation
🔻 Bear Sweep / 🔺 Bull Sweep Labels
Simply indicate liquidity hunting occurrence points
Not directional bias indicators
Reference for understanding overall context on HTF
🟢 Silver Bullet Long (Huge Green Triangle)
After Bear Sweep occurrence
Within Kill Zone timeframe
Current price positioned above swept level
→ Actual BUY entry signal
🔴 Silver Bullet Short (Huge Red Triangle)
After Bull Sweep occurrence
Within Kill Zone timeframe
Current price positioned below swept level
→ Actual SELL entry signal
3. Risk Management
Use swept levels as stop-loss reference points
Approach signals outside Kill Zone hours with caution
Recommended to use alongside other technical analysis tools
💡 Trading Strategies
Silver Bullet Strategy
Preparation Phase: Monitor charts 30 minutes before Kill Zone
Sweep Observation: Identify liquidity hunting points with 🔻🔺 labels (reference only)
Entry: Enter ONLY when huge triangle Silver Bullet signal appears within Kill Zone
Take Profit: Target opposite structural level or 1:2 reward ratio
Stop Loss: Beyond the swept level
Important: Small sweep labels are NOT trading signals!
Multi-Timeframe Approach
Step 1: HTF (Higher Time Frame) Sweep Reference
Observe 🔻🔺 sweep labels on 4-hour and daily charts
Reference only sweeps occurring at major structural levels
HTF sweeps are used to identify liquidity hunting points
Reference only, not for directional bias
Step 2: Transition to LTF (Lower Time Frame)
Move to 15-minute, 5-minute, and 1-minute charts
Analyze LTF with reference to HTF sweep information
Use STL, STH, ITL, ITH for precise entry point identification
Structural levels on LTF are the core of actual trading decisions
Only huge triangle (Silver Bullet) signals are actual entry signals
Recommended Usage
Identify overall sweep occurrence points on HTF (🔻🔺 labels)
Use this indicator on LTF to identify structural levels
Reference only huge triangle signals for actual trading during Kill Zone
Small sweep labels (🔻🔺) are for reference only, not entry signals
📋 Information Table Interpretation
Real-time information in the top-right table:
Kill Zone Status: Current active session status
Level Counts: Number of each structural level type
⚠️ Important Disclaimers
Backtesting results do not guarantee future performance
Exercise caution during high market volatility periods
Always apply proper risk management
Recommend comprehensive analysis with other analytical tools
🎓 Learning Resources
Study original ICT concepts through free YouTube educational content
Research Market Structure analysis techniques
Optimize through backtesting for personal use
🔬 Technical Implementation
Algorithm Logic
Pivot Point Detection: Uses TradingView's built-in pivot functions to identify swing highs and lows
Classification System: Automatically categorizes levels based on recent price action frequency
Sweep Validation: Confirms legitimate sweeps through price action analysis
Time-Based Filtering: Prioritizes signals during institutional active hours
Performance Optimization
Efficient array management prevents memory overflow
Dynamic level cleanup maintains chart clarity
Real-time calculation ensures minimal lag
🛠️ Customization Tips
Adjust lookback periods based on market volatility
Modify kill zone times for different market sessions
Experiment with sweep threshold for different instruments
Color-code levels according to personal preference
📈 Expected Outcomes
When properly implemented, this indicator can help traders:
Identify high-probability reversal points
Time entries with institutional flow
Reduce false signals through kill zone filtering
Improve risk-to-reward ratios
This indicator automates ICT's concepts into a user-friendly tool that can be enhanced through continuous learning and practical application. Success depends on understanding the underlying market structure principles and combining them with proper risk management techniques.
Erendev - Sessions for SweepsDescription:
This indicator is designed for intraday traders who focus on liquidity sweeps and session-based market structure.
It automatically draws session boxes for Asia, London, New York, and New York PM and highlights the highs and lows of each session. These levels act as important liquidity reference points.
How it works:
Session Boxes: Visualizes each trading session (Asia, London, New York, NY PM) with adjustable colors and transparency.
Highs/Lows: At the close of each session, the indicator projects horizontal rays of the high/low until touched by price or until the day ends.
Daily Separators: Optional background stripes or vertical lines mark new trading days, helping traders distinguish daily cycles.
Day-of-Week Markers: Marks weekdays at the bottom of the chart to help align intraday patterns.
Alerts: Alerts trigger when price interacts with session highs/lows, allowing traders to track liquidity sweeps in real time.
Unique Concept:
Unlike generic session indicators, this script integrates session-based liquidity sweeps directly into the workflow. It’s not only showing the sessions but also tracks untouched highs/lows as liquidity pools—a key ICT-inspired concept.
By combining session timing, liquidity sweeps, and visual clarity, the tool provides a structured intraday map for traders.
Usage:
Works best on intraday timeframes (1m–60m).
Above 2H, visuals are automatically disabled to keep charts clean.
Traders can hide/show sessions individually and customize line styles, widths, and colors.
Can be used across Forex, Futures, and Indices for scalping or day trading.
Sweep2Trade Pro [CHE]Sweep2Trade Pro \ — Liquidity Sweep → Trend → Confirmation
Sweep2Trade Pro \ helps you catch high-probability reversals or continuations that start with a liquidity sweep, align with the T3 trend, and finalize with a structure confirmation (BOS). It’s designed to reduce noise, time your entries, and keep you out of weak, chop-driven signals.
What’s a “sweep”?
A liquidity sweep happens when price briefly breaks a prior swing high/low (where many stops sit), triggers those stops, and then snaps back. This “stop-hunt” creates liquidity for bigger players and often precedes a sharp move in the opposite direction if the break fails, or fuels continuation if structure actually shifts.
What’s a BOS (Break of Structure)?
A BOS is a price action event where the market takes out a recent swing level in the trend’s direction, signaling continuation and confirming that structure has shifted (bullish BOS through a recent swing high, bearish BOS through a recent swing low).
How the indicator works (at a glance)
1. Regime Filter (T3 + R²)
T3 Moving Average: A smoother, faster-responding moving average that aims to reduce lag while filtering noise, so trend direction changes are clearer.
R² (Coefficient of Determination): Measures how “linear” the recent price path is (0→1). Higher values = stronger, cleaner trend; lower values = more chop. Used here to allow trades only when trend quality exceeds a user-set threshold.
2. Sweep Detection
Bullish sweep: price pokes below a prior swing low and closes back above it.
Bearish sweep: price pokes above a prior swing high and closes back below it.
Lookback length is configurable.
3. Sequence Lock (built-in FSM)
The script manages state in phases so you don’t jump the gun:
Phase 1: Sweep detected → wait for T3 to turn in the corresponding direction.
Phase 2: T3 direction confirmed → show “SWEEP OK” and wait for final confirmation.
Trade Signal: Only fires if confirmation arrives before a timeout.
4. Confirmation Layer
BOS via wick or close (you choose),
Strong close toward the signal (top/bottom quartile of the candle),
Optional “close above/below T3” condition.
These checks help avoid weak sweeps that immediately fade.
5. Alerts & Visuals
“SWEEP OK” markers show when the sweep + T3 direction align.
Final BUY/SELL arrows appear only when the confirmation layer passes.
Ready-made alert conditions for automation.
What you can do with it
Time reversals after sweeps: Enter when a stop-hunt fades and structure confirms.
Ride continuations: Use BOS with the T3 trend to pyramid or re-enter with structure on your side.
Filter chop: Let R² gate entries to periods with cleaner directional drift.
Automate: Use the included alerts with your platform or webhook setup.
Inputs (key settings)
Regime Filter
T3 Length / Volume Factor: Controls smoothness and responsiveness. Smaller length → faster, more sensitive; higher volume factor → smoother curve.
R² Lookback & Threshold: Length of the linear fit window and the minimum “trend quality” required. Higher thresholds mean fewer, cleaner signals.
Sweep / Sequence
Swing Lookback: How far back to define the “reference” high/low for sweeps.
Timeout: Maximum bars allowed between phases to keep signals fresh.
Restart timeout on Phase 2: Optional safety so entries don’t go stale.
Confirmation
BOS Lookback: Micro-pivot window for structure breaks.
Wick vs Close BOS: Conservative traders may prefer close.
Require close above/below T3: Tightens confirmation with trend alignment.
Practical guide (quick start)
1. Timeframe & markets: Works across majors, indices, and crypto. Start with 5m–1h intraday or 1h–4h swing; adjust R² threshold upward on noisier pairs.
2. Entry recipe (Long):
Bullish sweep of a prior low → T3 turns up → BOS/strong close.
Optional: enable “close above T3” for extra confirmation.
3. Entry recipe (Short): Mirror the above.
4. Stops: Common choices are just beyond the sweep wick (tighter) or past the BOS invalidation (safer).
5. Targets: Previous structural levels, measured move, or a T3 trail (exit when price closes back through T3).
6. Avoid low-quality contexts: If R² is very low, market is likely ranging erratically—skip or widen filters.
Tips & best practices
Context first: The same sweep means different things in a strong trend vs. flat regime; that’s why the T3+R² filter exists.
BOS choice: Wick-based BOS is earlier but noisier; close-based BOS is slower but cleaner. Tune per market.
Backtest -> Forward test: Validate settings per symbol/timeframe; then paper trade before going live.
Risk: Fixed fractional risk with asymmetric R\:R (e.g., 1:1.5–1:3) generally performs better than “all-in” discretionary sizing.
Behind the scenes (for the curious)
T3 is a multi-stage EMA construction that produces a smooth curve with reduced lag versus simple/standard EMAs.
R² is the square of correlation (0–1). Here it’s used as a moving gauge of how well price aligns to a linear path—our “trend quality” dial.
Stop-hunts / sweeps are a recognized microstructure phenomenon where clustered stops provide the liquidity that fuels the next move.
Disclaimer
No indicator guarantees profits. Sweep2Trade Pro \ is a decision aid; always combine with solid risk management and your own judgment. Backtest, forward test, and size responsibly.
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence 🚀
Happy trading
Chervolino
Xmoon – 3 Push Divergence – PremiumWhat the Xmoon Indicator Does and Why It’s Special
The Xmoon Indicator is an advanced and unique analytical tool, built on years of trading experience, research, and development. It is not merely a combination of a few simple indicators; it is a comprehensive, intelligent system that brings together the three main pillars of trading success—strategy, risk management, and trading psychology—into a single integrated tool.
Strategy
• Xmoon’s core algorithm is based on the 3 Push Divergence pattern in the RSI —a pattern not offered in other indicators. Most existing tools only detect divergence between two highs or two lows, whereas Xmoon can identify three consecutive highs or three consecutive lows with a momentum mismatch, which considerably increases the statistical likelihood of a trend reversal.
Risk Management
• Automatically calculates the size of each step entry based on per-step capital allocation, leverage, and entry/exit prices, using precise, weighted calculations.
• These multi-step calculations run in real time and are shown clearly in the Information Box for quick reading.
• A Liquidity Line (risk threshold) is computed for each setup and plotted on the chart so you can see at a glance where the position would be liquidated (futures) or where the analysis is invalidated (spot).
Psychology & Decision-Making
• From the moment a signal is generated, Xmoon plots all key levels— step entries, risk-free levels, targets, and the liquidity line —so the trader knows from the outset:
o where the profitable exit is if the market follows the analysis;
o where the break-even (risk-free) exit is if the market moves against the analysis.
• This approach significantly reduces stress and emotional decision-making, because both favorable and unfavorable scenarios are predefined.
Logic & Workflow of the Xmoon Indicator
1️⃣ Pivot Detection and Classification
Xmoon first detects price pivots on the chart and classifies them— based on the bar distance between consecutive pivot highs/lows—into four tiers: Super Minor, Minor, Mid-Major, and Major .
The greater the distance between pivots, the larger and more reliable the pivot becomes—though signals are generated less frequently.
2️⃣ Detecting the 3 Push Divergence Pattern
At this stage, Xmoon identifies 3 Push Divergence patterns. The pattern forms when price prints three consecutive pivots in the same direction, i.e.:
• Bullish: three successive higher highs
• Bearish: three successive lower lows
Meanwhile, at the corresponding points on the RSI , momentum moves the other way:
• Bullish case: RSI peaks step down each time — weakening buying pressure
• Bearish case: RSI troughs step up each time — weakening selling pressure
This repeated price–momentum disagreement three times in a row can significantly increase the likelihood of a trend reversal.
3️⃣ Plotting the Pattern and Key Levels
After the pattern is detected, Xmoon draws the divergence lines and plots the following levels on the chart:
• Step entry lines based on the user-defined number of steps and allocated capital.
• Risk-free (break-even) lines for exits without profit or loss.
• Target lines indicating minimum profit objectives.
• Liquidity level (risk threshold) marking where equity would be wiped out in futures.
These visuals let the trader see, at a glance, the full picture of the pattern, planned entries/exits, and the risk range.
4️⃣ Information Box
After the pattern is detected, Xmoon can display an on-chart Information Box alongside each detected pattern (when enabled in the settings). It includes:
• Pivot type: Super Minor, Minor, Mid-Major, or Major.
• Confirmation filters:
1. Higher-timeframe trend based on the 200-period moving average (MA200).
2. Higher-timeframe overbought/oversold status based on RSI.
• Suggested entry size: based on actual capital and leverage.
This box helps the trader quickly see the pattern quality, overall market context, and the suggested position size.
ℹ️ Explanation of Confirmation Filters
Using these filters can increase signal accuracy.
This information is built into the Xmoon indicator, so you don’t need to add any extra indicators or tools to the chart. Xmoon performs the comparisons in real time and displays the filter results in the Information Box .
• Higher-timeframe trend filter: If the higher-timeframe trend based on the 200-period moving average (MA200) is bullish, buy/long signals are stronger; if it’s bearish, sell/short signals are stronger.
• Higher-timeframe overbought/oversold filter: If RSI is in the overbought zone, the probability of success for sell/short signals is higher; in the oversold zone, the probability of success for buy/long signals is higher.
🧩 What are the components of the Xmoon indicator, and why are they combined?
• Core strategy: trend-reversal signals via a proprietary 3 Push Divergence algorithm.
• Multi-stage confirmation: higher-timeframe trend based on MA200 , plus higher-timeframe RSI overbought/oversold confirmation.
• Advanced position sizing: step-based sizing and weighted averaging .
• Structured exit management: risk-free levels, targets , and liquidity level.
• Supports fast decision-making: all vital information at a glance.
This combination turns Xmoon into a complete, practical system that has not been implemented in this integrated way in any similar tool on TradingView, and it is precisely the sum of these features in a single indicator that sets Xmoon apart from comparable tools.
How to Use the Xmoon Indicator
1️⃣ Add to chart: Add the indicator to the chart of your chosen symbol.
2️⃣ Configure parameters: In Settings , adjust the following to match your strategy:
• Number of Entry steps: 2 to 10 steps
• Pivot type: Super Minor / Minor / Mid-Major / Major
• Pattern direction: Bullish / Bearish
• Display options: show lines and the Information Box
• Capital per trade
• Higher-timeframe filters: timeframes for Trend and RSI
3️⃣ Enable alerts: Turn on alerts to receive immediate notifications when a 3 Push Divergence pattern is detected.
4️⃣ Review the Information Box: To assess pattern strength and alignment with the market after a signal appears, check:
• Pivot size: Super Minor / Minor / Mid-Major / Major (for gauging pattern strength)
• Confirmation filters:
1. Whether the detected pattern aligns with the higher-timeframe trend
2. Whether the detected pattern aligns with the higher-timeframe RSI overbought/oversold condition
These details help you decide whether to enter the trade.
5️⃣ Step Entries
After reviewing the conditions, open your first position at Step 1 . If price moves against you and reaches the Step 2 level, open a new position there, and continue opening additional positions at each subsequent step level.
Whenever price reverses from any of these levels and moves in the direction of your analysis, all open positions will move into profit .
In Xmoon, the number of entry steps is fully configurable ( 2 to 10 ). Set it according to your strategy—the system automatically calculates the size of each step based on the capital you allocate.
6️⃣ Exit Management
Depending on market conditions, you can choose one of the following:
• ⚖️ Exit at the risk-free level: when the market is uncertain and you prefer to close at break-even.
• 🎯 Exit at the target level: when price has followed your analysis and you want to realize profit.
⚠️ Liquidity Level
• Spot: analysis invalidation point.
• Futures: the price at which a leveraged position’s equity would be wiped out.
Why the Invite-Only Version of Xmoon Is Worth Getting
• Proprietary 3 Push Divergence detection and confirmation that isn’t available in the free version or generic indicators.
• Automatic, precise capital and step sizing, with visual plotting of key levels from the moment a signal is issued.
• Real-time market context and pattern quality shown in the Information Box—no need to switch timeframes or add extra indicators.
• Risk control and psychological support by outlining predefined scenarios from start to finish of the trade.
• Limited access to help prevent misuse and reduce users’ financial risk, with dedicated training before activation.
• Developed through extensive backtesting and live evaluation; outcomes depend on correct use and market conditions.
We sincerely hope you have successful and profitable trades.
📣 If you have any questions or need further guidance, we’ll be happy to hear from you.
It’s our pleasure to assist you anytime.
🔻🔻🔻 Persian Section – بخش فارسی 🔻🔻🔻
اندیکاتور ایکسمون چه کاری انجام میدهد و چرا خاص است
اندیکاتور ایکسمون یک ابزار تحلیلی پیشرفته و منحصربهفرد است که حاصل سالها تجربه ترید، تحقیق و توسعه است. این اندیکاتور صرفاً ترکیب چند اندیکاتور ساده نیست، بلکه یک سیستم جامع و هوشمند است که سه رکن اصلی موفقیت در معاملات یعنی استراتژی، مدیریت سرمایه و روانشناسی معاملهگری را در یک ابزار یکپارچه گردآورده است
در بخش استراتژی
* الگوریتم اصلی ایکسمون بر اساس الگوی سهپوش واگرایی (تری پوش دایورجنس) در آر-اِس-آی طراحی شده است؛ الگویی که در سایر اندیکاتور ها ارائه نشده است، بیشتر ابزارهای موجود تنها واگرایی بین دو قله یا دو کف را تشخیص میدهند، در حالی که ایکسمون توانایی شناسایی سه قله یا سه کف متوالی با تضاد مومنتوم را دارد که این موضوع از نظر آماری احتمال بازگشت روند را بهمراتب افزایش میدهد
در بخش مدیریت سرمایه
* محاسبه خودکار حجم هر پله، بر اساس سرمایه پله ای، لوریج و قیمتهای ورود/خروج بهصورت دقیق و وزنی انجام میشود
* این محاسبات پیچیده برای چندین پله به شکل لحظهای انجام شده و در باکس اطلاعات به سادهترین شکل نمایش داده میشود
* خط لیکوییدیتی (حد ریسک) برای هر الگو محاسبه و روی نمودار بصورت بصری رسم میشود تا کاربر در یک نگاه بداند سرمایهاش کجا صفر میشود (در فیوچرز) یا تحلیلش کجا باطل میشود (در اسپات)
در بخش روانشناسی و تصمیمگیری
* ایکسمون از همان لحظه صدور سیگنال، تمام خطوط کلیدی (ورودی پلهای، ریسکفری، تارگت، لیکوییدیتی) را رسم میکند تا معاملهگر از ابتدا بداند
* اگر بازار طبق تحلیل پیش برود، خروج سودآور کجاست
* اگر بازار بر خلاف تحلیل پیش برود، نقطه خروج بیضرر (ریسکفری) کجاست
* این رویکرد باعث کاهش شدید استرس و تصمیمگیری احساسی میشود، چون سناریوهای خوشبینانه و بدبینانه از پیش مشخص هستند
⚙️ منطق و روش کار اندیکاتور ایکسمون
1️⃣ شناسایی و طبقهبندی پیوتها
اندیکاتور ایکسمون ابتدا پیوتهای قیمتی را روی نمودار شناسایی کرده و بر اساس فاصلهی کندلی بین سقف یا کف ها، آنها را در چهار دسته طبقهبندی میکند : سوپر مینور، مینور، میدماژور و ماژور
هرچه فاصله بین پیوت ها بیشتر باشد، پیوت بزرگتر و معتبرتر است، اما سیگنالها کمتر تولید میشوند
2️⃣ تشخیص الگوی سهپوش واگرایی
اندیکاتور ایکسمون در این مرحله الگوهای سهپوش واگرایی را شناسایی میکند، این الگو زمانی شکل میگیرد که قیمت سه پیوت متوالی همجهت تشکیل دهد، یعنی
* حالت صعودی : سه سقف پیاپی بالاتر از قبلی
* حالت نزولی : سه کف پیاپی پایینتر از قبلی
و همزمان، در نقاط متناظر در آر-اِس-آی حرکت معکوس دیده شود، به این معنا که
* حالت صعودی، قلههای آر-اِس-آی هر بار پایینتر از قبلی قرار گیرند - کاهش قدرت خرید
* حالت نزولی، درههای آر-اِس-آی هر بار بالاتر از قبلی شکل گیرند - کاهش فشار فروش
این تضاد قیمت و مومنتوم، وقتی سه بار پیاپی رخ دهد، احتمال بازگشت روند را بهشدت افزایش میدهد
3️⃣ ترسیم الگو و نمایش سطوح کلیدی
پس از شناسایی الگو، ایکسمون خطوط واگرایی و همچنین خطوط و سطوح زیر را روی نمودار ترسیم میکند، این موارد شامل
* 📍 خطوط ورود پلهای بر اساس تعداد پله و سرمایه تنظیمشده توسط کاربر
* ⚖️ خطوط ریسکفری برای خروج بدون سود و زیان
* 🎯 خطوط تارگت به عنوان سطوح حداقل سود
* 🛡 سطح لیکوییدیتی (حد ریسک) برای مشخصکردن نقطه صفر شدن سرمایه در معاملات فیوچرز
این ترسیمات باعث میشود معاملهگر در یک نگاه تصویر کامل از الگو، سطوح ورود و خروج و محدوده ریسک داشته باشد
4️⃣ باکس اطلاعات
پس از شناسایی الگو، اندیکاتور ایکسمون یک باکس اطلاعات تکمیلی در کنار هر الگو نمایش میدهد، البته با فعالسازی گزینه مربوطه در تنظیمات، باکس اطلاعات در کنار الگو نمایش داده میشود و شامل موارد زیر میباشد
* 🏷 نوع پیوت : سوپر مینور، مینور، میدماژور یا ماژور
* 📋 فیلترهای تأییدی
یک - جهت روند در تایمفریم بالاتر بر اساس میانگین متحرک دویست
دو - وضعیت اشباع خرید/فروش در تایمفریم بالاتر بر اساس اندیکاتور آر-اِس-آی
* 📊 حجم پیشنهادی ورود : بر اساس سرمایه واقعی و لوریج
این باکس به معاملهگر کمک میکند در یک نگاه کیفیت الگو، شرایط کلی بازار و حجم پیشنهادی ورود را بداند
توضیح درباره فیلترهای تأییدی : استفاده از این فیلترها میتواند دقت سیگنالها را افزایش دهد. این اطلاعات در اندیکاتور ایکسمون موجود است و نیازی نیست اندیکاتور یا ابزار اضافه دیگری به چارت اضافه کنید. ایکسمون مقایسه ها را در لحظه انجام میدهد و نتیجه فیلترها را در باکس اطلاعات به شما نشان میدهد
* فیلتر جهت روند در تایمفریم بالاتر : اگر روند بالاتر بر اساس اِم-اِی-دویست صعودی باشد، سیگنالهای خرید/لانگ قویتر هستند و بالعکس
* فیلتر تشخیص نواحی اشباع خرید/فروش در تایمفریم بالاتر : اگر آر-اِس-آی در محدوده اُورباوت باشد، احتمال موفقیت فروش بیشتر است و در محدوده اُورسولد احتمال موفقیت خرید بالاتر میرود
🧩 اجزای اندیکاتور ایکسمون چه هستند و چرا این اجزا با هم ترکیب شدهاند
* استراتژی اصلی : سیگنال بازگشت روند با الگوریتم اختصاصی سهپوش واگرایی
* تأیید چندمرحلهای جهت روند در تایم فریم بالاتر بر اساس اِم-اِی-دویست و تایید وضعیت بیشینه خرید/فروش در تایم فریم بالاتر در اندیکاتور آر-اِس-آی
* مدیریت سرمایه پیشرفته : محاسبه حجم پلهای و میانگین وزنی
* مدیریت خروج ساختاریافته : سطوح ریسکفری، تارگت، لیکوییدیتی
* پشتیبانی از تصمیمگیری سریع : همه اطلاعات حیاتی در یک نگاه
این ترکیب، ایکسمون را به یک سیستم کامل و کاربردی تبدیل کرده که در هیچ ابزار مشابهی در تریدینگویو به این شکل یکپارچه پیادهسازی نشده است و دقیقاً مجموع این ویژگیها در یک اندیکاتور است که ایکسمون را از ابزارهای مشابه متمایز میکند
📖 نحوه استفاده از اندیکاتور ایکسمون
1️⃣ افزودن اندیکاتور به چارت : اندیکاتور را به نمودار نماد دلخواه اضافه کنید
2️⃣ تنظیم پارامترها : از بخش تنظیمات، موارد زیر را بر اساس استراتژی شخصی خودتان مشخص کنید
* تعداد پلههای ورود: از دو تا ده پله
* نوع پیوت ها: سوپر مینور/مینور/مید-ماژور/ماژور
* نوع الگوها: نزولی/صعودی
* نمایش خطوط و باکس اطلاعات
* تعیین سرمایه در هر معامله
* تایمفریمهای فیلتر اِم-اِی-دویست و آر-اِس-آی
3️⃣ فعالسازی هشدارها : برای اطلاع فوری از شناسایی الگوهای سهپوش واگرایی ، آلارمها را فعال کنید
4️⃣ بررسی باکس اطلاعات : برای سنجش قدرت الگو و همجهتی با بازار، پس از صدور سیگنال، اطلاعات زیر را در باکس مشکی اطلاعات بررسی کنید
* 🏷 نوع پیوت : بررسی میزان قدرت الگو - سوپر مینور، مینور، میدماژور یا ماژور
* 📋 فیلترهای تأییدی
یک - بررسی هم جهتی الگوی شناسایی شده با جهت روند در تایمفریم بالاتر
دو - بررسی هم جهتی الگوی شناسایی شده با وضعیت اشباع خرید یا فروش در اندیکاتور آر-اِس-آی در تایمفریم بالاتر
این اطلاعات به شما کمک میکند تصمیم بگیرید که آیا وارد معامله شوید یا خیر
5️⃣ ورود پلهای
اگر پس از بررسی شرایط تصمیم به ورود گرفتید، اولین پوزیشن را در پله اول باز کنید و در صورتی که بازار در خلاف جهت موردنظر شما حرکت کرد و به سطح پله دوم رسید، یک پوزیشن جدید در همان سطح باز کنید و با رسیدن به سطوح بعدی، پوزیشن های بعدی را باز می کنید
هر زمان که بازار از هر یک از این سطوح برگشت و در جهت تحلیل شما حرکت کرد، تمامی پوزیشنهای باز شده وارد سود میشوند
در اندیکاتور ایکسمون، تعداد پلههای ورودی کاملاً قابلتنظیم است (بین دو تا ده پله ) و شما میتوانید بر اساس استراتژی شخصی خود آن را تعیین کنید، سیستم بهطور خودکار حجم هر پله را بر اساس سرمایه واردشده محاسبه میکند
6️⃣ مدیریت خروج
بسته به شرایط بازار، میتوانید یکی از دو روش زیر را انتخاب کنید
* ⚖️ خروج در سطح ریسکفری : زمانی که بازار نامطمئن است و میخواهید بدون سود یا زیان از معامله خارج شوید
* 🎯 خروج در سطح تارگت : زمانی که قیمت طبق تحلیل شما حرکت کرده است و بدنبال کسب سود هستید
⚠️سطح لیکوییدیتی
* اسپات: نقطه ابطال تحلیل
* فیوچرز: نقطه صفر شدن سرمایه پوزیشن با لوریج
💎 چرا نسخه اینوایت اونلی ایکسمون ارزش تهیه دارد
* الگوریتم اختصاصی شناسایی و تأیید سهپوش واگرایی که در نسخه رایگان یا اندیکاتورهای عمومی وجود ندارد
* محاسبات سرمایه و حجم پلهای بهصورت خودکار و دقیق، همراه با رسم بصری سطوح کلیدی از لحظه صدور سیگنال
* نمایش آنی شرایط بازار و کیفیت الگو در باکس اطلاعات بدون نیاز به تغییر تایمفریم یا افزودن اندیکاتورهای اضافی
* کنترل ریسک و پشتیبانی روانی معاملهگر با ارائه سناریوهای مشخص از ابتدا تا انتهای معامله
* دسترسی محدود برای جلوگیری از استفاده نادرست و کاهش ریسک مالی کاربران، همراه با آموزش اختصاصی پیش از فعالسازی
* اثباتشده در تستها و معاملات واقعی با نتایج قابل اتکا، به شرط استفاده صحیح بر اساس آموزش
صمیمانه امیدواریم معاملات موفق و پرسودی داشته باشید
📣 اگر سوالی دارید یا نیاز به راهنمایی بیشتری دارید، خوشحال میشویم از ما بپرسید
با کمال میل در خدمتتان هستیم
Trading Macro Windows by BW v2
Trading Macros by BW: Integrating ICT Concepts for Session Analysis
This indicator combines two key Inner Circle Trader (ICT) concepts—Change in State of Delivery (CISD) or Inverted Fair Value Gap (IFVG) signals with Macro Time Windows—to provide a unified tool for analyzing intraday price action, particularly during Pacific Time (PT) sessions. Rather than simply merging existing scripts, this integration creates a cohesive visual framework that highlights how macro consolidation periods interact with potential reversal or continuation signals like CISD or IFVG. By overlaying macro candle styling and borders on the chart alongside selectable signal lines, traders can better contextualize setups within ICT's macro narrative, where price often manipulates liquidity during these windows before displacing toward higher-timeframe objectives.
Core Components and How They Work Together:
Macro Time Windows (Inspired by ICT's Macro Periods):
ICT emphasizes "macro" as 30-minute windows (e.g., 06:45–07:15 PT, 07:45–08:15 PT, up to 11:45–12:15 PT) where price tends to consolidate, sweep liquidity, or form key structures like Fair Value Gaps (FVGs). These periods set the stage for the session's directional bias.
The indicator styles candles within these windows using a user-defined color for wicks, borders, and bodies (translucent for visibility). This visual emphasis helps traders focus on activity inside macros, where reversals or continuations often originate.
Borders are drawn as vertical lines at the start and end of each window (with a +5 minute buffer to capture related activity), using a dotted style by default. This creates a "study zone" that encapsulates macro events, allowing traders to assess if price is respecting or violating these zones in alignment with broader ICT models like the Power of 3 (AMD cycle).
Toggle: "Macro Candles Enabled" (default: true) – Turn off to disable styling and borders if focusing solely on signals.
CISD or IFVG Signals (Selectable Mode):
Mode Selection: Choose between "Change in the State of Delivery" (CISD) or "IFVG" (default: IFVG). Both detect shifts in market delivery during specific 30-minute slices (15–45 or 17–45 minutes past the hour in PT sessions).
CISD Mode: Based on ICT's definition of a sudden directional shift, this identifies aggressive displacements after sweeping recent highs/lows. It uses a rolling reference high/low over 6 bars, checks for sweeps (penetrating by at least 2 ticks in the last 2-3 bars), reclamation (closing beyond the reference with at least 50% body), and displacement (50% of prior range or an immediate FVG of 6+ ticks). Signals plot a horizontal line from the close, extending 24 bars right, labeled "CISD."
IFVG Mode: Focuses on Inverted Fair Value Gaps, where a bullish FVG (low > high by 13+ ticks) forms but is inverted (closed below) in the same slice, signaling bearish intent (or vice versa). This targets violations against opposing liquidity, often leading to raids on external ranges. Signals plot similarly, labeled "IFVG."
Shared Logic: Both modes enforce a 55-bar cooldown to prevent clustering, operate only during PT sessions (06:30–13:00), and use tick-based thresholds for precision across instruments. The integration with macros allows traders to see if signals occur within or at the edges of macro windows, enhancing confirmation—for example, a CISD inside a macro might indicate a manipulated reversal toward the session's true objective.
Toggle: "Signals Enabled" (default: true) – Turn off to hide all signal lines and labels, isolating the macro visualization.
How Components Interact:
Macro windows provide the "narrative context" (consolidation/manipulation), while CISD/IFVG signals detect the "delivery shift" (displacement). Together, they form a mashup that justifies publication: isolated signals can be noisy, but when filtered by macro periods, they align with ICT's session model. For instance, an IFVG inversion during a macro might confirm a liquidity sweep before targeting PD arrays or order blocks.
No external dependencies; all calculations are self-contained using Pine's built-in functions like ta.highest/lowest for references and time-based sessions for windows.
Usage Guidelines:
Apply to intraday charts (e.g., 1-5 min) or stocks during PT hours.
Look for confluence: A bull IFVG signal post-macro low sweep might target the next macro high or daily bias.
Customize colors/styles for signals (solid/dashed/dotted lines) and macros to suit your chart.
Backtest in replay mode to observe how macros frame signals—e.g., price often respects macro borders as S/R.
Limitations: Timezone-fixed to PT (America/Los_Angeles); signals are directional hints, not trade entries. Combine with ICT tools like order blocks or liquidity pools for full setups.
This script draws from community ICT implementations but refines them into a single, purpose-built tool for macro-driven trading, reducing chart clutter while emphasizing interconnected concepts. Feedback welcome!
kriptoeth SPKriptoETH SP Indicator - Smart Money Analysis Tool
Main Function
This indicator identifies potential market reversal points based on Smart Money concepts. It analyzes liquidity sweeps and significant support/resistance breaks to generate trading signals.
Key Features
1. Swing Analysis
Identifies high and low levels based on specified swing length (default 15 bars)
These levels are considered potential liquidity zones
2. Liquidity Sweep Detection
Detects short-term violations of support and resistance levels as "sweeps"
Sweep tolerance (%) parameter allows sensitivity adjustment
3. Volume Confirmation
Requires volume spike for signal formation
Volume multiplier sets minimum volume threshold
4. Trend Filter
Analyzes overall trend direction using 50-period MA
Filters signals against the trend to improve success rate
5. Retest Capability
Tracks price return to main signal levels (B/S lines) after initial signals
Shows small confirmation signals when retests occur
Signal Types
B Signal: Potential buy opportunity (green label)
S Signal: Potential sell opportunity (red label)
b✓ / s✓: Retest confirmation signals (small labels)
Filtering System
Filters out too-rapid breaks
Controls for insufficient bar distance
Next bar confirmation option
Eliminates signals inconsistent with trend direction
Statistics Table
Daily, monthly, yearly retest counts
Last signal timestamps
Total signal statistics
Usage Guidelines
Combine signals with other technical analysis tools
Determine your risk-reward ratio in advance
Limit position size to 1-2% of your capital
Consider overall market conditions
Use proper stop-loss levels
Wait for confluence with other indicators
Parameters Explanation
Swing Length: Period for identifying swing highs/lows
Sweep Tolerance: Sensitivity for liquidity sweep detection
Volume Multiplier: Minimum volume increase requirement
Trend Filter: Enable/disable trend-based signal filtering
Retest Filters: Additional confirmation requirements for retest signals
How It Works
Algorithm identifies swing highs and lows as potential liquidity levels
Monitors for price sweeps beyond these levels with volume confirmation
Generates main signals (B/S) when criteria are met
Tracks subsequent retests of these signal levels
Applies multiple filters to reduce false signals
Best Practices
Use higher timeframes for trend confirmation
Combine with support/resistance analysis
Consider market structure context
Apply proper risk management rules
Backtest on historical data before live trading
IMPORTANT DISCLAIMER: This indicator is for educational and analysis purposes only. It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research and consider consulting with a qualified financial advisor before making investment decisions. Past performance does not guarantee future results.
Version Updates
Enhanced filtering system
Improved retest detection
Statistics tracking table
Trend-based signal validation
Multiple confirmation methods
Crypto Macro CockpitCrypto Macro Cockpit — Institutional Liquidity Regime Detection
🔍 Overview
This script introduces a modern macro framework for crypto market regime detection, leveraging newly added stablecoin market data on TradingView. It’s designed to guide traders through the evolving institutional era of crypto — where liquidity, not just price, is king.
🌐 Why This Matters
Historically, traditional proxies like M2 money supply or bond yields were referenced to infer macro liquidity shifts. But with the regulatory green light and institutional embrace of stablecoins, on-chain fiat liquidity is now directly observable.
Stablecoins = The new M2 for crypto.
This script utilizes real-time data from:
📊 CRYPTOCAP:STABLE.C (Total Stablecoin Market Cap)
📊 CRYPTOCAP:STABLE.C.D (Stablecoin Dominance)
to assess dry powder, risk appetite, and macro regime transitions.
📋 How to Read the Crypto Macro Cockpit
This dashboard updates every few bars and is organized into four actionable segments:
1️⃣ Macro Spreads
Metric --> Interpretation
Risk Flow --> Measures capital flow between stablecoins and total crypto market cap. → Green = risk deploying.
ETH vs BTC --> Shift in dominance between ETH and BTC → rotation gauge.
ETHBTC --> Price ratio movement → confirms leadership tilt.
ALTs (TOTAL3ES) --> Momentum in altcoin market, excluding BTC/ETH/stables → key for alt season timing.
2️⃣ Liquidity & Risk Appetite
Metric --> Interpretation
Liquidity --> Directional change in stablecoin cap → more stables = more dry powder.
Risk Appetite --> Inverse of stablecoin dominance → falling dominance = capital rotating into risk.
3️⃣ Stablecoin Context
Metric --> Interpretation
StableCap ROC --> Growth rate of stablecoin market cap → proxy for fiat inflows.
StableDom ROC --> Change in stablecoin dominance → reflects market caution or aggression.
4️⃣ Composite Labels
Label --> Interpretation
Rotation --> Sector tilt (BTC-led vs ETH/Alts)
Regime --> Synthesized macro environment → "Risk-ON", "Caution", "Waiting", or "Risk-OFF"
Background Color --> Optional tint reflecting regime for quick glance validation
All metrics are evaluated with directional arrows (▲/▼/•) and acceleration overlays, using user-defined thresholds scaled by timeframe for precision.
🔔 Built-in Alerts
Predefined, non-repainting alerts include:
Regime transitions
Sector rotations
Confirmed ETH/ALT rotations
Stablecoin market cap spikes
Risk Flow acceleration
You can use these alerts for discretionary trading or automated system triggers.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Trading cryptocurrencies involves risk, and past performance does not guarantee future results. Always do your own research and manage risk responsibly.
✅ Ready to Use
No configuration needed — just load the script
Works on all timeframes (optimized for 1D)
Thresholds and smoothing are customizable
Table positioning and sizing is user-controlled
If you find this helpful, feel free to ⭐️ favorite or leave feedback. Questions welcome in the comments.
Let’s trade with macro awareness in this new era.
Fibs Has Lied 🌟 Fibs Has Lied - Indicator Overview 🌟
Designed for indices like US30, NQ, and SPX, this indicator highlights setups where price interacts with key EMA levels during specific trading sessions (default: 6:30–11:30 AM EST).
🌟 Key Features & Levels 🌟
🔹EMA Crossover Setups
The indicator uses the 100-period and 200-period EMAs to identify bullish and bearish setups:
- Bullish Setup: Triggers when the 100 EMA crosses above the 200 EMA, followed by two consecutive candles opening above the 100 EMA, with the low within a specified point distance (e.g., 20 points for US30).
- Bearish Setup: Triggers when the 100 EMA crosses below the 200 EMA, followed by two consecutive candles opening below the 100 EMA, with the high within the point distance.
- Signals are marked with green (buy) or red (sell) triangles and text, ensuring you don’t miss a setup. 📈
🔹 Reset Conditions for Re-Entries
After an initial setup, the indicator watches for “reset” opportunities:
- Buy Reset: If price moves below the 200 EMA after a bullish crossover, then returns with two consecutive candles where lows are above the 100 EMA (within point distance), a new buy signal is plotted.
- Sell Reset: If price moves above the 200 EMA after a bearish crossover, then returns with two consecutive candles where highs are below the 100 EMA (within point distance), a new sell signal is plotted.
This feature captures additional entries after liquidity grabs or fakeouts, aligning with ICT’s manipulation concepts. 🔄
🔹 Session-Based Filtering
Focus your trades during high-liquidity windows! The default session (6:30–11:30 AM EST, New York timezone) targets the London/NY overlap, where price often seeks liquidity or sets up for reversals. Toggle the time filter off for 24/7 signals if desired. 🕒
🔹Symbol-Specific Point Distance
Customizable entry zones based on your chosen index:
- US30: 20 points from the 100 EMA.
- NQ: 3 points from the 100 EMA.
- SPX: 2.5 points from the 100 EMA.
This ensures setups are tailored to the volatility of your market, maximizing relevance. 🎯
🔹 Market Structure Markers (Optional)
Visualize swing points with pivot-based labels:
- HH (Higher High): Signals uptrend continuation.
- HL (Higher Low): Indicates potential bullish support.
- LH (Lower High): Suggests weakening uptrend or reversal.
- LL (Lower Low): Points to downtrend continuation.
- Toggle these on/off to keep your chart clean while analyzing trend direction. 📊
🔹 EMA Visualization
Optionally plot the 100 EMA (blue) and 200 EMA (red) to see key levels where price reacts. These act as dynamic support/resistance, perfect for spotting liquidity pools or ICT’s Power of 3 setups. ⚖️
🌟 Customization Options 🌟
- Symbol Selection: Choose US30, NQ, or SPX to adjust point distance for entries.
- Time Filter: Enable/disable the 6:30–11:30 AM EST session to focus on high-liquidity periods.
- EMA Display: Toggle 100/200 EMAs on/off to reduce chart clutter.
- Market Structure: Show/hide HH/HL/LH/LL labels for cleaner analysis.
- Signal Markers: Green (buy) and red (sell) triangles with text are auto-plotted for easy identification.
🌟 Usage Tips 🌟
- Best Timeframes: Use on 3m for intraday scalping and 30m for swing trades.
- Combine with ICT Tools: Pair with order blocks, fair value gaps, or kill zones for stronger setups.
- Focus on Session: The default 6:30–11:30 AM EST session captures London/NY volatility—perfect for liquidity-driven moves.
- Avoid Overcrowding: Disable market structure or EMAs if you only want setup signals.
TradeX Labs PriceActionTradeX Labs Price Action — Multi-Layered Market Structure & Liquidity Visualizer
This invite-only script is a unified price-action framework for traders who want a clear, multi-timeframe visual map of structure, liquidity events, and execution zones. It is not a simple combination of existing tools — all modules are custom-built in-house and designed to work from a shared data model, ensuring every feature interacts seamlessly with the others.
Purpose & Core Design
The script’s foundation is a fractal-based swing engine that detects high-quality structural pivots. These pivots form the anchor points for:
BOS (Break of Structure) and structural shift detection
Liquidity sweep identification for stop hunts and inducements
Session range mapping (e.g., Asian high/low)
Rule-based zone projection using displacement and retracement logic
Rather than plotting isolated indicators, every detection method feeds into a single structure model so that BOS, liquidity events, and zones are all derived from the same underlying market map.
Zone Generation & Entry Mapping
Zones are calculated from swing-to-swing displacement legs and projected using Fibonacci presets (50 %, 61.8 %, 78.6 %). Users can select:
Calculation method: Fibonacci, Point of Interest (POI), or both
Zone frequency: High (wider), Medium (balanced), or Low (deeper) retracement levels
Extension length: Forward projection in bars to match chart timeframe
This ensures zones are consistent, structurally relevant, and adaptable to different styles.
Inducement & Liquidity Filters
For refined context, setups can be filtered by inducement type:
Minor: Sweeps of current day/session highs or lows
Medium: Sweeps of previous day’s highs/lows
Major: Sweeps of weekly highs/lows
Filters may run independently or in combination, hiding zones that lack interaction with key liquidity levels.
QuickStrikes Session Filter
QuickStrikes is an optional filter that checks BOS and/or entry levels against the Asian session high/low:
V1 (BOS validation): BOS position relative to session range
V2 (Entry validation): Entry zone position relative to session range
V3 (Combined): Both BOS and entry must meet positional criteria
Multiple modes can be active simultaneously, and all selected conditions must pass for a setup to display.
Custom Visuals & Usability
Every plotted element — zones, BOS labels, inducement levels, arrows, risk/reward boxes — can be styled to match any chart theme. The optional visual panel provides an at-a-glance risk-to-reward display.
Disclaimer
This is an original, closed-source TradeX Labs tool built entirely from proprietary logic referencing known concepts (e.g., Fibonacci ratios, session ranges, swing detection) within a rule-based framework. It produces visual analysis only and does not predict price or guarantee results. Default settings are for illustration; traders should adjust to their instrument and timeframe.
Enhanced Market StructureEnhanced Market Structure — Multi-Timeframe Liquidity & Structure Engine
This invite-only tool is a purpose-built market-structure framework that blends multiple analytical layers into a single, rule-driven visualization. It is not a generic mashup — each component is custom-coded in-house and interconnected to provide traders with a contextual map of price action across timeframes.
Purpose & Scope
The script consolidates structural shifts, liquidity events, and high-value zones from higher-timeframe analysis (e.g., 4 H, Daily) into the active trading chart. It draws on price-action concepts such as displacement, liquidity sweeps, and retracement zones, but implements them through its own coded logic, allowing traders to read structure without manually scanning multiple charts.
Core Framework & Interactions
Rather than running unrelated indicators side-by-side, all components here feed into each other:
Swing Engine — A zigzag-style pivot detector filters out low-quality swings using displacement thresholds. These swings anchor structural break logic and define leg boundaries for retracements.
Structural Logic — BOS and CHOCH events are generated from swing shifts and displacement confirmation, then validated against liquidity-sweep checks.
Liquidity Mapping — Stop-hunt wicks and sweep zones are automatically flagged to add confluence to break events and rejection patterns.
Retracement & Zone Builder — Custom Fibonacci presets (50 %, 61.8 %, 71.8 %) project consistent high/medium/low-risk entry zones. These zones are classified as external, internal, or microstructure, and extend forward to track price interaction.
Multi-Timeframe Overlay — Higher-timeframe structure remains visible while working on lower execution charts, preserving narrative context during intraday decision-making.
Every module is built from scratch so that structural events, sweeps, and zones all share the same internal data model — meaning they are synchronized rather than “bolted together.”
Visual Outputs
BOS / CHOCH labels with directional color-coding
Liquidity-sweep markers and rejection tags
Bullish/Bearish zones by structural type (external, internal, micro)
Optional Fibonacci overlays on displacement legs
Zone contact arrows marking price interaction (informational only, not trade signals)
Settings Overview
Key adjustable parameters include pivot sensitivity, zone extensions, type filters (all/external/internal), risk-tiered entry zones, internal-structure display, contact arrow toggles, BOS/CHOCH styling, higher-timeframe selection, and optional Fibonacci overlays.
Disclaimer
This script is original in design and execution. While it references well-known concepts, all calculations and visual logic are proprietary. It provides visual analysis only and does not generate or recommend trades. Default parameters are for demonstration; users should adapt settings to their own instruments and timeframes.