ICT Weekly Lines [OPEN/MID]This indicator plots two core weekly reference levels:
- Weekly Open: the opening price of the current confirmed week (a common “weekly anchor”).
- Weekly Mid: the 50% level of the previous confirmed week’s range.
Why weekly levels matter
Weekly levels act like “macro structure” on lower timeframes. Even if you trade 1m–15m, price often reacts around weekly anchors because they’re widely watched and represent higher-timeframe positioning.
Practical use cases
1. Directional bias filter
- Above Weekly Open → bullish tilt / “premium” willingness.
- Below Weekly Open → bearish tilt / “discount” willingness.
2. Mean reversion vs continuation
- Weekly Mid often behaves like a “magnet” in balanced conditions.
- Strong trends can use it as a “pullback boundary” (hold mid → continuation, reclaim mid → reversal attempts).
3. Stop/target structure
- Weekly Open/Mid can act as logical target zones or invalidation lines because they’re higher-timeframe derived.
Ict
KINETIC GOLD NQ Velocity Breakout [Ash_TheTrader]🚀 Stop Guessing. Start Scalping with Physics.
Introducing the KINETIC GOLD NQ ⚡ VELOCITY BREAKOUT System
Author: Ash_TheTrader
Assets: Gold (XAUUSD), Nasdaq (US100), Bitcoin (BTC)
Style: High-Frequency Scalping (M1/M5)
---
🛑 The Problem: Why Most Indicators Fail
You’ve been there. The RSI says "Oversold," so you buy. But price keeps crashing. The Moving Average crosses over, so you enter. But the trend is already over.
Why? Because those indicators are lagging . They tell you what happened 10 candles ago.
⚡ The Solution: The "Physics" of Price
Markets move like objects in the real world. They have Velocity (Speed) and Momentum (Mass).
The Kinetic Velocity Breakout (KMB) system doesn't look at "Overbought" or "Oversold." It looks for FORCE .
It answers one simple question: Is the market moving fast enough to pay me?
---
🧠 The 4 "Smart Logic" Features
1. The Velocity Speedometer 🏎️
Most candles are "noise." This system ignores them. It uses a Normalized Volatility Engine to detect when price hits "WARP SPEED".
• Blue: Slow (Cruising). Don't touch.
• Yellow: Accelerating. Get ready.
• Red: WARP SPEED. Institutional money is entering.
2. The 1.5x Impulse Rule 💥
The algorithm strictly enforces the "1.5x Law." A signal ONLY fires if the breakout candle is 1.5 times larger than the average of the last 3 candles.
• Result? No more fakeouts. We only trade real expansions.
3. "Smart Mode" AI Dashboard 🖥️
A heads-up display (HUD) lives on your chart, auto-detecting your trading environment:
• Auto-Session: Tells you if you are in London, New York, or Asia.
• Risk Mode: Shows if you are using "Aggressive" or "Normal" logic.
• Status: Gives you a text readout like "READY ⚡" or "WAIT..."
4. Auto-Pilot Risk Management 🛡️
Scalping is fast. You don't have time to calculate Pips.
• The script draws the lines for you.
• As soon as a "ROCKET" signal appears, a Green TP Line (2x Reward) and Red SL Line appear instantly.
---
🎮 How to Trade: The 3-Step "Kinetic" Strategy
This strategy is designed for Gold (XAUUSD) and Nasdaq (US100) on the 5-Minute Timeframe .
Step 1: The "Yellow" Warning ⚠️
Watch the Smart Structure Lines (Dashed Lines).
• If the candles turn Yellow or the Dashboard says "FAST" , wake up.
• This means pressure is building against a key level.
Step 2: The "Warp" Trigger 🚀
Wait for a Confirmed Breakout . You are looking for:
1. A candle closes OUTSIDE the dashed structure line.
2. The candle color is NEON CYAN (Bullish) or NEON MAGENTA (Bearish).
3. The Signal Label appears: "ROCKET" (Buy) or "DROP" (Sell).
👉 Rule: No Label? No Trade. The 1.5x Logic saves you from bad trades.
Step 3: The Execution 💰
1. Enter at the close of the signal candle.
2. Stop Loss: Place it exactly on the Red Line provided by the indicator.
3. Take Profit: Place it on the Green Line .
4. Walk away. Let the physics work.
---
⚙️ Customizing Your Style
The script comes with two built-in "Personalities":
🛡️ Normal Scalper (Default)
• Best for: New traders, Funded Accounts.
• Logic: Waits for strong confirmation. High Win Rate.
• Risk: 1:2 Risk/Reward.
⚠️ QuickScalper (Aggressive)
• Best for: Gold M1, Volatility Hunters.
• Logic: Enters earlier on 1.2x Impulse. More signals, faster exits.
• Risk: 1:1.5 Risk/Reward (Grab the cash and go).
---
👇 Get the Code
Search for: KINETIC ⚡ in the TradingView library.
"Markets are physics. Trade the Velocity, not the noise." — Ash_TheTrader
Sessions for IndexesTitle: Sessions for Indexes (Intraday Precision)
Description
This indicator is a specialized tool designed for intraday traders (Indices) who focus on specific market sessions and liquidity windows. It visually highlights key trading periods and provides a clean, real-time dashboard for better market orientation.
Key Features:
Intraday Focus: Automatically restricts visibility to timeframes of 15 minutes and below to keep your high-timeframe charts clean.
Comprehensive Session Tracking: Covers major US and EU sessions, including:
US: Pre-market, AM Session, Lunch, and PM Session.
EU/Asia: Asia, EU Pre-market, London Session, and NY Overlap.
Dynamic HUD (Heads-Up Display): A modern table in the top-right corner that displays the currently active session name and changes color dynamically.
On-Chart Labels: Each session is clearly labeled at the bottom of the price action, making it easy to review historical sessions without cluttering the candles.
Fully Customizable: You can adjust session times, colors, and visibility according to your local timezone and trading plan.
How to Use:
Timezone: Set the timezone in the inputs to match your broker or local time (default is UTC).
Visuals: Use the colored background zones to identify "Silver Bullet" windows or session transitions.
Active Session: Quickly check the top-right corner to know exactly which session you are currently trading.
Technical Note:
To ensure performance and chart clarity, this indicator will display an error message ("TF too high") if used on timeframes higher than 15m. This is intentional to promote disciplined intraday analysis.
Ghost Scalp Protocol By [@Ash_TheTrader]👻 GHOST SCALP PROTOCOL
💀 Stop Getting Trapped. Start Tracking the Banks.
Most retail traders lose because they enter exactly where institutions are exiting. They get caught in "Stop Hunts" and "Fake-Outs."
The Ghost Scalp Protocol is not just an indicator; it is a complete institutional trading system designed for M1 & M5 Scalpers . It combines Smart Money Concepts (SMC) with a Physics-Based Momentum Engine (p=mv) to detect high-probability reversals.
⚛️ THE LOGIC: 3-STAGE CONFIRMATION
This algorithm does not rely on lagging indicators. It uses a 3-step "Protocol" to validate every trade:
1. THE GHOST TRAP (Liquidity Sweeps)
The script automatically draws "Ghost Lines" at key Swing Highs/Lows where retail Stop Losses are hiding. It waits for price to sweep these levels.
The Signal: A Neon Skull (☠️) appears only if price aggressively rejects the level with high volume. This is the "Turtle Soup" pattern.
2. THE PHYSICS ENGINE (p = mv)
Momentum is not just price speed; it is Mass (Volume) x Velocity (Range) . The dashboard calculates the "Force" of every candle.
The Signal: An Arrow (⬆/⬇) appears when momentum surges 5x above the average. This confirms the banks are pushing the move.
3. BANK BIAS (Elasticity Filter)
Markets move like a rubber band. The script calculates a hidden "Fair Value" baseline to create a trading Bias. It only looks for Shorts in PREMIUM (Shorting) zones and Longs in DISCOUNT (Accumulating) zones.
📊 THE SMART DASHBOARD (HUD)
A futuristic, non-intrusive Heads-Up Display keeps you focused on the data that matters:
• 🏦 BANK BIAS: Tells you if Institutions are likely Accumulating or Shorting .
• 📈 HTF TREND: Automatically checks the 1-Hour Trend . Don't fight the tide.
• 🚀 MOMENTUM: Real-time Physics calculation. Green Text = Acceleration, Red Text = Deceleration.
• 🌍 SESSION: Shows active Bank Sessions (Tokyo, London, NY). It flashes ⚠️ OVERLAP ALERT (Gold) when London & New York are open simultaneously.
🔥 STRATEGY: HOW TO TRADE
Use this checklist to execute high-probability scalps:
📉 SHORT SETUP (SELL)
1. Liquidity: Wait for price to break above a Red Ghost Line (Sweep Highs).
2. Signal: Wait for the Pink Skull ☠️ (Trap Detected).
3. Confluence: Dashboard Bias says "SHORTING" and HTF Trend is "BEARISH."
4. Entry: On the Close of the Skull candle.
5. Stop Loss: Just above the wick swing high.
📈 LONG SETUP (BUY)
1. Liquidity: Wait for price to break below a Blue Ghost Line (Sweep Lows).
2. Signal: Wait for the Blue Skull ☠️ (Trap Detected).
3. Confluence: Dashboard Bias says "ACCUMULATING" and HTF Trend is "BULLISH."
4. Entry: On the Close of the Skull candle.
5. Stop Loss: Just below the wick swing low.
🏆 RECOMMENDED PAIRS & TIMEFRAMES
• ⚡ Best Timeframes: M1 (Sniper) and M5 (Standard Scalping).
• 💎 Best Assets: Gold (XAUUSD), Nasdaq (US100), Bitcoin (BTCUSD), and Volatile Forex Pairs (GBPUSD).
🛠️ SETTINGS & CUSTOMIZATION
• Surge Factor: Default is 5.0x for high-conviction signals. Lower to 3.0 for more frequency.
• Smart Sessions: Automatically converts to New York Time (EST) regardless of your location.
• Visuals: Designed with "Ghost Glow" technology—97% transparent backgrounds that look classy and don't clutter your chart.
"The Ghost Algo sees what you can't."
~ Ash_TheTrader
Liquidity Trap Detector Pro [PyraTime]The Problem: Why You Get Stopped Out
90% of retail traders place their stop-losses at obvious swing highs and lows. Institutional algorithms ("Smart Money") are programmed to push price through these levels to trigger liquidity, fill their heavy orders, and then immediately reverse the market.
If you have ever had your stop hit right before the market moves exactly where you predicted—you were the victim of a Liquidity Trap.
The Solution: Visualizing the "Stop Hunt"
Liquidity Trap Detector Pro is not just a support/resistance indicator. It is a comprehensive Reversal Scoring Engine.
Unlike standard indicators that spam signals on every wick, this tool uses a proprietary 5-Star Scoring System to analyze the quality of the trap. It validates every signal using Wick Symmetry, RSI Divergence, and Volume Analysis to separate a true reversal from a trend continuation.
Key Features (USP)
- 5-Star Scoring Engine: Every signal is rated from 1 to 5 stars. Stop guessing if a signal is valid; let the algorithm check the confluence for you.
- Glassmorphism Visuals: Gone are the messy lines. We use modern, semi-transparent "Liquidity Zones" that keep your chart clean and professional.
- Smart Terminology: Automatically identifies Bull Traps (Buyers trapped at highs) and Bear Traps (Sellers trapped at lows).
- Heads-Up Display (HUD): A professional dashboard monitors the market state, active filters, and recent trap statistics in real-time.
- Strict Non-Repainting: (Technical Note) This script uses strict non-repainting logic. All Higher Timeframe (HTF) data is confirmed and closed before a signal is generated, ensuring historical accuracy.
---
Tutorial: How to Trade This Indicator
1. Understanding the Signals
We use correct institutional terminology to describe the market mechanics:
GREEN Signal (BEAR TRAP):
- What happened: Price swept a Swing Low, enticing sellers (Bears) to enter. The candle then reversed and closed back inside the range, trapping those sellers.
- The Trade: This is a Bullish Reversal setup (Long).
RED Signal (BULL TRAP):
- What happened: Price swept a Swing High, enticing buyers (Bulls) to breakout. The candle reversed and closed lower, trapping the buyers.
- The Trade: This is a Bearish Reversal setup (Short).
2. The 5-Star Scoring System
Not all traps are created equal. The stars tell you how much "Confluence" exists:
- 1 Star: A basic structure sweep. Risky.
- 3 Stars: A solid setup backed by either Volume or Divergence.
- 5 Stars: The "Perfect" Trap. Structure Sweep + RSI Divergence + Volume Spike + Wick Symmetry. High Probability.
3. The Strategy
- Wait for the Zone: Watch price approach a coloured Liquidity Zone.
- Observe the Reaction: Do not trade blindly. Wait for the candle to close.
- Check the Stars: Look for at least 3 Stars before considering an entry.
- Confirm with HUD: Glance at the Dashboard to ensure the "RSI Filter" and "Vol Filter" agree with your analysis.
---
Settings Guide
Structure Settings:
- Pivot Lookback: Adjusts how sensitive the zones are (Default: 10/5).
- HTF Confirmation: Optional filter to only show traps that align with Higher Timeframe structure (e.g., 1H or 4H).
Quality Filters:
- RSI Divergence: Requires momentum to disagree with price (classic reversal sign).
- Volume Spike: Requires volume to be higher than average (Smart Money footprint).
Visuals:
- Clean Mode: A presenter-favorite feature. Hides all historical zones and leaves only the active setup—perfect for taking screenshots or sharing analysis.
Disclaimer
This tool is designed to assist with technical analysis and identifying potential areas of interest. It does not guarantee profits. Trading involves significant risk; always use proper risk management.
ICT Fair Value Gaps (IFVG + FVG) LTEICT FVG & Inversion Tracker
Streamlined detection of High-Probability Fair Value Gaps and Inversions.
This indicator is designed to keep your charts clean while identifying the most critical internal liquidity levels immediately as they form. It utilizes a smart detection engine to filter noise and highlight only significant price imbalances.
Key Features
Instant Detection: Unlike standard indicators that wait for lagging confirmations, this tool marks FVGs and Inversion FVGs immediately upon the candle close.
Dual Gap Logic:
Standard FVG: Highlights classic imbalances (BISI/SIBI) for trend continuation.
Inversion FVG: Automatically detects when a gap has been invalidated and flips its polarity (e.g., Support becoming Resistance).
Smart Clutter Control: To maintain a pristine chart, boxes are automatically removed when:
Price fully mitigates (touches) the level.
The level expires after a set duration.
Visual Customization: Full control over colors and visibility for seamless integration into your existing chart setup.
Perfect for traders looking for a responsive, non-repainting gap tool without the visual noise.
Footprint.Pro [Elykia]OVERVIEW
The Footprint Pro is a comprehensive Order Flow and Footprint analysis tool designed to visualize buying and selling pressure inside each candlestick. Unlike standard charts that only show OHLC (Open, High, Low, Close), this script uses a proprietary Reconstruction Engine to reveal the internal volume distribution, allowing traders to see the interaction between aggressive buyers (Ask) and sellers (Bid) at every price level.
METHODOLOGY & DATA PRECISION
To achieve high-definition Order Flow without external data feeds, this script is designed to be applied on a 1-second (1s) chart timeframe .
Reconstruction Engine: It harvests granular 1-second data to mathematically reconstruct and draw Footprint candles for higher timeframes (from 1 Minute up to 15 Minutes).
Why 1-second? By processing 1-second intervals, the script captures the exact price levels where volume was traded with very high precision. This allows for the creation of accurate Volume Profiles and Delta calculations inside the candle, creating a granular view impossible to achieve with standard timeframe data.
CALCULATION MODES & STYLES
The script processes this data using distinct algorithms and visualization styles to adapt to different market conditions.
Timeframe Mode: Reconstructs standard time-based footprints (e.g., viewing M5 candles while remaining on the 1s chart).
Simulated Range Bars: Uses a custom volatility algorithm to ignore time and close bars based on pure price movement.
Why use Range Mode? Unlike time-based charts, Range bars filter out "noise" during low volatility (choppy markets) and clarify market structure, allowing traders to see pure price action and volume distribution without the distortion of time.
VISUALIZATION TOOLS: HISTOGRAM, HEATMAP & POC
Profile Style (Histogram): Instead of raw numbers, the script draws a volume profile inside the candle. This offers an instant visual reading to spot if volume is "heavy" at the bottom (support) or top (resistance).
Heatmap (Dynamic Coloring):
Function: The script dynamically adjusts the opacity (transparency) of each histogram bar based on Delta intensity relative to surrounding volumes. Levels with strong aggression appear opaque and vivid, while low activity zones remain transparent.
Trader Benefit: This creates an immediate visual hierarchy. The trader's eye automatically ignores noise to focus only on "Hot Spots" where the real battle between buyers and sellers is taking place.
POC (Point of Control): Indicates the exact price level where maximum volume was traded. Its position is crucial: a POC at the top of a wick indicates buyers were trapped (weakness/rejection).
Show Data (Dashboard): Displays real-time Total Volume, Delta, and candle size to qualify volatility (e.g., distinguishing an anecdotal move from a real institutional impulse).
MAJOR SYNERGY: MULTI-TIMEFRAME SMT & FOOTPRINT
The script integrates an SMT (Smart Money Technique) engine that works in synergy with the Footprint to offer a comprehensive "Macro & Micro" approach.
1. The SMT Engine (The Structural Alert)
The module performs a background scan on 4 distinct timeframes simultaneously (e.g., 30s, 1m, 2m, 5m).
Logic: It continuously compares the Pivots (Highs/Lows) of the current asset against a correlated comparison asset (e.g., NQ vs ES or EURUSD vs DXY).
Signal: If Asset A makes a Higher High while Asset B makes a Lower High on ANY of the 4 monitored timeframes, a specific divergence label is plotted.
Interest: It is an early warning signal indicating an institutional intention of reversal or exhaustion, often before price visibly turns.
2. Interaction with Footprint (The Confirmation)
An SMT divergence alone can be early. Combining it with Footprint offers surgical timing:
Context: SMT warns that correlations are breaking and the move is running out of steam.
Trigger: The trader then waits for the Footprint to display a Rejection Setup or Absorption at this SMT level.
Result: This avoids entering too early and confirms that real orders (Micro-structure) validate the structural thesis (Macro).
SMART ASSISTANT: REAL-TIME CONTEXT
To assist traders, a logic engine analyzes the last 5-10 reconstructed candles to detect actor psychology:
Liquidity Sweeps (Turtle Soup):
Function: Price breaks a recent high/low to trigger stops, then immediately reintegrates.
Trader Benefit: Allows identification of false breakouts and taking the counter-party (Reversal) with an excellent risk/reward ratio, once liquidity is captured.
Absorption (Iceberg Orders):
Function: Massive volume traded without price progression (Strong Delta but small candle).
Trader Benefit: Signals a "Wall" of passive limit orders. The trader knows not to bet against this wall (protection) or can enter in the direction of the defense.
Traps (Delta Divergence):
Function: Divergence between candle color and its Delta (e.g., Red Candle with massive Green Delta).
Trader Benefit: Indicates aggressive participants are "trapped" (underwater). The trader profits from their pain (Pain Trade) when these trapped traders have to liquidate positions.
THE 6 ALGORITHMIC SETUPS (TRIANGLES & MARKERS)
The script monitors every tick to generate 6 specific signals, reducing trader mental fatigue:
Setup 1: Rejection (Validated Rejection)
Signal: Large wick + Delta confirming rejection.
Interest: Filters profit-taking to keep only real counter-trend aggression.
Setup 2: Exhaustion
Signal: Sharp volume drop at high/low + POC at extreme.
Interest: Indicates end of a healthy trend (no one left to push price).
Setup 3: Failed Aggression
Signal: Explosive volume (>2x avg) but price stalls.
Interest: Sign of institutional hand blocking the market (Absorption). Powerful reversal signal.
Setup 4: Trap
Signal: Strict divergence between candle color and cumulative Delta.
Interest: Exploiting the "Squeeze" of trapped traders.
Setup 5: Stacked Imbalances (The Wall)
Signal: 3 consecutive price levels with buy/sell imbalance > 300%.
Interest: Materializes a very strong Support/Resistance zone (displayed by a box). If price tests this zone again, it's a high-probability bounce opportunity.
Setup 6: Absorption Pattern (Zero Prints / Block)
Signal: Presence of "Zeros" in footprint (lack of liquidity) vs large volume (block).
Interest: Fine microstructure detection often indicating immediate stop of current move.
VWAP INTEGRATION & COMBINED STRATEGY
The script calculates and plots an anchored VWAP (Volume Weighted Average Price), based on the reconstructed data.
Interest of VWAP (The "Fair Value"): The VWAP is the absolute reference for institutional algorithms. It represents the average price paid by all participants during the session. If price is above, the trend is bullish (buyers in control); below, it is bearish. It often acts as an invisible dynamic support/resistance.
VWAP + Footprint Interaction (Context + Trigger): The VWAP provides the level of intervention and the Footprint provides the confirmation via volume.
Instead of trading every Footprint signal randomly, the trader uses VWAP as a probability filter:
1. In uptrend: Ignore sell signals. Wait for price to pull back to VWAP.
2. Confirmation: At that precise moment, look at the Footprint.
Concrete Trade Example (The "Defensive Bounce"):
Scenario: Price is in uptrend and corrects to touch the VWAP line.
What Footprint must show: Look for an Absorption or Failed Aggression Setup. For example, aggressive sellers attack the VWAP (very negative Delta, big red volume), but price refuses to close below VWAP (rejection wick or green candle).
The Order: This is the signal that institutions are defending their average price (passive buy limits absorbing sells). The trader buys with a short stop below the absorption wick, aligning with "Big Players".
AUTHOR'S INSTRUCTIONS
IMPORTANT: CONFIGURATION REQUIRED
This script uses a granular reconstruction engine. To work correctly, you MUST set your chart timeframe to 1 second (1s) .
Step-by-Step Setup:
Open your chart and select the 1-second (1s) timeframe.
Hide the original candles: Right-click on the chart, Settings, Symbol, uncheck the "Body", "Borders", and "Wick". This removes the clutter of the 1s bars so you can see the reconstructed Footprint clearly.
Add the indicator to the chart.
The script loads with a default 1-minute configuration. You can change to Range Bars or other timeframes in the Settings.
DISCLAIMER
This tool is for informational and educational purposes only. It does not constitute financial advice or a signal service. Past performance of the detected patterns (SMT, Imbalances...) does not guarantee future results. Trading involves a high level of risk.
ACCESS
This is an invite-only script. To obtain access, please use the link provided in the Signature field below.
Fresh Order Blocks v1.4.1Multi Timeframe Fresh Order Blocks v1.4.1 with settings
by Mahdi BML | Cryptomentor | mahdibml.com
Agent F - The Complete ICT/Smart Money Trading System## 🎯 Agent F - The Complete ICT/Smart Money Trading System
**Your institutional-grade edge in one powerful indicator.**
Stop juggling 5+ indicators. Agent F combines **every core ICT concept** into a single, clean system with **25-point confluence scoring** that tells you exactly when to trade—and when to wait.
---
### ⚡ **What Makes Agent F Different**
**✅ 25-Point Confluence System**
Not just "buy" or "sell"—see **exactly how strong** each setup is (12/25, 18/25, etc.) with transparent factor breakdown.
**✅ Multi-Timeframe Auto-Optimization**
Pick Scalping, Intraday, or Swing mode and watch Agent F automatically adjust 8+ parameters for optimal performance on your timeframe.
**✅ 18+ Advanced ICT Patterns**
Goes far beyond basic Order Blocks and FVGs—includes **SMR** (75-80% win rate), **Turtle Soup** (72-75%), **PO3**, **NWOG/NDOG**, **Breaker Blocks**, **SIBI/BISI**, and more.
**✅ Edge Call AI**
Immediate direction prediction for 5-point scalps. Tells you "LONG NOW", "SHORT NOW", or "NEUTRAL" with 72-85% historical win rate (backtested).
**✅ Professional Risk Management**
3-target scaling system, ATR-based stops, invalidation alerts, time-based exits—everything you need to trade like an institution.
**✅ Zero Repaint**
All signals are final. What you see is what you get. No repainting games.
---
### 📊 **Core Features**
#### **Order Blocks with A+/A/B/C Quality Grading**
Not all Order Blocks are equal. Agent F grades each one (A+ = institutional-grade, C = retail noise) and filters to only show you the best.
- Detects both standard OBs and **Breaker Blocks** (flipped OBs with 75% reversal rate)
- **Propulsion Blocks** (>2 ATR displacement = strong conviction)
- **Rejection Blocks** (tested multiple times = proven levels)
- Shows formation age, volume percentile, quality score
#### **Enhanced Fair Value Gaps (FVGs)**
Goes beyond basic gap detection with intelligent fill tracking:
- **Partial fill states** (0%, 50%, 75%, 100%)
- **CE (Consequent Encroachment) 50% levels** (75% fill rate sweet spot)
- **IFVG detection** (Inverted FVGs = 80% reversal probability)
- **FPFVG** (First Presented FVG after BOS = highest quality)
#### **Liquidity Sweep Detection**
Identifies where stop hunts happen and when to fade them:
- Equal Highs/Lows (SSL/BSL pools)
- Sweep timing and alerts
- **Liquidity Voids** (large gaps >0.5 ATR = price magnets)
- Manipulation pattern recognition
#### **Market Structure Analysis**
Real-time BOS (Break of Structure) and CHoCH (Change of Character) detection with:
- Trend classification (BULL/BEAR/NEUTRAL)
- Strength rating (★★★ strong, ★ weak)
- Swing high/low tracking
- Structure invalidation warnings
#### **Premium/Discount Zones**
Visual guidance on where to buy (cheap) and sell (expensive):
- Background shading (green = discount, red = premium)
- Equilibrium (50%) line
- OTE (Optimal Trade Entry) Fib levels (62-79%)
- Helps you avoid buying tops and selling bottoms
---
### 🎯 **The 25-Point Confluence System**
**Stop guessing. Know exactly how strong your setup is.**
Every potential trade is scored across **25 ICT factors**:
**Core Factors (18 points max):**
- Order Block Quality (A+/A/B/C) — 3-4 pts
- Market Structure (BOS/CHoCH) — 2 pts
- Liquidity Swept — 2 pts
- HTF Trend Alignment — 2 pts
- Premium/Discount Zone — 1 pt
- Daily Bias Filter — 1 pt
- Killzone Active — 1-2 pts
- FVG Confluence — 1-3 pts
- High Volume — 1 pt
- Session Levels (PDH/PDL/PWH/PWL) — 2 pts
- DXY Correlation — 1 pt
**Advanced Patterns (10+ points):**
- SMR (Smart Money Reversal) — 4 pts (75-80% win rate)
- PO3 (Power of Three) — 3 pts (78-82% win rate)
- Turtle Soup (Failed Breakouts) — 2 pts (72-75% win rate)
- NWOG/NDOG Gaps — 2-3 pts (70-80% fill rate)
- SIBI/BISI — 2 pts (80%+ win rate)
- Liquidity Voids — 2 pts
- BPR Zones — 2 pts
- Enhanced OB types — 2 pts
- FPFVG — 2 pts
**Threshold (Auto-Adjusted by Mode):**
- Scalping: 8/25 minimum
- Intraday: 11/25 minimum
- Swing: 14/25 minimum
**See the breakdown:** Panel shows which factors are active for full transparency.
---
### 🚀 **Multi-Timeframe Mode Optimization**
**One indicator. Three personalities.**
Select your trading style and Agent F auto-configures:
**⚡ SCALPING Mode (1m-15m charts)**
- HTF Reference: 1H
- Min Confluence: 8/25
- Fast exits, tight stops
- 10-15 signals/session
- Perfect for: Day traders, quick scalps
**📈 INTRADAY Mode (15m-1H charts)** ← Default
- HTF Reference: 4H
- Min Confluence: 11/25
- Balanced risk/reward
- 6-10 signals/session
- Perfect for: Most traders, session-based
**📊 SWING Mode (4H-D charts)**
- HTF Reference: Daily
- Min Confluence: 14/25
- Patient, high-quality only
- 3-5 signals/session
- Perfect for: Part-time traders, position traders
**Each mode automatically adjusts:** Displacement threshold, volume requirements, stop buffers, time stops, swing length, and more.
---
### 🎯 **Edge Call Feature (Optional)**
**Immediate direction prediction for 5-point scalps.**
Answers the question: "What should I trade RIGHT NOW?"
**Output Modes:**
- **LONG NOW** 🟢 — Execute long immediately
- **LONG WAIT** 🟡 — Setup forming, wait for pullback
- **SHORT NOW** 🔴 — Execute short immediately
- **SHORT WAIT** 🟡 — Setup forming, wait for rally
- **NEUTRAL** ⚪ — No valid setup (honest, won't force trades)
**Requirements (Structure-Based, Not Momentum):**
- Minimum 12/25 confluence (higher bar than regular signals)
- AT key level (not just "near")
- Catalyst required (sweep, SMR, or Turtle Soup)
- Correct zone (longs in discount, shorts in premium)
- A/A+ level quality only
**Performance:** 72-85% win rate (Dec 2025 backtest, structure-based rewrite)
**Backtest Mode:** Track historical Edge Call signals with WIN/LOSS markers and statistics table to validate performance.
---
### 🤖 **Agent F Integration (Premium Optional)**
**Connect to Agent F Python AI for enhanced intelligence.**
Paste a single line of data from Agent F AI and unlock:
**+10 Bonus Confluence Points:**
- Volume Profile (POC/VAH/VAL) — +2-3 pts
- Enhanced Bias Analysis — +2-3 pts
- Master Decision (5 specialist consensus) — +2 pts
- News Risk Filter — -3 to -10 pts (avoid whipsaws)
**18-Field Enhanced Format Includes:**
- Market Regime (trending/ranging/volatile)
- Specialist Consensus (5 AI specialists)
- Setup Evaluator recommendation
- Invalidation signal count
- Momentum score, volume spikes, and more
**Impact:** +10-15% win rate boost
**How to Get:** Use Agent F Python system (available via Claude Code) — type `ict`, `scalp`, or `ec` to generate the paste string automatically.
---
### 📊 **What You See on Your Chart**
**Clean, Professional Visuals:**
✅ **Order Blocks** — Green/red boxes with grades and age markers
✅ **Fair Value Gaps** — Blue/orange zones with 50% CE levels
✅ **Liquidity Pools** — Dashed lines (lime=BSL, pink=SSL) with sweep alerts
✅ **Market Structure** — Purple BOS and yellow CHoCH markers
✅ **Premium/Discount** — Background shading (red/green) with Fib levels
✅ **Trade Signals** — Green ▲ (long) and red ▼ (short) with score labels
✅ **3-Target System** — T1/T2/T3 levels for professional scaling
✅ **Stop Suggestion** — Red STOP line with ATR buffer
✅ **Info Panel** — Real-time confluence scores, bias, Edge Call, and more
**Customizable Display:**
- Max OBs/FVGs (reduce to 3-5 for clean charts)
- Show/hide any component
- Color customization
- Panel size and position
---
### 🎓 **How It Works**
**Step 1:** Agent F scans for ICT patterns (OBs, FVGs, Liquidity, Structure)
**Step 2:** Calculates confluence score (0-25 points) by checking alignment across 25 factors
**Step 3:** If score meets threshold (8/11/14 depending on mode), signal appears
**Step 4:** Panel shows entry, stop, targets, R:R ratio, and active factors
**Step 5:** You execute the high-probability setup with clear risk management
**That's it.** No complex interpretation. No guesswork. Just clear, actionable signals.
---
### ⚙️ **Fully Customizable Settings**
**6 Major Setting Groups:**
**1. Trading Mode** — Scalping/Intraday/Swing (auto-optimizes everything)
**2. Quick Toggles** — Enable/disable any component
- Order Blocks, FVGs, Liquidity, Structure, Zones (mix and match)
**3. Order Block Settings** — Lookback, extension, quality threshold, colors
**4. FVG Settings** — Min size, extension, CE levels, fill tracking
**5. Liquidity Settings** — Lookback, tolerance, sweep alerts
**6. Trade Entry Settings** — Min confluence, killzone requirement, min R:R
**7. Advanced Features** — 15+ optional enhancements
- Volume confirmation, pattern age, round numbers, trend strength, invalidation alerts, killzone timer, factor breakdown
**8. Enhanced ICT Concepts** — Toggle 2016-2024 advanced patterns
- NWOG/NDOG, SMR, PO3, Turtle Soup, SIBI/BISI, Propulsion/Rejection Blocks, FPFVG, Liquidity Voids, BPR, Friday/Monday bias
**9. Edge Call Settings** — Confidence threshold, backtest parameters
**10. Display Options** — Panel position/size, max items, visual preferences
**Every setting includes detailed tooltips explaining its purpose and impact.**
---
### 📈 **Expected Performance**
**Confluence-Based Win Rates:**
| Score Range | Quality | Est. Win Rate | Action |
|-------------|---------|---------------|--------|
| 18-25/25 | Excellent | 85-92% | Full size |
| 14-17/25 | Very Good | 78-85% | Full size |
| 11-13/25 | Good | 72-78% | Normal size |
| 8-10/25 | Acceptable | 65-72% | Scalp only, reduce size |
| 0-7/25 | Poor | <65% | No trade |
**Mode-Specific:**
- Scalping (8+ threshold): 78-82% win rate (with Agent F: 85-88%)
- Intraday (11+ threshold): 82-86% win rate (with Agent F: 88-92%)
- Swing (14+ threshold): 85-88% win rate (with Agent F: 90-93%)
**Signal Frequency:**
- Scalping: 10-15 quality setups per session
- Intraday: 6-10 quality setups per session
- Swing: 3-5 quality setups per session
*Backtested performance. Past results don't guarantee future performance. Trade at your own risk.*
---
### 👥 **Who Is This For?**
**✅ Perfect For:**
- ICT/Smart Money Concept (SMC) traders (beginner to advanced)
- Scalpers, day traders, swing traders (mode-optimized for all)
- Traders wanting institutional-grade analysis
- Those seeking high win rates with transparent logic
- Anyone tired of messy charts with 10+ indicators
**✅ Great For:**
- Gold (GC, MGC, XAUUSD)
- Index Futures (ES, MES, NQ, MNQ)
- Forex majors (EUR/USD, GBP/USD, USD/JPY)
- Bitcoin (BTC/USDT)
- Crude Oil (CL)
- High-volume stocks
**⚠️ Not Ideal For:**
- Low-volume instruments
- Penny stocks
- Illiquid markets
- Traders wanting "buy/sell without thinking" (requires basic understanding of ICT)
---
### 🎓 **Learning Curve**
**Beginner-Friendly:**
- Simple mode: Just follow arrows with 11+ scores
- Comprehensive guide included (`agent-f-indicator-101.md`)
- Glossary of all terms
- No ICT knowledge required to start
**Scales With Your Skill:**
- Intermediate: Understand confluence breakdown
- Advanced: Master all 25 factors
- Expert: Integrate with Agent F AI for maximum edge
**Documentation:**
- 📖 Beginner Guide (101) — For complete beginners
- 📚 Complete User Guide — In-depth technical reference
- 🎯 Quick Start — Get trading in 15 minutes
---
### ⚙️ **How to Use**
**1. Add to Chart**
- Install indicator
- Select trading mode (Scalping/Intraday/Swing)
- Done—defaults are optimized
**2. Wait for Signal**
- Green ▲ triangle = LONG
- Red ▼ triangle = SHORT
- Score label shows quality (X/25)
**3. Verify Quality**
- Score ≥ threshold? (8/11/14 by mode)
- BIAS matches direction?
- During killzone?
- Panel row is green?
**4. Execute Trade**
- Enter at signal price
- Set stop (shown in panel)
- Set targets (T1/T2/T3 shown)
- Scale out professionally (50/30/20)
**5. Manage Risk**
- Stop at breakeven after T1
- Trail stop after T2
- Watch invalidation alerts
- Honor your stops
**That's it. Simple execution of high-probability setups.**
---
### 🔧 **Settings Overview**
**Quick Toggles (One-Click Enable/Disable):**
- Order Blocks ✓
- Fair Value Gaps ✓
- Liquidity Pools ✓
- Market Structure ✓
- Premium/Discount ✓
**Trading Mode (Auto-Optimizes 8 Parameters):**
- Scalping (1m-15m) — Fast, sensitive, 1H HTF
- Intraday (15m-1H) — Balanced, 4H HTF ← Default
- Swing (4H-Daily) — Patient, Daily HTF
**Entry Controls:**
- Min Confluence: 1-25 (auto-set to 8/11/14 by mode)
- Require Killzone: ON/OFF (trade only institutional hours)
- Min Risk:Reward: 1.0-10.0 (default 2.0)
**Advanced ICT Patterns (Toggle Individual):**
- NWOG/NDOG Gaps
- SMR Patterns
- PO3 Detection
- Turtle Soup
- SIBI/BISI
- Propulsion/Rejection Blocks
- FPFVG
- Liquidity Voids
- BPR Zones
- Displacement Candles
- Friday/Monday Bias
**Edge Call (Optional):**
- Enable/Disable
- Min Confidence (50-90%)
- Backtest Mode
- Chart markers
**Display Options:**
- Panel position (6 options)
- Panel size (Tiny/Small/Normal/Large)
- Max OBs/FVGs shown (reduce clutter)
- Color customization for all elements
**Agent F Integration (Premium Optional):**
- Enable Agent F Data (connects to Python AI)
- Paste field (18-field enhanced format)
- +10-15% win rate boost when enabled
---
### 🏆 **Why Traders Love Agent F**
**"Finally, one indicator that does it all."**
Stop switching between 5+ indicators. Everything you need in one professional package.
**"The transparency is game-changing."**
See exactly why each signal qualifies (or doesn't). Learn as you trade.
**"80%+ win rate on 14+ confluence setups."**
Quality over quantity. When Agent F says "take this trade," it's backed by 14+ aligned factors.
**"Works on any timeframe."**
One indicator, three optimized modes. Scalp on 5m, swing on Daily—it adapts.
**"Edge Call is like having a trading assistant."**
Quick scalp opportunities with "LONG NOW" / "SHORT NOW" real-time guidance.
---
### 📚 **What's Included**
**Indicator Files:**
- `agent-f-indicator.pine` — Main indicator script
- `agent-f-indicator-guide.md` — Complete user manual (30KB)
- `agent-f-indicator-101.md` — Beginner's guide with glossary (35KB)
**Documentation:**
- Installation guide
- Settings reference (every parameter explained)
- Trade execution workflow
- Best practices
- Troubleshooting
- Glossary of 50+ ICT terms
**Support:**
- Agent F Community (Discord/Telegram)
- Regular updates
- Documentation updates
---
### 🎯 **Indicator Specs**
**Code Quality:**
- Pine Script v6
- 3,000+ lines of optimized code
- Zero repaint guarantee
- Professional error handling
- Buffer overflow protection
**Performance:**
- Max Labels: 500
- Max Lines: 500
- Max Boxes: 500
- Efficient array management
- Minimal CPU usage
**Markets:**
- Forex ✓
- Futures ✓
- Stocks ✓
- Crypto ✓
- Indices ✓
**Timeframes:**
- 1-minute to Daily ✓
- Auto-optimization per mode ✓
---
### ⚠️ **Important Notes**
**What This Is:**
- Educational tool for ICT/SMC traders
- Signal generation based on proven patterns
- Risk management framework
**What This Is NOT:**
- Financial advice
- Guaranteed profits
- "Holy grail" (no such thing exists)
- Replacement for proper education
**You Must:**
- Understand basic ICT concepts (or use beginner guide)
- Practice risk management (1% rule)
- Paper trade first (verify it works for you)
- Accept responsibility for your trades
**Performance Disclaimer:**
Win rates are based on historical backtesting and optimal execution. Actual results vary by trader skill, market conditions, execution quality, and risk management. Past performance does not guarantee future results. Trading carries substantial risk of loss. Only trade with capital you can afford to lose.
ICT Concepts [Kodexius]ICT Concepts is an all in one, chart overlay toolkit that combines several widely used ICT style components into a single, modular workflow. It is designed to help you map higher timeframe context, track directional structure, and refine execution areas with imbalance and liquidity concepts, without turning the chart into a cluttered drawing board.
Instead of plotting everything indefinitely, each module focuses on “live relevance” and chart readability. Zones, lines, and labels are managed with sensible limits so the most recent and most meaningful structures remain visible while older objects are automatically retired.
Because the system is modular, you can run it like a complete toolkit:
- Use multi timeframe Order Blocks to define high probability zones
- Use Market Structure (BOS and MSS) for bias and context
- Validate intent with SMT Divergence when you want intermarket confirmation
- Refine with Imbalances (FVG, BPR, CE) and Liquidity Sweeps
- Add timing structure via Killzones and risk structure via auto Fibonacci
🔹 Features
🔸 Multi Timeframe Order Blocks (3 candle displacement OB)
The OB engine detects a strict 3 candle displacement sequence (bull and bear) and projects the “order block candle” as a forward extending zone. Detection can run on the chart timeframe or on a user selected higher timeframe and then be displayed on your execution chart.
🔸 Overlap Control
Before adding a new OB, the script checks overlap against existing zones of the same direction. If a new zone intersects an existing one, it is ignored to reduce redundant stacking in the same price area.
🔸 Automatic Extension and Mitigation for Order Blocks
OB zones extend forward on every bar and are removed once mitigation is confirmed. Mitigation is evaluated by close breaking decisively beyond the relevant boundary:
- Bullish OB mitigates when close prints below the OB bottom
- Bearish OB mitigates when close prints above the OB top
🔸 Market Structure (BOS and MSS)
Market Structure is built from swing pivots using a configurable pivot length. When price closes through the latest swing, the script prints a structure event:
BOS (Break of Structure) for continuation
MSS (Market Structure Shift) for a directional change
To keep the chart readable, older structure drawings are capped by history limits.
🔸 SMT Divergence with optional mini panel
SMT can compare the current instrument with a user selected symbol to highlight divergence at swing points. A divergence is flagged when one market makes a new swing extreme while the other fails to confirm.
Optional: a compact right side “compare symbol” candle panel can be enabled so you can visually confirm what the secondary market is doing without leaving the chart.
🔸 Imbalances: FVG, BPR, and CE modes
You can choose between three imbalance views depending on your style:
FVG mode: Fair Value Gaps are plotted as extending zones
CE mode: Consequent Encroachment is visualized using a midpoint line and a half zone fill
BPR mode: Balanced Price Range is formed when a new FVG overlaps an opposing FVG, producing a “balanced” region that often behaves differently than a standalone gap
🔸 Automatic extension, limits, and mitigation for imbalances
Imbalance objects extend forward until mitigated. Mitigation uses wick based logic:
Bullish imbalance mitigates when price wicks below the zone bottom
Bearish imbalance mitigates when price wicks above the zone top
The script also enforces per side limits and removes older items to keep performance stable.
🔸 Liquidity sweeps (buyside and sellside)
The liquidity module tracks swing highs and lows and marks sweep events when price runs the level and then closes back through it, which often behaves like a rejection signal. Sweeps are visualized with a level line plus a small sweep highlight box, with an optional history cap.
🔸 Auto anchored Fibonacci (EQ and OTE focus)
Fibonacci levels are automatically anchored using the most recent structure context so you do not need to manually re draw fibs every time the market evolves. EQ and OTE focused bands are plotted to support common premium discount style workflows, with optional extra levels if desired.
🔸 Killzones (session boxes with optional range tracking)
Asian, London Open, New York AM, and New York PM killzones can be displayed using UTC-5 session definitions. Session boxes dynamically expand as new highs and lows are formed during the session, and historical zones can be retained up to a user set count. Rendering is restricted to intraday timeframes up to 60 minutes for clean scaling and performance.
🔹 Calculations
1) Order Block detection (3 candle displacement)
The OB pattern is defined inside detectLogic() . The zone boundaries always come from candle (the middle candle of the 3 candle sequence).
detectLogic() =>
bool isBull = open > close and close > open and close > open and low < low and close > high
bool isBear = open < close and close < open and close < open and high > high and close < low
[isBull, high , low , time , isBear, high , low , time ]
Interpretation (bullish side):
Candle is bearish
Candle is bullish (the OB candle)
Current candle is bullish and closes above high
low undercuts low to form the sweep style condition
Bearish logic is the mirrored inverse.
2) Multi timeframe projection and duplicate control
If the timeframe input is set, detections are computed on that timeframe and projected onto the current chart using request.security . A last processed time check prevents duplicate prints.
=
request.security(syminfo.tickerid, i_tf, detectLogic())
var int lastBullTime = 0
var int lastBearTime = 0
if mtf_isBull and mtf_bullTime != lastBullTime
lastBullTime := mtf_bullTime
if mtf_isBear and mtf_bearTime != lastBearTime
lastBearTime := mtf_bearTime
3) OB overlap validation and mitigation
Overlap is checked before pushing a new zone, then zones are extended and removed once mitigated by close.
method hasOverlap(array OBs, float top, float bottom) =>
bool overlap = false
if OBs.size() > 0
for i = 0 to OBs.size() - 1
OB item = OBs.get(i)
if (top < item.top and top > item.bottom) or (bottom > item.bottom and bottom < item.top)
overlap := true
break
overlap
method isMitigated(OB this, float currentClose) =>
this.isBull ? (currentClose < this.bottom) : (currentClose > this.top)
4) Market Structure: pivots, BOS, and MSS
Swings are derived from pivots; then BOS/MSS prints when price crosses the latest swing. The script tracks trend state to decide whether the break is continuation (BOS) or shift (MSS).
float ph = ta.pivothigh(i_structLen, i_structLen)
float pl = ta.pivotlow(i_structLen, i_structLen)
bool brokenHigh = ta.crossover(close, lastHigh)
bool brokenLow = ta.crossunder(close, lastLow)
// drawStructure(..., "BOS", ...) or drawStructure(..., "MSS", ...) depending on trend state
5) SMT Divergence conditions
SMT uses pivot highs/lows on both instruments. A bearish SMT prints when the main chart makes a higher high but the compare symbol fails to exceed its prior high. A bullish SMT prints when the main chart makes a lower low but the compare symbol fails to make a lower low.
bool bearishSmt = not na(smtAHighPrev) and not na(smtBHighPrev) and (smtAHighLast > smtAHighPrev) and (smtBHighLast <= smtBHighPrev)
bool bullishSmt = not na(smtALowPrev) and not na(smtBLowPrev) and (smtALowLast < smtALowPrev) and (smtBLowLast >= smtBLowPrev)
6) FVG detection, BPR construction, and CE level
FVGs are detected via a classic 3 bar gap condition. When a new FVG overlaps an opposing FVG, the script builds a BPR using the intersecting region. CE is the midpoint (top + bottom) / 2, plotted as a dashed line plus a half fill box.
bool fvgBullDetected = low > high
bool fvgBearDetected = high < low
// CE
float ceLevel = (this.top + this.bottom) / 2
Imbalance mitigation uses wick logic:
method isMitigated(FVG this, float currentHigh, float currentLow) =>
this.isBull ? (currentLow < this.bottom) : (currentHigh > this.top)
7) Liquidity sweep trigger
A sweep is confirmed only when price runs the pivot level and closes back through it (reject style).
bool sweepBull = i_showLiq and not na(liqLastLow) and not liqLastLowSwept and low < liqLastLow and close > liqLastLow
bool sweepBear = i_showLiq and not na(liqLastHigh) and not liqLastHighSwept and high > liqLastHigh and close < liqLastHigh
8) Killzone session mapping
Sessions are defined in UTC-5 using time() session strings.
string kzTz = "UTC-5"
kzInSession(string sess) =>
not na(time(timeframe.period, sess, kzTz))
bool inAsian = kzInSession("2000-0000")
bool inLondon = kzInSession("0200-0500")
bool inNY = kzInSession("0830-1100")
Ash_TheTrader: Institutional Truth / Volume ProfileSTOP GUESSING. See the Institutional Truth. (No Repaint)
Most retail traders are trading blind. You are looking at lagging moving averages and "magic" lines that disappear when the price moves against them.
The institutions? They are trading Liquidity.
For months, I have been developing a proprietary engine that strips away the noise and reveals the Statistical Truth of the market. This is not just another "buy/sell" indicator. This is an Institutional Liquidity Engine designed to show you exactly where the money is hiding.
Introducing: Ash_TheTrader: Institutional Truth
👁️ What is "The Truth"?
This script utilizes an Auto-Anchored Liquidity Engine that automatically detects the start of true market cycles. It builds a real-time profile of volume, delta, and imbalance to answer one simple question: Who is actually in control?
It features a "Black Box" Signal Engine that refuses to repaint. If it says BIAS ↑ , the institutional flow is bullish. Period.
🚀 Key Features
• 🚫 NO REPAINT Bias: Signals are mathematically locked. They never disappear. • 🏦 Institutional Logic: It filters out "Retail Traps." If price hasn't reclaimed the Value Level (POC), it won't signal a trade—saving you from buying the top. • ⚡ Dual-Core Engine: Switch between Swing Mode (Macro Trends) and Scalp Mode (M1/M5 Aggressive Algorithms). • 🧱 Liquidity Walls: Bright Neon blocks appear where 75%+ of volume is one-sided. This is where you place your limit orders.
📚 Step-by-Step: How to Trade "The Truth"
1. Choose Your Engine Go to Settings > Algorithm Mode. • Select "Normal (Swing)" for H1/H4 trend trading (Higher Winrate). • Select "Scalp (Aggressive)" for M1/M5/M15 (Faster Signals).
2. The "Green Light" Setup (Long) • Wait for the Dashboard: Look for the signal ✅ SWING BIAS ↑ or ⚡ SCALP BIAS ↑ . • Check the Trap: Ensure the text does NOT say "⚠️ TRAP." • Entry: Enter on the close of the candle. • Stop Loss: Place below the Yellow "Truth" Level (Point of Control) or the recent Swing Low.
3. The "Brick Wall" Scalp • If you see a bright NEON RED block appear on the profile, that is a Bearish Wall . • Price will often bounce off this level aggressively. • Strategy: Place a Sell Limit order at the Neon Red block for a quick reaction trade.
4. The Divergence Warning • Keep an eye on the bottom banner of the dashboard. • If you are Long, but you see a big RED "BEARISH DIV" warning, take profit immediately. The institutions are leaving the trade.
⚠️ A Warning This tool is powerful, but it reveals the reality of the market. Sometimes the Dashboard will say "⚠️ ACCUMULATING" or "⚠️ NEUTRAL." Do not force a trade. The secret to a high winrate is knowing when not to trade. Let the engine do the work.
Add it to your chart now. Stop guessing.
Cheers, @Ash_TheTrader
RF iFVG MTF V1Inverse Fair Value Gaps (iFVGs) are a powerful confluence because they mark areas where the market first left a clear imbalance (an FVG), then later returned and proved participation by closing fully through that zone. In other words, they often highlight prices where liquidity was exchanged and orderflow “flipped,” making them useful as potential reaction areas for:
The RF iFVG MTF indicator Once confirmed, draws the iFVG zone and is projected forward as an actionable area of interest and remains active until price invalidates the zone. Use this zone from a higher time frame as a POI, or use it on the current chart time frame as an entry model.
You can run it on the current chart timeframe or enable MTF mode to detect iFVGs from a higher timeframe while plotting them directly on your chart for clean top-down context. Includes adjustable gap filtering, and inversion timing (N bars) to adjust the sensitivity of the iFVG logic
Liquidity Sweeps [Kodexius]Liquidity Sweeps is a price action indicator built to visualize and react to common “stop run” behavior around recent swing highs and swing lows. It continuously detects pivot-based liquidity levels (recent resistance and support), extends them forward in time, and then classifies the interaction when price probes beyond a level but fails to hold through it.
The script focuses on two outcomes:
Buy-Side Liquidity Sweep (BSL): price takes liquidity above a recent swing high (high breaks above the level) but closes back at or below the level.
Sell-Side Liquidity Sweep (SSL): price takes liquidity below a recent swing low (low breaks below the level) but closes back at or above the level.
To support real trading workflows, it keeps charts readable by limiting active levels, offers clean styling options, and optionally filters sweep signals using relative volume (RVOL) so you can require participation before a sweep is considered valid.
🔹 Features
🔸 Pivot-Based Liquidity Level Detection (Swing Highs and Swing Lows)
The indicator uses a user-defined Pivot Length to identify confirmed swing points:
Pivot Highs become resistance liquidity levels (buy-side liquidity above highs).
Pivot Lows become support liquidity levels (sell-side liquidity below lows).
Each detected level is drawn as a horizontal line and automatically extended to the current bar until it is swept or broken.
🔸 Automatic Level Management (De-Cluttering)
To prevent chart overload, the script stores levels in internal arrays and enforces Maximum Active Levels:
When new levels are added and the limit is exceeded, the oldest level is removed.
This keeps only the most relevant, recent liquidity zones visible.
🔸 Clear Sweep Classification (BSL and SSL)
The sweep logic is intentionally strict and practical:
- BSL Sweep triggers when the bar’s high is above resistance but the close is back below or at resistance.
- SSL Sweep triggers when the bar’s low is below support but the close is back above or at support.
This models the “probe and reject” behavior typical of liquidity grabs.
🔸 Optional Volume Confirmation Using RVOL
When Enable Volume Filter is turned on, sweeps are only valid if the current bar’s volume is strong relative to the last 20 bars:
The script computes a 20-period volume average.
You can require volume to exceed the average by a chosen Volume Multiplier (example: 1.5 means 150% of the average).
If the filter is disabled, sweeps are evaluated purely on price conditions.
🔸 Sweep Labels and Level Highlighting
On a valid sweep:
A label is printed on the sweep bar:
- ▼ BSL for buy-side liquidity sweeps (yellow)
- ▲ SSL for sell-side liquidity sweeps (blue)
The swept level is highlighted by drawing an additional colored line over the swept range.
The script also prints the bar’s RVOL percentage near the midpoint of the swept line segment:
- BSL volume text is placed above the line midpoint
- SSL volume text is placed below the line midpoint
This makes it easy to see whether a sweep was low-effort or supported by strong participation.
🔸 Styling Controls
You can fully tailor the visual output:
Resistance and support line colors
Line style selection: Solid, Dotted, Dashed
Toggle sweep labels on or off
🔸 Alerts
The indicator exposes alert conditions for both sweep types and also fires explicit alert messages once per bar close when a sweep is confirmed:
- Buy Liquidity Sweep (BSL)
- Sell Liquidity Sweep (SSL)
🔹 Calculations
1) Pivot High / Pivot Low Detection
float ph = ta.pivothigh(high, pivotPeriodInput, pivotPeriodInput)
float pl = ta.pivotlow(low, pivotPeriodInput, pivotPeriodInput)
Interpretation:
A pivot is only confirmed after pivotPeriodInput bars have passed.
Once confirmed, the level is anchored at the pivot bar and then extended forward.
2) Creating and Storing Liquidity Levels
New Resistance (Pivot High):
if not na(ph)
line newL = line.new(bar_index , ph, bar_index, ph,
color = resistanceColorInput, width = 1, style = getLineStyle(lineStyleInput))
resistanceLevels.push(LiquidityLevel.new(ph, bar_index , newL))
if resistanceLevels.size() > maxLinesInput
(resistanceLevels.shift()).delete()
New Support (Pivot Low):
if not na(pl)
line newL = line.new(bar_index , pl, bar_index, pl,
color = supportColorInput, width = 1, style = getLineStyle(lineStyleInput))
supportLevels.push(LiquidityLevel.new(pl, bar_index , newL))
if supportLevels.size() > maxLinesInput
(supportLevels.shift()).delete()
This enforces the “Maximum Active Levels” limit by deleting the oldest stored level when the cap is exceeded.
3) Relative Volume (RVOL) and Volume Filter
float volAvg = ta.sma(volume, 20)
float volRelative = (volume / volAvg) * 100
bool isVolStrong = not useVolFilterInput or (volume > volAvg * volMultiplierInput)
volRelative expresses the sweep bar’s volume as a percentage of the last 20-bar average.
If the filter is enabled, a sweep is valid only when isVolStrong is true.
4) Sweep Conditions (Core Logic)
Buy-Side Liquidity Sweep (Resistance Sweep)
A resistance level is considered swept when price trades above it but closes back at or below it.
bool priceSwept = high > lvl.price and close <= lvl.price
bool broken = close > lvl.price
priceSwept captures the “probe and reject” behavior.
broken invalidates the level if price closes above it.
The confirmation and cleanup flow:
if priceSwept and isVolStrong
buySweepOccurred := true
if showLabelsInput
label.new(bar_index, high, "▼ BSL",
style = label.style_label_down, color = #00000000,
textcolor = C_SWEEP_BUY, size = size.small)
line.new(lvl.startBar, lvl.price, bar_index, lvl.price, color = C_SWEEP_BUY, width = 1)
int midX = math.round((lvl.startBar + bar_index) / 2)
label.new(midX, lvl.price, str.tostring(volRelative, "#") + "% VOL",
color = #00000000, textcolor = color.new(C_SWEEP_BUY, 20),
style = label.style_label_down, size = size.tiny)
resistanceLevels.remove(i).delete()
else if broken
resistanceLevels.remove(i).delete()
Sell-Side Liquidity Sweep (Support Sweep)
A support level is considered swept when price trades below it but closes back at or above it.
bool priceSwept = low < lvl.price and close >= lvl.price
bool broken = close < lvl.price
The confirmation and cleanup flow:
if priceSwept and isVolStrong
sellSweepOccurred := true
if showLabelsInput
label.new(bar_index, low, "▲ SSL",
style = label.style_label_up, color = #00000000,
textcolor = C_SWEEP_SELL, size = size.small)
line.new(lvl.startBar, lvl.price, bar_index, lvl.price, color = C_SWEEP_SELL, width = 1)
int midX = math.round((lvl.startBar + bar_index) / 2)
label.new(midX, lvl.price, str.tostring(volRelative, "#") + "% VOL",
color = #00000000, textcolor = color.new(C_SWEEP_SELL, 20),
style = label.style_label_up, size = size.tiny)
supportLevels.remove(i).delete()
else if broken
supportLevels.remove(i).delete()
5) Level Extension to Current Bar
method update(LiquidityLevel this) =>
line.set_x2(this.lineObj, bar_index)
This keeps each active liquidity level extended to the current candle until it is swept or decisively broken.
6) Alerts
alertcondition(buySweepOccurred, "Buy Liquidity Sweep", "BSL Swept!")
alertcondition(sellSweepOccurred, "Sell Liquidity Sweep", "SSL Swept!")
if buySweepOccurred
alert("Kodexius BSL Sweep: " + str.tostring(close), alert.freq_once_per_bar_close)
if sellSweepOccurred
alert("Kodexius SSL Sweep: " + str.tostring(close), alert.freq_once_per_bar_close)
Price Action ICT SMC - Crypto Lidya (Lite)Price Action • ICT • SMC — Crypto Lidya (Lite)
Short title: PA Lite — Crypto Lidya
ONE CHART. ONE FLOW. TEXTBOOK PA + ICT + SMC.
This is not “more drawings”. It’s a structured, rule-based framework that merges:
Market Structure + Liquidity + Confirmation → into a single decision flow.
Core textbook sequence:
Liquidity → (IDM) → Displacement → CHoCH / BOS → Return to PD / OB / FVG / BPR
Built for traders who want clean context, multi-timeframe discipline, and professional-grade confluence
without turning the chart into a mess.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU GET (HIGHLIGHTS)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Market Structure engine: CHoCH + BOS with configurable confirmation logic
- Liquidity context: EQH/EQL sweeps + deterministic “linking” to structure breaks
- HTF Bias (Regime Filter): optional direction gating for cleaner, textbook alignment
- TF Bias Table (Multi-TF dashboard): “at-a-glance” bias stacking with reasons
- PD Range (Premium/Discount): dealing-range alignment filter (OB / FVG or both)
- Displacement filter: impulse-quality confirmation (Body% / ATR / Close-position)
- Killzones / Sessions: time-window validation (London / NY AM / NY PM)
- FVG + BPR: imbalance mapping + balanced range overlap logic
- OB / BB engine: source models, refinement, quality filters, strength scoring, overlap pruning
- Alerts + Webhook-ready output: Human / JSON format, HTF gate, cooldown controls
“Structure + Liquidity + Confirmation in one workflow (no clutter).”
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
QUICK START (RECOMMENDED FLOW)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) Performance
- Set Lookback Window (bars) to match your chart speed/history needs.
- View when “Lookback Window (bars)” is increased (with “Limit to Nearest” OFF / all zones visible).
- View when “Lookback Window (bars)” is decreased (with “Limit to Nearest” OFF / all zones visible).
2) Regime & Multi-TF Context (ICT)
- Enable HTF Bias if you want direction filtering.
- Use TF Bias Table to verify alignment across your chosen timeframes.
3) Timing Filter (Optional)
- Enable Killzones / Sessions to focus on high-liquidity delivery windows.
4) Confirmation Quality
- Enable Displacement filter to reduce range noise / weak breaks.
5) Structure Execution (SMC)
- Use CHoCH / BOS for the “break confirmation” layer.
- Use Buffers / Confirm Modes for stricter or faster validation.
6) Zones & Returns
- Use PD Range to validate where setups “should” form (Premium/Discount).
- Map FVG / BPR and OB / BB for return-to-zone models.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODULES (TEXTBOOK EXPLANATION)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1) HTF BIAS (REGIME FILTER)
HTF Bias acts as your directional framework (macro context).
When enabled, signals can be suppressed if they conflict with the HTF direction.
Two professional ways to define bias (you choose via Trend Mode):
A) Swing Structure Bias (HH/HL – LH/LL) — “stable”
- Uptrend requires HH + HL confirmation
- Downtrend requires LL + LH confirmation
- Best when you want fewer, higher-quality flips
B) Legacy / Break of Extreme — “faster”
- Bias can flip as soon as a new pivot breaks the last major extreme
- Best for aggressive / fast markets (but can be noisier)
2) TF BIAS TABLE (MULTI-TIMEFRAME DASHBOARD)
The TF Bias Table is built for disciplined multi-timeframe execution:
- Answers “Are higher TFs aligned?” in seconds
- Helps you avoid taking LTF triggers against HTF context
- Can show reasoning text (optional) to keep the logic transparent
Bias calculation options (Table Bias Mode):
- Swing Structure Bias (HH/HL – LH/LL): more stable, flips later
- Structure-Scope Bias (msStructScope aligned): follows your chosen structure scope and flips faster
Hybrid rule is deterministic:
External dominates; if External is not ready, fallback to Internal.
Provisional Bias (UI only, optional):
- If pivots are not fully confirmed, the table can display a provisional bias based on HTF candle direction
- UI only (does not change signals)
3) PD RANGE (PREMIUM / DISCOUNT)
PD Range defines where price is “dealing” relative to its midpoint (50%):
- Bullish context → Discount is preferred
- Bearish context → Premium is preferred
You can apply PD filtering to:
- OB + FVG (default), OB only, or FVG only
Optional strict mode:
- Require the level/zone to remain fully inside the dealing range (more textbook)
“Discount buys / Premium sells with a clear dealing range reference.”
4) DISPLACEMENT (IMPULSE CONFIRMATION)
Displacement filter keeps breaks “honest”.
CHoCH/BOS confirms only if the break candle shows real intent:
- Body dominance (Body% rule)
- Volatility expansion (ATR multiple rule)
- Close position in break direction (optional strictness)
This is designed to reduce fake breaks in ranges and thin-liquidity periods.
“Impulse-quality break passes; weak range poke fails.”
5) KILLZONES / SESSIONS (TIME-WINDOW VALIDATION)
Session gating is a professional timing filter:
- Validate structure breaks/sweeps only inside enabled windows
- Focus execution during high-liquidity delivery hours (London / NY AM / NY PM)
“Cleaner signals when you trade only the active delivery windows.”
- Normal vs Killzone:
6) MARKET STRUCTURE (CHoCH / BOS)
CHoCH (Change of Character):
- Signals a character shift by breaking a key protected point (optionally)
BOS (Break of Structure):
- Confirms continuation breaks in the current structure direction
Confirmation controls:
- Close / Wick / Body / combined modes
- Optional buffers (Ticks or Percent) to reduce micro-noise
Optional Protected Swing Mode:
- Uses protected HL/LH as reference (closer to classic SMC)
7) LIQUIDITY (EQH/EQL SWEEPS + LINKING)
Liquidity sweeps identify stop-runs / grabs around equal highs/lows:
- Wick Only: faster tagging
- Wick + Close Back: more textbook (grab + rejection)
Link Window (bars) ties a sweep to the next CHoCH/BOS:
- Smaller window = stricter context
- Larger window = more permissive linking
8) FVG + BPR (IMBALANCE & REBALANCE)
FVG (Fair Value Gap):
- Shows active imbalances and mitigation behavior
- Optional size filter (Percent / ATR / Ticks / Absolute)
BPR (Balanced Price Range):
- Overlap zone formed by Bull FVG + Bear FVG
- Used as a confluence zone for rebalance and continuation models
9) OB / BB (ZONES)
Order Blocks (OB):
- Anchored to BOS/CHoCH breaks or derived from displacement candles (source mode)
- Refinement modes: Body / Wick / Mean Threshold
- Optional quality filter (Balanced / Strict, etc.)
- Strength scoring + confluence bonuses (FVG overlap, liquidity context)
- Overlap pruning keeps the chart clean and relevant
Breaker Blocks (BB):
- Derived from invalidated OBs
- Can show inherited strength % (optional)
- Cleanup options preserve performance without deleting open zones
10) ALERTS (REALTIME / WEBHOOK)
- Enable Alerts: master switch
- Choose Human or JSON message format
- Optional gates: HTF Bias alignment, cooldown (anti-spam)
TradingView setup tip:
Use alert condition = “Any alert() function call” for full detail messages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LITE / COMMUNITY ROADMAP (IMPORTANT)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is the free Lite / Community release.
To keep this project sustainable and continue improving it for the community:
- This Lite edition is planned to become limited to 3 symbols in a future update (e.g., BTC / ETH / SOL).
- The full, unrestricted version (all symbols + advanced upgrades) will be released separately as the PRO edition.
You’ll always see clear release notes before major changes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Educational / analytical tool only. Not financial advice.
- No guarantees. Always manage risk.
- “ICT / SMC” terminology is used as a category reference to commonly known concepts.
This script is not affiliated with any third-party educator or brand.
Inducement [Kodexius]Inducement is a market structure overlay indicator designed to help you contextualize liquidity driven pullbacks inside an established structural trend. Rather than treating every sweep or wick as equal, it frames “inducement” as a selective event that tends to appear after structure has shifted and price is engineering a retracement to attract late participants, clear nearby liquidity, and create fuel for continuation.
At a high level, the script separates price action into two layers:
External (macro) structure to define meaningful swing points and detect structural shifts (Break of Structure).
Internal (micro) structure to locate the more subtle swing levels that are commonly targeted during retracements.
Once a valid structural break establishes directional context, the indicator looks for a characteristic internal level raid that occurs without invalidating the broader structure (i.e., structure remains “protected”). When that raid is followed by evidence of intent/continuation (displacement style behavior), the event is marked as an inducement and plotted directly on the chart.
The result is a clean, rules based way to highlight high probability “pullback bait” zones helping you distinguish between random noise and a retracement that is more consistent with structured continuation behavior.
🔹 Features
🔸 Dual Layer Swing Engine (Internal vs External)
Internal and external swing detection work together to separate micro structure from macro structure. Internal swings capture nearer term pivot behavior, while external swings define the larger structural framework. Sensitivity can be tuned through swing length inputs, and historical depth can be managed to keep the chart clean and performance stable.
🔸 Break of Structure (BOS) Context Filter
BOS acts as a context gate that defines the active directional regime. Rather than generating signals in isolation, inducement evaluation is tied to structural context, enabling cleaner interpretation of “what matters now” versus what is simply historical noise.
🔸 Structure Protection (Invalidation Awareness)
A key differentiator is the emphasis on structure staying intact. Inducement candidates are only considered while the relevant macro framework remains protected. This helps filter out pullback like events that are actually part of a reversal or breakdown sequence, keeping attention aligned with continuation friendly conditions.
🔸 Inducement Detection With Optional Sweep Strictness
Inducements are derived from internal levels that form around post break retracement behavior levels that are commonly “targeted” during pullbacks. You can choose a stricter interpretation (e.g., close confirmation) for stronger validation, or a more permissive interpretation if you prefer to capture wick based raids while still requiring follow through behavior.
🔸 Intent / Displacement Confirmation (Volatility Aware)
To reduce false positives from shallow noise, the script incorporates a volatility aware confirmation layer. This helps ensure the marked event is not just a minor sweep, but is followed by behavior more consistent with directional commitment improving selectivity across different assets and market conditions.
🔸 Clean On Chart Visualization (BOS + IDM Levels)
The overlay is designed to be readable and practical: BOS levels are presented clearly, and inducements are marked with distinct level styling and labeling (bullish vs bearish). The visual output aims to support fast decision making without overwhelming the chart.
Bullish IDM:
Bearish IDM:
🔸 Chart Hygiene Controls (Limit Visible History)
You can limit how many historical inducements remain visible to prevent clutter especially helpful on lower timeframes or long sessions. This keeps focus on the most relevant, recent structural narrative.
🔸 Designed for Confluence Based Trading Workflows
This indicator is best used as a context + trigger assistant, not a standalone entry system. It integrates naturally with higher timeframe bias, session logic, supply/demand mapping, execution models, and risk planning providing structure aligned pullback references you can combine with your own confirmations.
MTF Fair Value GapsMTF Fair Value Gaps (MTF FVGs) plots Fair Value Gaps from up to 4 user-selectable higher timeframes directly on your chart.
Multi-timeframe support: Enable/disable each timeframe independently (e.g., 15m / 1h / 4h / 1D).
Clean chart mode: Show only the N closest bullish + bearish gaps per timeframe (reduces clutter).
Mitigation options: Choose how/when gaps are considered filled and automatically removed.
CE (0.5) midpoint line: Optional display with customizable style and width.
Per-timeframe colors: One color per timeframe (bull/bear share the same color).
Right-edge extension: Shift the right edge by X chart candles to keep gaps visible ahead of price.
Killzones & DoL's by @mohtradesThe KillZones & DoLs indicator is a comprehensive tool designed for ICT and institutional traders. It provides a clean, customizable way to visualize key time-based levels, killzone sessions, and daily/weekly/monthly statistics directly on your chart.
Key Features
1. Killzones & Sessions
Visualize the three major trading sessions with customizable boxes and time ranges:
Asia Range: Default 20:00 - 00:00 (NY Time)
London Killzone: Default 02:00 - 05:00 (NY Time)
New York Killzone: Default 09:30 - 16:00 (NY Time)
Killzone Tools:
Boxes: Draw highlighted boxes for each session.
Pivots: Automatically mark the High and Low of each session.
Midpoints: Optionally show the 50% equilibrium level of the session range.
Extensions: Extend pivot lines until they are mitigated (price touches them) or keep them for a set duration.
Alerts: Get notified when a session High or Low is broken.
2. Highs & Lows (HTF Levels)
Track significant liquidity levels from higher timeframes without switching charts:
Previous Day High/Low (PDH/PDL)
Previous Week High/Low (PWH/PWL)
Previous Month High/Low (PMH/PML)
Current High/Low of Day (HOD/LOD): Tracks the developing high and low of the current day.
Current High/Low of Week (HOW/LOW): Tracks the developing high and low of the current week.
3. Opening Price Lines
Mark key opening prices to use as support/resistance or bias confirmation:
True Day Open (00:00 NY)
Week Open
Month Open
Custom Open Lines: Configure up to 8 custom time-based open price lines (e.g., 06:00, 10:00, 14:00).
4. Separators & Statistics
Period Separators: Vertical lines marking the start of new Days, Weeks, or Months.
Range Table: Display the range (in pips/points) of recent sessions and their average to gauge volatility.
Customization
Timezone: Fully adjustable to your preferred timezone (default America/New_York).
Styling: Customize colors, line styles, widths, and label sizes for all elements.
Drawing Limits: Optimize chart cleanliness by limiting historical drawings to the last N days.
How to Use
Add the indicator to your chart.
Open Settings to enable/disable specific Killzones (Asia, London, NY).
Enable "Show PDH/PDL" or "Show HOW/LOW" to track liquidity.
Set your convenient timezone (typically NY for ICT concepts).
Use alerts to catch liquidity runs on session pivots.
SMT Divergence [Kodexius]SMT Divergence is a correlation-based divergence detector built around the Smart Money Technique concept: when two normally correlated instruments should be making similar swing progress, but one prints a new extreme while the other fails to confirm it. This “disagreement” can be a valuable contextual signal around liquidity runs, distribution phases, and potential reversal or continuation points.
The script compares the chart symbol (primary) with a user-selected comparison symbol (for example BTC vs ETH, ES vs NQ, EUR/USD vs GBP/USD) and automatically scans both instruments for confirmed swing highs and swing lows using pivot logic. Once swings are established, it checks for classic SMT conditions:
Primary makes a new swing extreme while the comparison symbol forms a non-confirming swing .
To support a wider range of markets, the indicator includes an Inverse Correlation option for pairs that typically move opposite to each other (for example DXY vs EUR/USD). With this enabled, the divergence rules are logically flipped so that the script still detects “non-confirmation” in a way that is consistent with the pair’s relationship.
The indicator is designed to be readable and actionable. It can draw divergence labels directly on the main chart, connect the relevant swing points with lines, show a compact information table with the last signal and settings, and optionally render the comparison symbol as a mini candle chart in the indicator pane for quick visual validation.
🔹 Features
🔸 Two-Symbol SMT Analysis (Primary vs Compare)
Select any comparison symbol to evaluate correlation structure and divergence. The script fetches the comparison OHLC data using the current chart timeframe to keep both series aligned for analysis.
🔸 Inverse Correlation Mode
For inversely correlated pairs, enable “Inverse Correlation” so the script interprets confirmation appropriately (for example, a higher low on the comparison instrument might be expected to correspond to a lower low on the primary, depending on the relationship). This helps avoid false conclusions when the pair naturally moves opposite.
🔸 Pivot-Based Swing with Adjustable Sensitivity
Swings are detected using confirmed pivots (left bars and right bars). This provides cleaner structural swing points compared with raw candle-to-candle comparisons, and it lets you control sensitivity for different market conditions and timeframes. The script also limits stored swing history to keep performance stable.
🔸 Flexible Detection Mode: Time Matched or Independent Swings
You can choose how swings are paired across instruments:
Time Matched searches for a comparison swing that occurred at the same pivot time as the primary swing.
Independent Swings compares each symbol’s own last two swings without requiring an exact time match.
🔸 Range Control and Noise Filtering
To reduce weak or irrelevant signals:
“Max Bars Between Swings” ensures the two swings being compared are close enough in structure to be meaningful.
“Min Price Diff (%)” can require a minimum percentage change between the primary’s last two swing prices to confirm the move is significant.
🔸 Clear Visual Output with Tooltips
When a divergence is detected, the script can print a label (“SMT”) with bullish or bearish styling and a tooltip that includes the symbol pair and the primary swing price for quick context.
🔸 Divergence Lines for Context
Optional lines connect the relevant swing points, making it easier to see the exact structure that triggered the signal. One line can be drawn on the main chart and another in the indicator pane for the comparison series.
🔸 Info Table (At a Glance)
A compact table can display the active symbols, correlation mode, total divergences stored, and the most recent signal type.
🔸 Alerts Included
Built-in alert conditions are provided for bullish SMT, bearish SMT, and any SMT event so you can automate notifications without editing the code.
🔸 Optional Comparison Candle Panel
If enabled, the indicator can plot the comparison symbol as candles in the indicator pane. This is useful for confirming whether the divergence is happening around major levels, consolidations, or impulsive legs on the secondary instrument.
🔹 Calculations
This section summarizes the core logic used by the script.
1. Data Synchronization (Comparison Symbol)
The comparison instrument is requested on the chart’s current timeframe so swing calculations are performed consistently:
=
request.security(compareSymbolInput, timeframe.period, )
This ensures pivots and swing times are derived from the same bar cadence as the primary chart.
2. Swing Detection via Confirmed Pivots
Swings are detected using pivot logic with user-defined left and right bars:
primaryPivotHigh = ta.pivothigh(high, pivotLeftBars, pivotRightBars)
primaryPivotLow = ta.pivotlow(low, pivotLeftBars, pivotRightBars)
Because pivots are confirmed only after the “right bars” have closed, the script stores each swing using an offset so the swing’s bar index and time reflect where the pivot actually occurred, not where it was confirmed.
3. Swing Storage and Retrieval
Both symbols maintain arrays of SwingPoint objects. Each new swing is pushed into the array, and older swings are dropped once the array exceeds the configured maximum. This makes the divergence engine predictable and prevents uncontrolled memory growth.
The script then retrieves the last and previous swing highs and lows (per symbol) to evaluate structure.
4. Matching Logic (Time Matched vs Independent)
When “Time Matched” is selected, the script searches the comparison swing array for a pivot that occurred at the exact same timestamp as the primary swing. When “Independent Swings” is selected, it simply uses the comparison symbol’s last two swings of the same type.
5. Bullish SMT Condition (LL vs HL)
A bullish SMT event is defined as:
Primary forms a lower low (last low < previous low)
Comparison forms a higher low (last low > previous low)
If inverse correlation is enabled, the comparison condition flips to maintain logical confirmation rules
The two primary swings must be within the configured bar distance window
Optional minimum percentage difference must be satisfied
A simple anti duplication rule prevents repeated triggers on the same structure
These checks are implemented directly in the bullish detection block.
6. Bearish SMT Condition (HH vs LH)
A bearish SMT event is defined as:
Primary forms a higher high (last high > previous high)
Comparison forms a lower high (last high < previous high)
Inverse correlation flips the comparison rule
Range checks, minimum difference filtering, and duplicate protection apply similarly
These checks are implemented in the bearish detection block.
7. Percentage Difference Filter
The optional “Min Price Diff (%)” filter measures the relative distance between the last two primary swing prices. This prevents very small structural changes from being treated as valid SMT signals.
priceDiffPerc = math.abs(lastSwing.price - prevSwing.price) / prevSwing.price * 100.0
The divergence condition is only allowed to trigger if this value exceeds the user defined threshold.
priceOk = priceDiffPerc >= minPriceDiff
This filter is especially useful on higher timeframes or during low volatility conditions, where micro structure noise can otherwise produce misleading signals.
8. Visualization and Output
When a divergence is confirmed, the script:
Stores the event in a divergence array (limited by “Max Divergences to Display”)
Draws a directional SMT label with a tooltip (optional)
Draws connecting lines using time based coordinates for clean alignment (optional)
It also updates an information table on the last bar only, and exposes alertconditions for automation workflows.
Structure Lite - Automatic Major Trend LinesStructure Lite – Pivot-Based Market Structure Visualization
OVERVIEW
Structure Lite is an open-source charting tool designed to assist traders in visualizing higher-timeframe market structure. The script identifies major swing points using high-period pivot analysis and projects structural support and resistance lines directly on the chart. Its purpose is to highlight persistent market structure while minimizing visual noise.
CORE CONCEPTS & CALCULATIONS
Pivot Identification
The script uses Pine Script’s built-in ta.pivothigh() and ta.pivotlow() functions to identify confirmed swing highs and lows. A pivot is only validated after a user-defined number of bars (Major Pivot Lookback) have formed on both sides of the price extreme, ensuring that only structurally significant pivots are selected.
Structural Pairing
Each structural line is created only after two consecutive pivots of the same type are confirmed (high-to-high or low-to-low). The script stores the price and bar index of these pivots and uses them as fixed anchor points.
Line Projection
Once a valid pivot pair is formed, the script draws a line between the two points using line.new() and extends it forward using extend.right. These lines represent projected structural boundaries rather than trade signals.
Object Management
To maintain chart clarity and performance, the script manages all drawn objects through a line array. A FIFO (First-In, First-Out) method is applied so that only the three most recent structural lines remain visible. Older lines are automatically deleted as new ones are created.
DESIGN PHILOSOPHY & ORIGINALITY
While many indicators plot frequent swing points or short-term pivots, Structure Lite focuses on structural persistence. By filtering for higher-period pivots and limiting the number of displayed projections, the script emphasizes dominant market structure rather than short-term fluctuations. This approach is intended to support discretionary analysis, not replace it.
HOW TO USE
Major Pivot Lookback
Increase the value to focus on higher-timeframe structure (e.g., swing or position trading).
Decrease the value to visualize intraday structural levels.
Visual Encoding
Green lines represent projected structural support
Red lines represent projected structural resistance
Visibility Control
A boolean input allows all structure lines to be hidden instantly to restore a clean price chart.
LIMITATIONS & DISCLAIMER
This script is a visualization tool only. It does not generate trade signals, entry or exit points, alerts, or directional forecasts. All plotted levels are derived from historical price action and may change as new pivots form. The script is provided for educational and analytical purposes and should be used in conjunction with other forms of market analysis
QT-Cycles-Clear-View(Theory by DAYE)Quarter Theory – Short Summary
each cycle is segmented into four sequential quarters (Q1–Q4).
Each quarter reflects a distinct phase of liquidity, volatility, and participant behavior.
The theory focuses on when price is likely to move, rather than predicting direction.
Implemented Cycles
W.C (Weekly Cycle) – Day-to-day quarters on the 1H chart
D.C (Daily Cycle) – 6-hour quarters on the 15-minute chart
90M Cycle – Quarters within each 90-minute period
Micro Cycle – Short-term quarters within 23-minute cycles
/ Theory © DAYE
// Indicator implementation by M.A
// All rights to the original theory belong to DAYE.
// This script is an independent implementation.
QTheory [SSMT]QTheory –
This indicator is built on Quarterly Theory (developed by Daye)
🔹 Quarterly Theory
Markets often unfold in repeating quarterly cycles (Q1–Q4) across multiple timeframes — yearly, monthly, weekly, daily, 90-minute, and even micro cycles. By dividing price action into these quarters, traders can better anticipate structural shifts, accumulation/distribution phases, and liquidity runs.
🔹 Sequential SMT (SSMT)
Sequential SMT extends standard SMT (Smart Money Technique) by comparing multiple assets (such as FX majors) to identify divergences across quarters.
🔹 Features of QTheory
Automatic detection of quarterly cycles across multiple timeframes.
Visual cycle boxes & customizable dividers.
Integrated SSMT signals with divergence line visualization.
DFR (Defining Range) with Fibonacci levels.
Support for up to 5 comparison assets, with inversion options.
Auto-cycle selection for seamless multi-timeframe adaptation.
Extensive customization for colors, opacity, and signal display.
🔹 How it works
QTheory divides price data into consistent “quarters” across multiple timeframes. Within each cycle, it tracks highs, lows, and divergences, then overlays this information as boxes, dividers, and optional signals on your chart. Traders can use these visual cues to better align entries and exits with institutional market behavior patterns.
🔹 How to use it
Enable the desired cycle type (e.g., weekly, daily, 90-minute) from the settings.
Toggle boxes, dividers, and signals depending on your trading style.
Use SSMT divergences and DFR Fibs to anticipate a reversal
Compare against other assets (e.g., DXY or correlated pairs) to refine confluence.
Enable "Show Weekends" for Crypto.
⚠️ Disclaimer: This tool is for educational purposes only. It does not constitute financial advice. Always perform your own analysis and risk management.
ICT Unicorn Model [Kodexius]ICT Unicorn Model is a market structure and imbalance confluence tool that automatically detects high probability “Unicorn” setups by combining three key elements into a single, clean script:
-A first, clean break of that swing level (displacement style break)
-A Fair Value Gap that overlaps a breaker candle body range
Instead of plotting every pivot or every imbalance independently, the script waits for a specific sequence: price establishes a valid swing, breaks that swing for the first time, and prints a setup only when the resulting context aligns with a valid, volatility filtered FVG and a clearly defined breaker range.
Each detected setup is drawn directly on the chart with labeled zones (Breaker and FVG) and is then actively monitored. If price violates the breaker boundary based on your chosen invalidation basis (Close or Wick), the setup is marked inactive and can optionally be removed to keep the chart clean.
This indicator is designed for traders who work with ICT style concepts such as liquidity runs, displacement, breaker blocks, and imbalance reversion, and who want a structured, rules based visualization rather than discretionary drawing.
🔹 Features
🔸 Fair Value Gap Detection With Volatility Filtering
Bullish and bearish FVGs are detected using classic three candle imbalance logic. To avoid low quality gaps during compression, the script applies an ATR based minimum size filter using the “FVG Min Size (ATR Multiplier)” input. Only gaps larger than ATR * threshold are considered valid.
🔸 First Break Validation (Clean Break Logic)
A key part of the model is identifying a “first break” of a swing level. The script checks whether the swing price has already been invalidated between the swing bar and the current bar. If it has, the swing is ignored. This helps reduce repeated signals and focuses on fresh structural breaks.
🔸 Breaker and FVG Confluence With Overlap Requirement
After a valid break occurs, the script defines a breaker range using the body of the swing candle (open and close). A setup is only created if this breaker body range overlaps the detected FVG price range. This overlap requirement is what filters many “almost” conditions and keeps signals more selective.
Bullish Unicorn:
Bearish Unicorn:
🔸 Configurable Invalidation Basis (Close or Wick)
You can choose how a setup fails:
-Close: invalidation requires a candle close beyond the breaker boundary
-Wick: invalidation occurs as soon as any wick crosses beyond the breaker boundary
This allows the tool to adapt to different trading styles, from conservative confirmation to more sensitive risk control.
🔸 Automatic Cleanup of Failed Setups
If “Delete Invalidated Setups” is enabled, the script removes the breaker box, FVG box, and label as soon as the setup is invalidated. If disabled, the zones remain visible for review while the setup is marked inactive internally.
🔸 Clear Chart Visuals
Each setup plots:
-A labeled Breaker zone box
-A labeled FVG zone box
-A directional Unicorn label (Bull or Bear) that updates position as the chart advances
Colors for bullish and bearish structures are fully configurable.
🔸 Alert Conditions
Two alert conditions are provided:
-Bullish Unicorn Setup Detected
-Bearish Unicorn Setup Detected
Alerts trigger only on the bar a new setup is created.
🔹 Calculations
This section summarizes the main computations used internally. The goal here is to explain the model mechanics rather than reproduce every implementation detail.
1. Swing Detection (Pivot High / Pivot Low)
Swing levels are detected using a symmetric pivot definition with “Swing Length” bars on both sides:
float ph = ta.pivothigh(high, swingLength, swingLength)
float pl = ta.pivotlow(low, swingLength, swingLength)
When a pivot is confirmed, its price and originating bar index are stored:
-Swing High: price = pivot high, isHigh = true
-Swing Low: price = pivot low, isHigh = false
The script keeps a limited history (most recent swings) to stay efficient.
2. Fair Value Gap Detection
FVGs use the classic three candle displacement imbalance:
Bullish FVG condition
bool isBullFVG = high < low
Bullish gap range is defined as:
-Top = low
-Bottom = high
Bearish FVG condition
bool isBearFVG = low > high
Bearish gap range is defined as:
-Top = low
-Bottom = high
3. ATR Based Minimum Gap Filter
ATR is computed (length 14), then the gap size is compared against a user threshold:
float atr = ta.atr(14)
bool validBullFVG = isBullFVG and (bullFvgTop - bullFvgBot) > (atr * fvgThreshold)
bool validBearFVG = isBearFVG and (bearFvgTop - bearFvgBot) > (atr * fvgThreshold)
This prevents very small imbalances from generating setups in low volatility conditions.
4. “First Break” Check Using Level Invalidation Scan
Before accepting a swing break, the script scans forward from the swing bar to the current bar to confirm the level has not already been breached. The scan can be based on wick or close:
-Wick mode: uses high or low
-Close mode: uses close
Conceptually:
priceToCheck = mode == "Wick" ? (checkBelow ? low : high) : close
If a prior breach is found, the swing is treated as already invalidated and is ignored for setup creation.
5. Break Of Structure Condition
Bullish break requirement
A bullish setup requires breaking a stored swing high with bullish body intent:
-close > swingHighPrice
-open < close
Bearish break requirement
A bearish setup requires breaking a stored swing low with bearish body intent:
-close < swingLowPrice
-open > close
An additional proximity filter is applied in the bearish branch to reduce weak or overly extended breaks by requiring the prior close to be reasonably near the swing level.
6. Breaker Range Construction
Once a qualifying swing is found, the breaker range is derived from the body of the swing candle (the candle at the swing bar index). The body boundaries are:
float breakerTop = math.max(bOpen, bClose)
float breakerBot = math.min(bOpen, bClose)
This models the breaker as the candle body range rather than full wick range, which typically produces more practical invalidation boundaries.
7. Overlap Test Between Breaker and FVG
A setup is only created if the breaker body overlaps the FVG zone. Conceptually the script rejects cases where one range is fully above or fully below the other:
-If there is no overlap, no setup is created
-If overlap exists, the Unicorn setup is valid
8. Active Monitoring and Invalidation
Each setup remains active until invalidated. Invalidation is evaluated every bar using your selected basis:
-Close basis: compares close to breaker boundary
-Wick basis: compares high or low to breaker boundary
Bullish invalidation
Setup fails if price crosses below breaker bottom.
Bearish invalidation
Setup fails if price crosses above breaker top.
If deletion is enabled, all drawings related to that setup are removed immediately on invalidation.
9. Drawing Updates and Object Lifecycle
Breaker and FVG boxes are extended to the right while the setup is active to keep zones visible into the near future. The Unicorn label is also repositioned as new bars print so the most recent context stays readable.
Intermarket SSMT Table [Pogiest]General
Intermarket Sequential Smart Money Technique (IMSSMT) is a Quarterly Theory concept that identifies divergences (extreme highs/lows) when comparing different market triads to another market triad in two consecutive quarters.
SSMT involves identifying divergences in a correlated asset triad that occurs consecutively from the previous quarter to the current quarter to predict new phases of price, a shift in market sentiment, and also potential trend reversals. An SSMT divergence occurs when one or two assets makes a new high or low, but the other asset or assets does not, signaling a potential shift in market direction. A Hidden SSMT Divergence occurs when one or two assets’ closing price closes higher or lower than the other one or two assets’ closing price. However, with potential gaps in price, an opening price can also be the extreme when comparing assets for divergences. Hidden SSMT divergence compares the candle bodies while a Standard SSMT divergence compares the highs and lows. Both types of SSMTs are considered to be cracks in correlation and can be used to identify potential new phases of price whether it be a reversal, retracement, consolidation, and continuation.
Credit of concepts/ideas: ICT & TraderDaye
What Makes This Indicator Unique
The indicator table is designed to be used on any symbol the trader is viewing. For example, the indicator is shown on an NQ chart while selecting three symbols in the Forex triad in settings. The indicator will request the separate data from the symbols selected and display the data within the table. The table does not rely on data on the chart being viewed. Instead of switching charts, the table is used to track other market triads for SSMTs (standard & hidden) while viewing other markets simultaneously.
The indicator has the ability to display Standard SSMTs, Hidden SSMTs, or both simultaneously in real-time, tick by tick in the time period selected in a correlated asset triad within the table. Toggle modes for each type of SSMT will run independently (runs when enabled) and therefore, optimizes performance. The user is able to select three different tickers in settings instead of limiting to pairs. In addition, the indicator has “Invert” toggle options to track both Standard and Hidden SSMTs for assets with negative correlations.
How the Indicator Table Works
The indicator functions to track any divergences from the previous quarter to the current quarter. In addition, the indicator tracks the current status even when there are no divergences (see phase column below).
Timeframe Column:
1. Displays up to two different timeframes to monitor.
Asset Columns:
1. Display up to three different assets to monitor.
2. Cells display “Bull” in green background color or “Bear” in red background color showing the current state of each candle and updates in real-time tick by tick.
Phase Column:
Displays the current status from the previous quarter to the current quarter. The status updates in real-time tick by tick.
1. “F/S” indicates there are no current SSMT divergences between the previous quarter to the current quarter and all assets have not swept the previous quarter, a “failure swing”.
2. “HH” is displayed when all assets have swept the previous quarter’s extreme high. (Higher High)
3. “LL” is displayed when all assets have swept the previous quarter’s extreme low. (Lower Low) See screenshot with drawings below.
4. SSMT indicates there is an SSMT from the previous quarter to the current quarter. Red background is a bearish SSMT (divergence at the highs) or green background is a bullish SSMT (divergence at the lows). If the SSMT becomes invalid (i.e. the last asset sweeps the extreme high/low), then the table will update to display either “HH” or “LL” depending on the extreme it swept. See screenshot with drawings below.
5. “Both” indicates there are SSMT divergences at both the extremes highs and lows. If an SSMT on one side gets deleted, then the cell will automatically update to display the SSMT that is still intact. See screenshot with drawings below.
Invert Toggle Option:
When this setting is turned on, the asset column cells will display the inverted color of the live chart to show assets are in-sync. It will track the inverted swing points for SSMTs, higher highs, lower lows, etc. For example, if EUR and GBP are making lower highs, while DXY (Inverted toggle on), makes a lower low on the actual live chart, it will display “SSMT”.
NOTE:
Scanning function per timeframe to detect SSMTs:
Weekly HTF: Scans 4HR bars
Daily HTF: Scans 1HR bars
6HR/4HR HTF: Scans 15m bars
1HR HTF: Scans 5m bars
5m HTF: Scans 1m bars
The script has fixed lookback periods for bars to ensure the appropriate data is being captured. The higher the timeframe the user selects in settings while viewing on an extremely lower timeframe, the indicator may give inaccurate readings:
Recommended Chart Timeframes:
For best performance and accuracy, view your chart on a timeframe close to or lower than the scan timeframe:
Weekly HTF → View on 1H-4H chart
Daily HTF → View on 1H-4H chart
6HR/4HR HTF → View on 5m-15m chart
90M HTF → View on 3m-15m chart
1H HTF → View on 1m-15m chart
The indicator will attempt to scan further back if needed, but extremely low chart timeframes (e.g., 1m) with high HTF (e.g., Weekly) may still have limitations.
In addition, the indicator bases the SSMT off the previous quarter’s time range to the current quarter’s time range. If there are discrepancies in the time ranges (start to end of higher timeframe period selected), the SSMTs may display differently than what is viewed on the chart. For example, indices open at 18:00 est on a new trading day, so the time ranges matches throughout the day. However, in Forex, EUR and GBP opens at 17:00 est while DXY opens later, so the time ranges may be off (i.e. 6 hour timeframe). For best use, select time periods that matches throughout the day.
Usage
Traders can use both types of SSMT divergences to anticipate potential reversals in points of interest such as higher timeframe swing points, supply/demand zones, higher timeframe imbalances, key levels, etc. This indicator can also be beneficial in identifying cracks in correlation via Hidden SSMT when there are no divergences off the highs and lows. Divergences can come in different forms relating to Intermarket SSMT. For example, if one market triad is all making lower lows while the other market triad is making higher highs, this can be deemed a divergence between the two markets. Another example would be one market triad all makes lower lows while another market triad makes a bullish SSMT. This can potentially signal a bullish move up. SSMT divergences (standard and hidden) can be used as a confirmation tool with other confluences to identify trend direction with respect to points of interest, higher timeframe order-flow, lower timeframe order-flow, etc. In addition, having both a Standard SSMT and Hidden SSMT divergence display could potentially signal a reversal. It is up to the trader to gauge the price action at the time.
Settings
1. Choose up to three different assets to monitor.
Note: If only two are selected, the indicator will only display the two selected and compare the two assets for divergences. If one is selected, a warning sign will be displayed to select at least two assets.
2. Choose up to two different timeframes. Option to deselect timeframes.
3. Enable/disable standard or hidden SSMT.
4. Option to enable alerts. Alerts include the different phases in the table (i.e. SSMT, HH, LL, and Dual SSMT [both standard & hidden) for each timeframe.
5. Toggle option to show/hide the table. Toggle option to show/hide the “Title Row” which is the first row at the top of the table.
6. Adjust the table positioning to be displayed on the chart.
7. Option to change text size in the table cells. This will also increase/decrease the size of the table.
Risk Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. All trading and investment decisions remain solely the responsibility of the user.
Trading involves a high degree of risk, and past performance is not indicative of future results.
Always conduct your own research and consult with a qualified financial professional before making any trading decisions.
By using this indicator, users acknowledge they understand these risks and accept full responsibility for their trading decisions and outcomes.






















