QSS v15.0 [Omni-Engine]# **QSS v15.0 | Institutional Quant System**
### **💎 The Only Indicator You Will Ever Need**
**QSS (Quantitative Signal System) v15.0** is an all-in-one algorithmic trading engine designed to solve the biggest problem in trading: **fragmentation.** Instead of cluttering your chart with 10 different indicators (RSI, MACD, Bollinger Bands, Order Blocks, SuperTrend, etc.), QSS synthesizes them all into a single, high-probability decision engine.
This is not just a "Buy/Sell" indicator. It is a complete **Institutional Trading Suite** that combines "Smart Money Concepts" (SMC) with quantitative trend analysis and dynamic risk management.
---
### **🚀 Key Features**
#### **1. Dual-Core Signal Engine**
Choose your weapon based on the asset class and volatility:
* **Engine A: SuperTrend (Classic):** The industry standard for capturing major trends. Best for Swing Trading and Stocks.
* **Engine B: OTT (Optimized Trend Tracker):** A faster, volatility-adaptive engine derived from VIDYA (Variable Index Dynamic Average). Best for Crypto and Scalping.
#### **2. Institutional Intelligence (SMC)**
* **Volumized Order Blocks (SMC):** Automatically detects Supply (Red Box) and Demand (Green Box) zones based on pivot volume.
* *Smart Filter:* The system will **BLOCK** Buy signals if price is running straight into a Bearish Order Block (Resistance).
* **Koncorde (Smart Money Flow):** Analyzes PVI (Positive Volume Index) vs. NVI (Negative Volume Index) to track "Sharks" (Institutions) vs. "Minnows" (Retail).
* *Smart Filter:* Signals are only generated if Institutional Money Flow supports the direction.
#### **3. The "Power 3" Confirmation Suite**
Includes optional filters for the classic trinity of technical analysis:
* **MACD:** Ensures momentum alignment.
* **Stochastic:** Prevents buying at overbought peaks.
* **Bollinger Bands:** Ensures trades only occur during volatility expansion (Squeeze breakout).
#### **4. Advanced Noise Filtering**
* **ADX Trend Strength:** Blocks signals during "dead" or choppy markets (ADX < 20).
* **Candle Stability Index:** Ignores "wicky" candles and indecision dojis, preventing fake-outs.
* **Trend Ribbon:** A dual-SMA cloud (21/34) that ensures you are always on the right side of the macro trend.
#### **5. Dynamic Risk Management (R:R)**
* Automatically calculates **Stop Loss** and **Take Profit** targets based on market volatility (ATR).
* **TP1 (1:1):** Secure profit / Move stops to breakeven.
* **TP2 (1:2):** Standard target.
* **TP3 (1:3):** Trend runner.
* *Visuals:* Draws clear entry, stop, and target lines on the chart when a trade is active.
#### **6. Pro Dashboard**
A dynamic panel that monitors:
* **Trend Status:** (Bullish/Bearish)
* **Market State:** (Trending/Parabolic/Ranging)
* **Smart Money:** (Accumulating/Distributing)
* **Live Trade Data:** Real-time entry price and targets when a position is open.
---
### **🛠️ Settings Guide**
**🔥 SIGNAL ENGINE**
* **Strategy Engine:** Toggle between `SuperTrend` (Safe) or `OTT` (Fast).
**🧱 ORDER BLOCK FILTER**
* **Respect Order Blocks:** If checked, the system will not Buy into Resistance or Sell into Support.
* **Show OB Zones:** Toggles the visible Red/Green boxes on the chart.
**📊 QUANT FILTERS**
* **Smart Money (Sharks):** Requires Volume data. Filters out "Retail Traps."
* **ADX (Trend Strength):** Set to `20` for standard filtering. Set to `15` for aggressive scalping.
* **Candle Stability:** Filters out candles with long wicks. Essential for volatile Altcoins.
**📈 CLASSIC INDICATORS**
* **MACD / Stoch / BB:** Enable these if you want strict confluence. (Note: Enabling all will result in fewer, but higher precision signals).
**🛡️ RISK MANAGEMENT**
* **ATR Length:** Sensitivity of the volatility calculation.
* **SL Multiplier:** Distance of Stop Loss (Default 2.0x ATR for Crypto).
* **TP Multipliers:** Adjust your Risk:Reward ratios here.
---
### **💡 How to Trade with QSS v15**
1. **The Setup:**
* Wait for a **"BUY"** or **"SELL"** label to appear.
* Ensure the **Trend Ribbon** (Cloud) matches the signal color.
* Check the **Dashboard**: Ensure "Smart Money" is in your favor (Accumulation for Buys).
2. **The Execution:**
* Enter at the **Entry Price** shown on the chart.
* Place your Stop Loss at the **Red Line**.
* Take partial profits at the **Blue Dotted Lines** (TP1/TP2).
3. **Troubleshooting (Debug Mode):**
* If you see the SuperTrend/OTT flip colors but **NO signal** appears, turn on **"🔧 Debug Mode"** in the settings.
* Grey labels will appear on the chart explaining exactly *why* the trade was rejected (e.g., "⛔ REJECTED: Hitting OB Resistance" or "⛔ REJECTED: Low ADX").
---
**Disclaimer:**
*This indicator is a tool for analysis, not financial advice. It combines multiple quantitative metrics to provide high-probability setups, but no system is 100% accurate. Always use proper risk management.*
**Credits:**
* OTT Logic based on Anıl Özekşi.
* Koncorde Logic based on Blai5.
* SMC Order Block logic adapted from FluxCharts concepts.
* Synthesized and Optimized by rayu8.
Money
Live Position Sizer (LPS)Description (EN)
(Magyar leíráshoz görgess lejjebb!)
Live Position Sizer (LPS) is a discretionary trading utility designed to visualize risk, reward, and position size directly on the chart in real time.
The indicator draws a TradingView-style long or short position box and calculates the required position size based on your defined capital, maximum risk, stop-loss distance, and a user-defined lot conversion factor.
LPS is intended strictly as a decision-support and risk management tool. It does not place trades or generate automated signals.
Core features:
Automatic Long / Short position visualization
Dynamic Entry, Stop Loss, and Take Profit levels
Real-time position size calculation
Configurable Risk/Reward ratio
Fully customizable colors, transparency, and line styles
Clean, minimal on-chart labels showing direction, RR, and lot size
Only one active position box at a time for a clutter-free chart
Position sizing logic:
TradingView internally calculates position size in units, not broker-specific lots.
To bridge this difference, LPS uses a user-defined “Units per 1 Lot” multiplier.
Examples:
Forex (standard lot): 100000
Gold (XAUUSD): 1 or 100 (broker dependent)
Indices (e.g. NAS100): 1
The indicator first calculates the position size in TradingView units and then converts it to lots using this multiplier.
The displayed lot size is rounded to 0.01 lots.
Stop Loss logic:
The Stop Loss level is derived from the High or Low of a selectable previous candle.
Increasing the bar-back value places the Stop Loss further away, which:
increases stop distance
reduces position size for the same risk
Intended use:
Manual / discretionary trading
Risk management and position sizing
Trade planning and visualization
Educational purposes
Important notes:
This indicator does not execute trades
No alerts or automation by default
Lot size and contract specifications vary by broker
Always verify the exact lot or contract size with your broker before trading
------------------------------------
Description (HU)
A Live Position Sizer (LPS) egy diszkrecionális kereskedést támogató segédindikátor, amely valós időben jeleníti meg a kockázatot, a célárat és a pozícióméretet közvetlenül a charton.
Az indikátor TradingView-stílusú long vagy short pozíció boxot rajzol, és kiszámolja a szükséges pozícióméretet a megadott tőke, maximális kockázat, stop-loss távolság és egy felhasználó által definiált LOT szorzó alapján.
Az LPS nem stratégia, kizárólag döntéstámogató és kockázatkezelési eszköz.
Fő funkciók:
Automatikus Long / Short pozíció megjelenítés
Entry, Stop Loss és Take Profit szintek vizuális ábrázolása
Valós idejű pozícióméret számítás
Állítható Risk/Reward arány
Teljesen testreszabható színek, átlátszóság és vonalstílus
Letisztult chart label (irány, RR, lot méret)
Egyszerre csak egy aktív pozíció box
Pozícióméretezési logika:
A TradingView belsőleg egységekben (units) számol, nem bróker-specifikus LOT-okban.
Ennek kezelésére az LPS egy „Units per 1 Lot” beállítást használ.
Példák:
Forex standard lot: 100000
Arany (XAUUSD): 1 vagy 100 (brókertől függ)
Indexek (pl. NAS100): 1
Az indikátor először TradingView egységekben számol, majd ezt átváltja LOT-ra a megadott szorzó segítségével.
A kijelzett LOT méret 0.01-re van kerekítve.
Stop Loss logika:
A Stop Loss szint a kiválasztott korábbi gyertya high vagy low értékéből kerül meghatározásra.
Nagyobb bar-back érték:
távolabb helyezi a stopot
azonos kockázat mellett kisebb pozícióméretet eredményez
Ajánlott felhasználás:
Manuális, diszkrecionális kereskedés
Kockázatkezelés és pozícióméretezés
Trade tervezés
Oktatási célok
Fontos megjegyzések:
Az indikátor nem köt automatikusan
Alapértelmezetten nincs alert vagy automatizmus
A LOT és contract méret brókerenként eltérhet
Kereskedés előtt mindig ellenőrizd a pontos LOT / contract specifikációt a brókerednél
IOF Supply & Demand Zones (Current TF) [IOFPlaybook]📘 IOF Supply & Demand Zones (Current TF)
This indicator identifies Institutional Order Flow (IOF) supply and demand zones directly from price action on the current chart timeframe .
Zones are formed using:
• absorption-based consolidation
• ATR compression
• wick balance
• strong directional departures
These conditions help highlight areas where large market participants previously accumulated or distributed positions .
Only current-timeframe (TF-native) zones are displayed to ensure clarity, precision, and non-repainting behavior .
✨ Key Features
✅ Non-repainting supply & demand zones
🕒 Current timeframe only (no HTF imports)
📊 Pure price-action logic (no indicators or lag)
❌ Automatic zone invalidation on structure break
🌍 Works on all markets and timeframes
🧠 How to Use
🟢 Demand zones represent potential buy-side interest
🔴 Supply zones represent potential sell-side interest
📌 Use zones for:
• Entry planning
• Risk definition
• Partial exits
• Confluence with structure or trend tools
This indicator does not generate trade signals and is designed to be used as a context and execution aid , not a standalone strategy.
⚠️ Important Notes
Displays only current timeframe zones
Does not import higher timeframe zones
Does not repaint historical zones
A separate HTF-on-LTF version is planned
📎 Disclaimer
This indicator is for educational and analytical purposes only and does not constitute financial or investment advice.
Pro Scalper MTF Elite Strategy v1.0.0
Pro Scalper MTF Elite Strategy v1.0.0
What is this script?
This is an advanced, institutional-grade multi-timeframe (MTF) scalping and swing trading strategy for TradingView. It integrates multiple professional trading concepts—including Smart Money Concepts (SMC/SMT), price action, trend, momentum, and volume analysis—into a single, easy-to-use tool. The script is designed for traders who want robust, rules-based entries and exits, with built-in risk management and dynamic position sizing.
Key Concepts Integrated
Smart Money Concepts (SMC/SMT): Includes liquidity sweeps, order blocks, fair value gaps (FVG), and market structure breaks (MSB).
Price Action: Detects swing highs/lows, candle patterns, and support/resistance zones.
Trend Analysis: Uses EMAs, VWAP, and higher timeframe trend confirmation.
Momentum: Incorporates MACD and RSI for momentum filtering.
Volume : Identifies volume spikes for additional confluence.
Multi-Factor Confluence: Signals are generated only when multiple factors align, increasing reliability and reducing false signals.
How does it work?
- The strategy continuously scans for confluence between SMC/SMT signals, price action, trend, momentum, and volume.
- Each factor is scored, and only high-confluence setups trigger trade signals.
- Risk management is fully automated: you set your risk per trade, and the script calculates stop loss, take profits, and position size.
- Advanced features include trailing stops, breakeven logic, dynamic targets, and adaptive filters for different market regimes.
How to use
1. Add the script to your chart.
2. Adjust settings in the Inputs panel:
- By default, liquidity zones and support/resistance are OFF for a clean chart. Enable “Show Liquidity Zones (By TF)” and “Show S/R Zones” in the Visuals section to see SMT/SMC features.
- Set your account size and risk % for proper position sizing.
- Choose your preferred risk management and signal filtering options.
3. **Look for BUY/SELL labels on the chart.**
- These indicate high-confluence trade entries.
- The script will plot stop loss and take profit levels.
4. **Use the built-in strategy tester to review historical performance.**
5. **Set up alerts:** See below for details.
Features & Settings Explained
- Risk Management : Fixed % risk per trade, dynamic position sizing, trailing stops, breakeven, and adaptive targets.
- Signal Logic: Multi-factor scoring, cluster confluence, aggressive mode, candle color filter, and high conviction options.
- Advanced Filters: Bias gate, ambiguity skip, cooldown, adaptive stop modes, dynamic regime adjustment.
- Session & Volatility : Session filter, volatility gate, and dynamic position sizing.
- Visuals: All major overlays (liquidity, S/R, order blocks, FVGs, etc.) are OFF by default for clarity. Enable as needed in the Visuals section.
- Dashboard (Debug Panel): Built-in dashboard displays key signal metrics, scores, cluster counts, regime status, and trigger states directly on the chart. Enable it in the Visuals section by setting “Debug Panel Mode” to “Lite” or “Extended” and choose its position with “Debug Panel Position.”
- **Performance Tweaks:** Light MTF mode, max boxes/labels, and more.
How to enable SMT/SMC features
- Enable “Show Liquidity Zones (By TF)” for liquidity zones (SMT/SMC).
- Enable “Show S/R Zones” for support/resistance.
- Enable “Show Order Blocks” and “Show FVG” for order block and fair value gap visualization.
How to set alerts (Strategy Script)
On TradingView, strategy scripts do not allow you to select specific conditions like “Entry Buy” or “Entry Sell” in the alert dialog. Instead, you can only set a single alert for the entire strategy. Here’s how to do it:
1. Add the strategy to your chart.
2. Click the “Add Alert” (clock) icon at the top of TradingView.
3. In the alert dialog, select the strategy name as the condition (you will not see separate options for Entry Buy or Entry Sell).
4. The alert will trigger whenever the script generates a new buy or sell signal (as defined by the alert() function in the script).
5. Set your preferred alert actions (popup, email, webhook, etc.) and click “Create”.
Note: If you want separate alerts for buy and sell signals, you would need to use a companion indicator version of the script.
What strategy is this? How does it help?
This is a multi-factor, multi-timeframe confluence strategy. It helps traders by:
- Automating complex SMC/SMT and price action analysis.
- Managing risk and position size for you.
- Providing clear, actionable trade signals only when multiple factors align.
- Adapting to changing market regimes (trend/chop/volatility).
- Reducing emotional trading and overtrading.
Timeframes
- Works best on 5m, 15m, 30m, and 1H charts.
- Can be used on higher timeframes for swing trading.
- Lower timeframes (1m, 3m) may be noisier.
Does it repaint?
- The script is designed to avoid repainting. Signals are generated using confirmed bar data.
- Optional “Repaint Audit” mode is available for testing.
- Visual overlays (zones, FVGs, etc.) may update as new bars form, but trade signals do not repaint.
How long do signals show?
- Signals remain on the chart as long as the trade is active or until the next signal.
- Visual zones fade after a set number of bars (configurable).
---
Supplemental Information
Author
- Script by lava_javaforum (Institutional Enhancement Strategy Variant).
- For support, contact via TradingView or the invite-only group.
Risk Management & Position Sizing
- All trades use fixed % risk per trade.
- Position size is calculated automatically.
- Dynamic sizing increases with higher conviction.
Track Record
- This is a strategy script with built-in backtesting.
- Past performance is shown in the TradingView strategy tester.
- No guarantee of future results; always forward-test before live trading.
Markets
- Designed for stocks, indices, futures, and options.
- Works on any liquid market and timeframe.
Leverage
- The script does not recommend or require leverage.
- Use leverage at your own risk.
Backtesting
- Fully backtestable in TradingView.
- Use the strategy tester to review historical performance.
Support
- Support is available for invite-only users.
- Contact the author for questions or troubleshooting.
Community
- You may contact other users in the invite-only group for feedback and tips.
Trial
- A trial period may be available for select users. Contact the author for details.
---
Disclaimer
This script is for educational and informational purposes only. It is NOT financial advice. Trading involves risk, and you should only trade with money you can afford to lose. Past performance does not guarantee future results. Always do your own research and consult a financial advisor if needed.
---
If you have any questions or need help with settings, contact the author directly. Happy trading!
GOD SNIPER [The One] FINAL MOBILEGOD SNIPER - Ultimate Institutional Trading System (Mobile Ready)
This script is an all-in-one trading system designed for professional day traders, specifically optimized for Gold (XAUUSD) and Forex . It combines Institutional SMT Logic , SMC Structure , and Trend Analysis into a single, mobile-responsive dashboard.
🚀 Core Features
1. GOD Signal (Master Trigger)
The core of the system uses SMT Divergence (Smart Money Tool) logic. It compares price action with correlated assets (via `request.security`) combined with an RSI filter to identify high-probability reversals.
Non-Repainting: All signals are confirmed strictly on the BAR CLOSE . They will never disappear or repaint.
Auto Reversal: The system alerts you immediately when the trend shifts (e.g., from Buy to Sell), allowing for quick hedging or reversing positions.
2. SMC Trade Manager
Automatically maps market structure to guide your trade management.
BOS (Break of Structure): Identifies trend continuation for stacking positions.
Smart Exits: Alerts you on CHoCH (Change of Character) or structural breaks to protect profits.
Dynamic TP/SL: Automatically calculates Entry, Stop Loss, and Take Profit levels based on recent swing points.
3. Mobile Optimized Dashboard
A responsive UI designed for mobile traders. You can toggle "Mobile Mode" in the settings to shrink the dashboard, preventing it from obscuring the chart on small screens.
4. Session Kill Zones
Highlights high-volume trading sessions (London & New York) with subtle background colors, helping you focus on the most volatile times of the day.
-------------------------------------------------------------
🛡️ How to Trade
1. Check Trend: Look at the Dashboard. Trade in the direction of the H1 Trend.
2. Wait for Signal: Wait for a confirmed GOD BUY or GOD SELL label.
3. Entry: Enter the trade upon the alert/bar close.
4. Manage:
- Use BOS signals to add to your position (Stacking).
- Exit immediately upon an EXIT signal or an opposite GOD signal.
-------------------------------------------------------------
⚠️ Disclaimer
This script does not guarantee profits. Past performance is not indicative of future results. Always use proper risk management.
👉 For Access / Invitation: Please check the link in my Signature below.
=============================================================
🇹🇭 Thai Translation (คำอธิบายภาษาไทย)
GOD SNIPER คือระบบเทรดที่รวมเครื่องมือระดับกองทุนไว้ในที่เดียว เน้นความแม่นยำสูง ไม่รีเพนท์ (Non-Repaint 100%)
ฟีเจอร์เด่น:
1. GOD Signal: ใช้เทคนิค SMT Divergence หาจุดกลับตัวที่แม่นยำ สัญญาณไม่หาย
2. SMC Manager: บอกจุดเติมไม้ (BOS) และจุดหนี (Exit) ตามโครงสร้างราคา
3. Mobile Mode: ปรับขนาดตารางให้เล็ก เหมาะสำหรับดูในมือถือ
4. Kill Zones: ไฮไลท์ช่วงเวลา London/NY เพื่อให้โฟกัสเทรดเฉพาะช่วงวอลุ่มเข้า
วิธีใช้งาน: ดูเทรนด์ H1 เป็นหลัก > รอสัญญาณ GOD > เข้าออเดอร์เมื่อจบแท่ง > เก็บกำไรตามป้าย TP
(สำหรับการใช้งาน กรุณาดูลิงก์ที่ลายเซ็นด้านล่าง)
Institutional Flow X-Ray [Blk0ut]Introduction
In the world of quantitative trading, volume is often described as the "fuel" of the market. However, standard volume bars have a major flaw: they show you how much changed hands, but they don't tell you who was in control.
The Institutional Flow X-Ray is designed to solve this opacity problem. It looks "under the hood" of every candle to visualize the intent of the Smart Money participants. By combining Volume Price Analysis (VPA), Wyckoff Logic, and Volatility Compression into a single interface, this tool helps traders identify when institutions are quietly accumulating positions (Absorption) before a major expansion occurs.
How It Works: The Logic
This indicator is not a simple moving average crossover. It aggregates four distinct quantitative models into one composite view:
1. Institutional Flow (The Histogram) Instead of just looking at whether price closed up or down, we calculate the "Intra-Bar Delta." We measure where the price closed relative to the high-low range of that specific candle, weighted by the volume.
• The Result: A smoothed momentum oscillator that reveals the internal strength of the trend.
• Gradient Coloring: The bars use a 4-color gradient system. Bright Green/Red indicates accelerating momentum, while Darker Green/Red indicates exhaustion or a pullback is likely.
2. Stealth Absorption (The "Gold" Signal) This is based on Wyckoff’s Law of Effort vs. Result. The script scans for a specific anomaly: Volume is significantly higher than average (>2.0x), but Price Range is significantly lower than average.
• Why this matters: When you see high volume but no price movement, it often means a large entity is absorbing all available liquidity (Iceberg Orders). These bars are painted GOLD.
3. Volatility Compression (The "Squeeze" Dots) Markets move in cycles of Expansion and Compression. This module compares the width of Bollinger Bands against Keltner Channels.
• The Logic: When the Bollinger Bands contract inside the Keltner Channels, the market is like a coiled spring. This measures potential energy.
4. Relative Strength (The Alpha Line) Institutional capital rarely flows into underperforming assets. The script automatically compares your current ticker against a benchmark (SPY for Stocks, BTC for Crypto, DXY for Forex).
• The Logic: If the benchmark is dropping, but your ticker is holding steady (Rising Blue Line), it shows Relative Strength, a key footprint of institutional support.
________________________________________
Visual Guide & Usage
The Histogram (Flow & Signals)
• Green Gradients: Buyers are in control.
• Red Gradients: Sellers are in control.
• GOLD Bars (Absorption): Be alert. A major player is active. If this happens at Support, it is a high-probability Accumulation setup.
• WHITE Bars (Alpha Signal): The "Triple Confluence." This occurs when we have (1) Absorption + (2) Bullish Flow + (3) Relative Strength all activating at once. This is the strongest signal in the system.
The Volatility Map (Center Dots) The dots running along the zero line tell you the state of market energy:
• 🔴 Red (Extreme Squeeze): Ratio < 0.7. Massive energy build-up. Expect an explosive move soon.
• 🟠 Orange (Squeeze): Ratio < 1.0. Standard pre-breakout compression.
• ⚪ Gray (Normal): Standard volatility.
• 🔵 Blue (Expansion): The move is underway. Volatility is expanding.
The Heads-Up Dashboard A professional table in the corner provides real-time quantitative data so you don't have to guess:
• Inst. Flow: The raw score (0-100).
• Volatility: Tells you exactly which phase the market is in (Squeeze vs. Expansion).
• Rel. Strength: Tells you if you are "Outperforming" or "Lagging" the benchmark.
________________________________________
QuantFlow Algo: Institutional Trap & ReversalRetail traders often lose money because they chase "breakouts" that are actually Liquidity Traps set by institutional algorithms. This script is designed to solve that problem.
Unlike standard indicators that clutter your chart with lagging moving averages and noisy clouds, the QuantFlow Algo: Institutional Trap & Reversal runs a high-performance Background Algorithm to detect "Smart Money" activity. It keeps your chart 100% clean and only prints a signal when a high-probability reversal structure is confirmed.
How it Works (The Logic):
The script utilizes a proprietary "Dual-Stage Verification" process to filter out false signals:
1. Liquidity Absorption: It detects specific candle geometries (Shadow-Excursion Ratios) where price aggressively breaks a level but fails to sustain momentum, trapping breakout traders.
2. Volumetric Pressure: It validates these traps using a relative volume anomaly detector to ensure institutions are active in the move.
3. Structural Delta: It analyzes the net order-flow bias of the session (Displacement) to ensure the reversal aligns with the immediate market structure.
Key Premium Features:
🛡️ Institutional Trap Detection Engine:
Automatically identifies high-probability "Smart Money" traps where retail traders get caught. Uses a proprietary Volumetric Pressure Algorithm to detect true liquidity grabs.
★ Sniper Confirmation Mode:
Filters out fake signals by waiting for a "Test Candle." The Gold Star (★) appears only when the market successfully retests the level on low volatility, giving you a precise, lower-risk entry.
❌ Auto-Failure Detection:
Stop guessing if a trade is dead. The script automatically marks invalidated setups with a discrete "X" , saving you from holding onto losing trades.
📊 Institutional Flow Verification:
A smart filter that validates signals using real Capital Injection & Order Flow . Includes a "Zero-Flow Mode" for indices like SPX/NDX, ensuring universal compatibility.
🖥️ Multi-Timeframe (MTF) Context Panel:
A built-in "Heads-Up Display" that monitors the 15m, 1H, 4H, and Daily trends simultaneously. It physically blocks counter-trend signals to keep you aligned with the higher timeframe flow.
🧠 Smart Adaptive Baseline (KAMA):
Uses Kaufman’s Adaptive Moving Average to react faster to market crashes than standard lagging indicators, protecting you from "catching a falling knife" during high volatility.
⚡ Two-Stage Signal System:
Stage 1 (Triangle ⚡): Alert Phase – The Trap is detected. Get ready.
Stage 2 (Star ★): Execution Phase – The Setup is confirmed. Enter the trade.
How to Use (Strategy):
This tool is designed as a "Setup Locator" with a built-in failure protocol. We recommend the 2-Phase Verification Method :
1. Wait for the Signal: Look for a Blue ⚡ (Buy Setup) or Orange ⚡ (Sell Setup).
Do not enter yet. This is the "Alert" phase.
2. Automatic Validation: The script scans for the next candle to close with Diminished Volumetric Pressure (Receding Order Flow). When this specific "test" condition occurs, a Gold Star (★) will appear.
3. Execution Protocols:
For a BUY Signal (Blue ⚡):
a. Standard Entry (The Star ★): If the Gold Star appears, wait for price to break the HIGH of that Star Candle. The trap is confirmed. Enter Long .
b. Failure Flip (The "X"): If a Grey "X" appears instead, the Buy Trap has failed. The institutions have let the support break. Go Short immediately (Reversal Trade).
For a SELL Signal (Orange ⚡):
a. Standard Entry (The Star ★): If the Gold Star appears, wait for price to break the LOW of that Star Candle. The trap is confirmed. Enter Short .
b. Failure Flip (The "X"): If a Grey "X" appears instead, the Sell Trap has failed. The institutions have let resistance break. Go Long immediately (Reversal Trade).
Why use the Failure Flip? A failed institutional trap often results in an explosive move in the opposite direction as trapped traders are forced to cover their positions.
4. Stop Loss: Place just above/below the Star Candle or the recent swing high/low.
Why is this Closed-Source?
This script operates on proprietary algorithms for Institutional Order Flow and Adaptive Smoothing . These internal calculations protect the unique logic used to validate setups and ensure a quantitative edge that standard open-source indicators cannot replicate.
Disclaimer: This tool is for educational analysis purposes only. Past performance does not guarantee future results.
💎 Premium Access & Updates:
For exclusive access, setup tutorials, and the complete "Sniper Strategy" guide, please check the link in my TradingView Profile Bio or the Signature below.
Institutional Trap & Reversal [Premium]Retail traders often lose money because they chase "breakouts" that are actually Liquidity Traps set by institutional algorithms. This script is designed to solve that problem.
Unlike standard indicators that clutter your chart with lagging moving averages and noisy clouds, the Institutional Trap & Reversal runs a high-performance Background Algorithm to detect "Smart Money" activity. It keeps your chart 100% clean and only prints a signal when a high-probability reversal structure is confirmed.
How it Works (The Logic): The script utilizes a proprietary "Dual-Stage Verification" process to filter out false signals:
1. Liquidity Absorption: It detects specific candle geometries (Shadow-Excursion Ratios) where price aggressively breaks a level but fails to sustain momentum, trapping breakout traders.
2. Volumetric Pressure: It validates these traps using a relative volume anomaly detector to ensure institutions are active in the move.
3. Structural Delta: It analyses the net order-flow bias of the session (Displacement) to ensure the reversal aligns with the immediate market structure.
Key Premium Features:
a. Smart Resolution (Auto-Timeframe): The script automatically detects your chart timeframe and syncs with the correct Higher-Timeframe Trend (e.g., 5m Chart $\rightarrow$ 1H Trend). No manual adjustment needed.
b. Adaptive Baseline (KAMA): Uses a "Kaufman Adaptive" neural-smoothing algorithm to dynamically adjust trend filters based on market volatility, reducing noise during choppy conditions.
c. Institutional Visuals: Uses specific colour theory to reduce emotional trading errors:
Blue ⚡ (Demand): Institutional Accumulation Zone.
Orange ⚡ (Supply): Institutional Distribution Zone.
How to Use (Strategy) : This tool is designed as a "Setup Locator" with a built-in failure protocol. We recommend the Volume-Test Entry Method :
1. Wait for the Signal : Look for a Blue ⚡ (Buy Setup) or Orange ⚡ (Sell Setup).
2. Volume Validation (Crucial) : Do not enter immediately. Wait for the next candle to close with Lower Volume . This confirms that immediate pressure has paused.
3. Execution Protocols :
For a BUY Signal (Blue ⚡) :
a. Standard Entry : If price breaks the HIGH of the lower-volume candle, the trap is confirmed. Enter Long .
b. Failure Flip (Reversal) : If price instead breaks the LOW of the lower-volume candle, the Buy Trap has failed. Go Short immediately .
For a SELL Signal (Orange ⚡) :
a. Standard Entry : If price breaks the LOW of the lower-volume candle, the trap is confirmed. Enter Short .
b. Failure Flip (Reversal) : If price instead breaks the HIGH of the lower-volume candle, the Sell Trap has failed. Go Long immediately .
Why use the Failure Flip? A failed institutional trap often results in an explosive move in the opposite direction as trapped traders are forced to cover their positions.
4. Stop Loss : Place above/below the swing high/low of the setup structure.
Why is this Closed-Source? This script contains proprietary calculations for Volume Weighting and Adaptive Smoothing that protect the unique combination of filters used to generate these signals. It provides a professional-grade edge that standard open-source scripts cannot replicate.
Disclaimer: This tool is for educational analysis purposes only. Past performance does not guarantee future results.
Access & Updates: For access details, tutorials, and more information, please check the link in my TradingView Profile Bio or Signature below.
See Where The Banks Are Hunting: Liquidity X-Ray[@Ash_TheTrader]# 🛑 Stop Being "Liquidity." Start Seeing the Trap.
### Introducing: **Liquidity X-Ray **
How many times have you placed your stop-loss just below a perfect support level, only to watch a single candle wick down, trigger your stop, and immediately reverse toward your original target?
You weren't unlucky. You were targeted.
Welcome to the world of Smart Money Concepts (SMC). In the institutional game, your stop loss isn't protection—it's fuel. The market makers need liquidity to fill huge orders, and they find it clustered at obvious swing highs and lows.
I developed the **Liquidity X-Ray** to stop guessing where these traps are laid. This isn't just another support and resistance tool; it’s a dynamic, living heatmap of market psychology.
---
### 🧠 The Philosophy: The "Time-Decay" Algorithm
Standard indicators draw static lines that clutter your chart. The **Liquidity X-Ray** is different. It understands that *time* is a crucial factor in building liquidity pressure.
I have engineered a unique **Time-Decay Intensity** feature into this script. It visualizes the density of resting orders based on how long a level has remained untouched.
#### The Visual Language:
* **👻 The Ghosts (New Zones):** When a new swing high or low forms, a faint, transparent zone appears. It’s watching.
* **💡 The Neon Traps (Mature Zones):** As time passes and price fails to revisit that level, the zone solidifies. It becomes brighter, more opaque, and intensely neon. **This is your signal.** A bright neon zone means a massive pile of retail stop-losses has accumulated there. The Banks *need* to visit it.
* **💥 The Sweep Explosion:** When price finally pushes into a mature zone, the script detects the "Liquidity Grab." The box flashes bright white, cuts off immediately, and prints a **💥 LIQ GRAB** label on your chart. The trap has been sprung.
---
### ⚙️ Key Features & Cyberpunk Aesthetics
This tool is designed to look incredible on dark charts while providing institutional-grade data.
* **Dynamic Buyside/Sellside Heatmaps:** Clear visual distinction between where shorts are trapped (Neon Red/Pink) and where longs are trapped (Neon Cyan).
* **Smart Memory Management:** The script intelligently manages old zones to ensure your chart *never* lags, regardless of the timeframe.
* **Volume Filtering (Optional):** You can choose to only plot zones formed on high-volume pivot points, ensuring you are only watching significant market structures.
* **Instant Alerts:** Set alerts for the "Sweep Explosion" so you never miss a major reversal setup.
---
### 🎯 How to Trade the X-Ray
**Do NOT trade the breakout of these zones.** These are traps.
1. **Identify the Target:** Look for the oldest, brightest, most solid neon zones on your timeframe (H1 and H4 are powerful).
2. **Wait for the Hunt:** Be patient. Let price aggressively move toward the zone.
3. **The Explosion:** Wait for the candle to wick into the zone and trigger the **💥 LIQ GRAB** visual.
4. **The Reversal Entry:** Once the liquidity is taken, look for lower timeframe confirmation (like a Change of Character or engulfing candle) in the *opposite* direction. You are now trading *with* the smart money recovery, not *against* their stop hunt.
---
### Author's Note
Trading is about information asymmetry. The institutions have seen your stops for decades. It’s time you started seeing where they are hunting.
Trade smart, stay safe.
— **@Ash_TheTrader**
Engulfing Failed Zone Detector by RWBTradeLabEngulfing Failed Zone Detector by RWBTradeLab
A clean, non-repainting tool that focuses on one thing only: showing where strong engulfing patterns failed and the market broke through their base.
What this indicator does
This script automatically scans for confirmed engulfing patterns (Regular & E-Regular) and then tracks where those structures are invalidated.
It highlights two types of failure zones:
1. Buy Engulfing Failed
* A bullish engulfing pattern forms (Regular or E-Regular).
* Later, a bearish candle closes below the base low of that engulfing.
* The zone from the base candle to the failure candle is marked as Buy EG Failed .
2. Sell Engulfing Failed
* A bearish engulfing pattern forms (Regular or E-Regular).
* Later, a bullish candle closes above the base high of that engulfing.
* The zone from the base candle to the failure candle is marked as Sell EG Failed .
Only the first clear failure after each engulfing is drawn, keeping the chart clean and readable.
Visuals on chart
1. A rectangle (box) is drawn from the engulfing base candle to the failure candle.
2. Labels are placed automatically:
* Buy EG Failed (below the zone)
* Sell EG Failed (above the zone)
3. Label distance from the zone is controlled by Text Offset from Box (%).
4. Separate color controls for:
* Buy Engulfing Failed Box Color
* Sell Engulfing Failed Box Color
The label style matches Engulfing Detector by RWBTradeLab for a consistent visual experience.
Alerts
Built-in alerts trigger only on confirmed bar close when a new failure completes:
* Buy EG Failed
* Sell EG Failed
Each alert message includes:
* Brand prefix: RWBTradeLab
* Price
* Time
* Ticker
Perfect for linking with bots, webhooks or alert-based trade management.
Key settings
Candle Length (closed candles)
* Defines how many recent confirmed candles are scanned (the live bar is excluded).
Display toggles
* Buy Engulfing Failed
* Sell Engulfing Failed
* Text
Turn each element ON/OFF to control how much information you want on the chart.
Text Offset from Box (%)
* Controls how far the label is placed from the failed zone, with a safe minimum to keep labels clear and readable.
Non-repainting confirmation
* All detection and alerts are based on closed candles only.
* No signals from the running candle, no repaint tricks.
* Once a failure zone appears, it stays fixed.
Best use
Failed engulfing zones can reveal:
* Broken demand/supply zones
* Liquidity grabs where “smart money” flushed traders out
* Strong momentum shifts after a failed reversal attempt
* Levels where continuation or clean retests often occur
Works on any symbol and timeframe. For best results, combine with:
* Higher timeframe structure
* Key support/resistance or supply/demand mapping
* Your own confirmation tools and risk management
Disclaimer
This indicator is a technical pattern-detection tool, not financial advice. Trading involves risk. Always confirm signals with your own analysis and use proper risk management.
Creator: RWBTradeLab
If this script adds value to your trading, please leave a ⭐ and share your feedback.
FX OSINT - Institutional Midnight Intelligence For ForexFX OSINT — Institutional Midnight Intelligence For Forex
See Your FX Charts Like an Intelligence Briefing, Not a Guess
If you’ve ever stared at EURUSD or GBPJPY and thought:
Where is the real liquidity?
Is this move sponsored by smart money or just noise?
Am I buying into premium or discount?
…then FX OSINT is designed for you.
FX OSINT (Forex Open Source Intelligence) treats the FX market the way an analyst treats an investigation:
Collect open‑source signals from price, time, and volatility.
Map out liquidity, structure, and sessions in a repeatable way.
Present them in a clean, non‑cluttered dashboard so you can read context quickly.
No rainbow spaghetti. No 12 indicators stacked on top of each other. Just structured information, midnight visuals, and a clear read on what the market is doing right now.
Why FX OSINT Exists
Many FX traders run into the same problems:
Overloaded charts – multiple indicators fighting for space, none talking to each other.
Signals with no context – arrows that ignore structure, sessions, and liquidity.
Tools not tuned for FX – generic indicators that don’t care what pair you are on.
FX OSINT brings this together into one FX‑focused framework that:
Understands structure : BOS/CHOCH, swings, and trend across multiple timeframes.
Respects liquidity : sweeps, order blocks, and FVGs with controlled visibility.
Reads volatility & ADR : how far today’s range has developed.
Knows the clock : London, New York, and key killzones.
Scores confluence : a 0–100 engine that summarizes how much is lining up.
FX OSINT is built for traders who want structured, institutional‑style logic with a disciplined, midnight‑themed UI —not flashing buy/sell buttons.
1. Midnight Dashboard — Top‑Right Intelligence Panel
This panel acts as your compact “situation room”:
CONFLUENCE — 0–100 score blending trend alignment, volatility regime, sessions, liquidity events, order blocks, FVGs, and ADR context.
REGIME — Low / Building / Normal / Expansion / Extreme, driven by ATR relationships, so you know if you’re in chop, trend, or expansion.
HTF / MTF / LTF TREND — Higher‑, medium‑, and current‑timeframe bias in one place, so you see if you are trading with or against the larger flow.
ADR USED — How much of today’s typical range has already been consumed in percentage terms.
PIP VALUE — Approximate pip size per pair, including JPY‑style pairs.
Everything is bold, legible, and color‑coded, but the layout stays minimal so you can:
Look once → understand the context.
2. Structure, BOS, CHOCH — Smart‑Money‑Style Skeleton
FX OSINT tracks swing highs and lows, then shows how structure evolves:
Trend logic based on evolving swings, not just a moving average cross.
BOS (Break of Structure) when price expands in the direction of trend.
CHOCH (Change of Character) when behavior flips and the market structure changes.
Labels are selective, not spammy . You don’t get a tag on every minor wiggle—only when structure meaningfully shifts, so it’s easier to answer:
"Are we continuing the current leg, or did something actually change here?"
3. Liquidity Sweeps, Order Blocks & FVGs — The OSINT Layer
FX OSINT treats liquidity as a key information layer:
Liquidity sweeps — Detects when price spikes through recent highs/lows and then snaps back, flagging potential stop runs.
Order blocks — The last opposite candle before a displacement move, drawn as controlled boxes with limited lifespan to avoid clutter.
Fair Value Gaps (FVGs) — Three‑candle imbalances rendered as precise zones with a cap on how many can exist at once.
Under the hood, boxes are managed so your chart does not become a wall of old zones:
// Draw Order Blocks with overlap prevention
if isBullishOB and showOrderBlocks
if array.size(obBoxes) >= maxBoxes
oldBox = array.shift(obBoxes)
box.delete(oldBox)
newBox = box.new(bar_index , low , bar_index + obvLength, high ,
border_color = bullColor, bgcolor = bullColorTransp,
border_width = 2, extend = extend.none)
array.push(obBoxes, newBox)
Box limits keep the number of zones under control.
Borders and transparency are tuned so you still see price clearly.
You end up with a curated liquidity map , rather than a chart buried under every level price has ever touched.
4. Volatility, ADR & Sessions — Time and Range Intelligence
FX OSINT runs a Volatility Regime Analyzer and an ADR engine in the background:
Volatility regime — Five states (Low → Extreme) derived from fast vs. slow ATR.
ADR bands — Daily high/mid/low projected from the current daily open.
ADR used % — How far today’s move has traveled relative to its typical range.
On the time side:
Asia, London, New York sessions are softly highlighted with a single active background to avoid overlapping colors.
Killzones (e.g., London and New York opens) can be emphasized when you want to focus on where significant moves often begin.
Together, this helps you answer:
"What time is it in the trading day?"
"How stretched are we?"
"Is expansion just starting, or are we late to the move?"
5. ICT‑Style Add‑Ons — BOS/CHOCH, Premium/Discount, and Confluence
For modern FX / ICT‑inspired workflows, FX OSINT includes:
BOS / CHOCH labels — Clear structural shifts based on swings.
Premium / Discount zones — 25%, 50%, 75% levels of the daily range, so you know if you are buying discount in an uptrend or selling premium in a downtrend.
Confluence score — A single number summarizing how many conditions line up in the current context.
Instead of replacing your plan, FX OSINT compresses your checklist into the chart:
Structure
Liquidity
Session / Time
Volatility / ADR
Higher‑timeframe alignment
When these agree, the dashboard reflects it. When they don’t, it stays neutral and lets you see the conflict.
How To Use FX OSINT
FX OSINT is not a signal bot. It is an information engine that organizes context so you can apply your own plan.
A typical workflow might look like:
Start on higher timeframes (e.g., H4/D1) to form directional bias from structure, volatility regime, and ADR context.
Move to intraday timeframes (e.g., M15/H1) around your chosen sessions (London and/or New York).
Look for confluence :
HTF / MTF / LTF trends aligned.
Price in discount for longs or premium for shorts.
Recent liquidity sweep into a meaningful OB or FVG.
Confluence score at or above a level you consider significant.
Then refine entries using BOS/CHOCH on lower timeframes according to your own risk and execution rules.
FX OSINT aims to make sure you do not enter a trade without seeing:
Where you are in the day (ADR and sessions).
Where you are in the volatility cycle (regime).
Who currently appears in control (structure and trend).
Which liquidity was just targeted (sweeps and zones).
Design Choices and Scope
FX OSINT was designed around a few clear constraints:
FX‑focused — Logic and filters tuned for FX majors, minors, exotics, and metals. It is intended for FX markets, not for every possible asset class.
Open‑source — The full Pine Script code is available so you can read it, learn from it, and adapt it to your own workflow if needed.
Clear themes — Two main visual styles (e.g., dark institutional “midnight” and a lighter accent variant) with a focus on readability, not visual noise.
Chart‑friendly — Panels use fixed areas, session highlights avoid overlapping, and boxes are capped/pruned so the chart remains usable.
FX OSINT is for only Forex pairs, not anything else!
Hope you enjoyed and remember your Open Source Intelligence Matters 😉!
-officialjackofalltrades
Smart Money Concepts [Modern Neon V2]This is a visually overhauled version of the popular Smart Money Concepts (SMC) indicator, designed specifically for traders who prefer Dark Mode, High Contrast, and Maximum Visibility.
While the underlying logic preserves the robust structure detection of the original LuxAlgo script, the visual presentation has been completely modernized. The default "dull" colors have been replaced with a vibrant Cyberpunk Neon palette, and text labels have been significantly upscaled to ensure market structure is readable at a glance, even on high-resolution monitors.
🎨 Visual & Style Enhancements:
Neon Palette:
Bullish: Electric Cyan (#00F5FF)
Bearish: Neon Hot Pink (#FF007F)
Neutral/Levels: Bright Gold (#FFD700)
High Visibility Text: Market Structure labels (BOS, CHoCH, HH/LL) have been upgraded from "Tiny" to Normal size. Key Swing Points (Strong High/Low) are set to Large.
Modern "Solid" Blocks: Order Blocks and FVGs feature reduced transparency (60%) for a bolder, solid look that doesn't get washed out on dark backgrounds.
Decluttered: Removed unnecessary "Small" elements and dotted lines to focus on price action.
🛠 Key Features:
Real-Time Structure: Automatic detection of Internal and Swing structure (BOS & CHoCH) with trend coloring.
Order Blocks: Highlights Bullish and Bearish Order Blocks with new mitigation logic.
Fair Value Gaps (FVG): Auto-threshold detection for high-probability gaps.
Premium & Discount Zones: Automatically plots equilibrium zones for better entry targeting.
Multi-Timeframe Levels: Display Daily, Weekly, and Monthly highs/lows.
Trend Dashboard: (If you added the dashboard code) A clean panel displaying the current Internal and Swing trend bias.
CREDITS & LICENSE: This script is a modification of the "Smart Money Concepts " indicator.
Original Author: © LuxAlgo
License: Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
creativecommons.org
Viprasol Elite Advanced Pattern Scanner# 🚀 Viprasol Elite Advanced Pattern Scanner
## Overview
The **Viprasol Elite Advanced Pattern Scanner** is a sophisticated technical analysis tool designed to identify high-probability double bottom (DISCOUNT) and double top (PREMIUM) patterns with unprecedented accuracy. Unlike basic pattern detectors, this elite scanner employs an AI-powered quality scoring system to filter out false signals and highlight only the most reliable trading opportunities.
## 🎯 Key Features
### Advanced Pattern Detection
- **DISCOUNT Patterns** (Double Bottoms): Identifies bullish reversal zones where price may bounce
- **PREMIUM Patterns** (Double Tops): Detects bearish reversal zones where price may decline
- Multi-point validation system (5-point structure)
- Symmetry analysis with customizable tolerance
### 🤖 AI Quality Scoring System
Each pattern receives a quality score (0-100) based on:
- **Symmetry Analysis** (32% weight): How closely the two bottoms/tops match
- **Trend Context** (22% weight): Strength of the preceding trend using ADX
- **Volume Profile** (22% weight): Volume confirmation at key points
- **Pattern Depth** (16% weight): Significance of the pattern's price range
- **Structure Quality** (16% weight): Overall pattern formation quality
Quality Grades:
- ⭐ **ELITE** (88-100): Highest probability setups
- ✨ **VERY STRONG** (77-87): Strong trade opportunities
- ✓ **STRONG** (67-76): Valid patterns with good potential
- ○ **VALID** (65-66): Acceptable patterns meeting minimum criteria
### 🎯 Intelligent Target System
Three target modes per pattern direction:
- **Conservative**: 0.618 Fibonacci extension (safer, closer targets)
- **Balanced**: 1.0 extension (moderate risk/reward)
- **Aggressive**: 1.618 extension (higher risk/reward)
Targets automatically adjust based on pattern quality score.
### 🔧 Advanced Filtering Options
- **Volatility Filter (ATR)**: Excludes patterns during extreme volatility
- **Momentum Filter (ADX)**: Ensures sufficient trend strength
- **Liquidity Filter (Volume)**: Confirms adequate trading volume
### 📊 Pattern Lifecycle Management
- Real-time neckline tracking with extension multiplier
- Pattern invalidation after extended wait period
- Breakout/breakdown confirmation
- Reversal detection (pattern failure scenarios)
- Target achievement tracking
### 🌈 Premium Visual System
- Color-coded quality levels
- Cyber-themed color scheme (Neon Green/Hot Pink/Purple/Cyan)
- Transparent fills for pattern zones
- Dynamic labels with pattern information
- Elite dashboard showing live pattern stats
## 📈 How To Use
### Basic Setup
1. Add indicator to your chart
2. Enable desired patterns (DISCOUNT and/or PREMIUM)
3. Adjust quality threshold (default: 65) - higher = fewer but better signals
4. Set your preferred target mode
### Trading DISCOUNT Patterns (Bullish)
1. Wait for pattern detection (labeled points 1-4)
2. Check quality score on dashboard
3. Entry on breakout above neckline (point 5)
4. Stop loss below the lowest bottom
5. Target shown automatically based on your mode
6. ⚠️ Watch for pattern failure (break below bottoms = SHORT signal)
### Trading PREMIUM Patterns (Bearish)
1. Wait for pattern detection (labeled points 1-4)
2. Check quality score on dashboard
3. Entry on breakdown below neckline (point 5)
4. Stop loss above the highest top
5. Target shown automatically based on your mode
6. ⚠️ Watch for pattern failure (break above tops = LONG signal)
## ⚙️ Input Settings Guide
### 🔍 Detection Engine
- **Left/Right Pivots**: Higher = fewer but cleaner patterns (default: 6/4)
- **Min Pattern Width**: Minimum bars between bottoms/tops (default: 12)
- **Symmetry Tolerance**: Max % difference allowed between levels (default: 1.8%)
- **Extension Multiplier**: How long to wait for breakout (default: 2.2x pattern width)
### ⭐ Quality AI
- **Min Quality Score**: Only show patterns above this score (default: 65)
- **Weight Distribution**: Customize what matters most (symmetry/trend/volume/depth/structure)
### 🔧 Filters
- **Volatility Filter**: Avoid choppy markets (recommended: ON)
- **Momentum Filter**: Ensure trend strength (recommended: ON)
- **Liquidity Filter**: Volume confirmation (recommended: ON)
### 💎 Target System
- Choose target aggression for each pattern type and direction
- Higher quality patterns get adjusted targets automatically
## 🎨 Visual Customization
- Adjust colors for DISCOUNT/PREMIUM patterns
- Set quality-based color coding
- Customize label sizes
- Toggle dashboard visibility and position
- Show/hide historical patterns
## 🚨 Alert System
Set up TradingView alerts for:
- 🚀 **LONG Signals**: DISCOUNT breakout, PREMIUM failure
- 📉 **SHORT Signals**: PREMIUM breakdown, DISCOUNT failure
- ✅ **Target Achievement**: When price hits your target
## 💡 Pro Tips
1. **Higher Timeframes = Better Signals**: Patterns on 4H, Daily, Weekly are more reliable
2. **Quality Over Quantity**: Focus on ELITE and VERY STRONG grades
3. **Combine with Trend**: DISCOUNT in uptrend, PREMIUM in downtrend = best results
4. **Watch Pattern Failures**: Failed patterns often provide strong counter-trend signals
5. **Adjust for Your Style**: Intraday traders use Conservative, swing traders use Aggressive
## 🔒 Pattern Invalidation
Patterns become invalid if:
- No breakout/breakdown within extension period
- Support/resistance levels are broken prematurely
- Pattern shown in faded colors = no longer active
## ⚠️ Risk Disclaimer
This indicator is a tool for technical analysis and does not guarantee profitable trades. Always:
- Use proper risk management
- Combine with other analysis methods
- Never risk more than you can afford to lose
- Past performance does not indicate future results
ICT Fair Value Gap (FVG) Detector │ Auto-Mitigated │ 2025Accurate ICT / Smart Money Concepts Fair Value Gap (FVG) detector
Features:
• Detects both Bullish (-FVG) and Bearish (+FVG) using strict 3-candle rule
• Boxes automatically extend right until price mitigates them
• Boxes auto-delete when price closes inside the gap (true mitigation)
• No repainting – 100% reliable
• Clean, lightweight, and works on all markets & timeframes
• Fully customizable colors and transparency
How to use:
– Bullish FVG (green) = potential support / buy zone in uptrend
– Bearish FVG (red) = potential resistance / sell zone in downtrend
Exactly matches The Inner Circle Trader (ICT) methodology used by thousands of SMC traders in 2024–2025.
Enjoy and trade safe!
Global M2 ex-China MonitorGlobal M2 Monitor - Ultimate Edition
🎯 OVERVIEW
Advanced global M2 money supply monitoring indicator, offering a unique macroeconomic view of global liquidity. Real-time tracking of M2 evolution in major developed economies.
📊 KEY FEATURES
Global M2 Aggregation : USA, Japan, Canada, Eurozone, United Kingdom
Currency Conversion : All data converted to USD for consistent analysis
High Resolution Display : Daily curve by default
Technical Analysis : 50-period moving average (SMA/EMA/WMA)
Accurate YoY Calculation : Annual variation based on monthly data
Advanced Signal System : Multi-condition color codes
🎨 COLOR SYSTEM - DEFAULT SETTINGS
🟢 GREEN : YoY ≥ 7% AND M2 ≥ SMA → Strong growth + Bullish momentum
🔴 RED : YoY ≤ 2% AND M2 ≤ SMA → Weak growth + Bearish momentum
🟢 LIGHT GREEN : YoY ≥ 7% BUT M2 < SMA → Good fundamentals, temporarily weak momentum
🔴 LIGHT RED : YoY ≤ 2% BUT M2 > SMA → Weak fundamentals, price still supported
🔵 BLUE : YoY between 2% and 7% → Neutral zone of moderate growth
🇨🇳 WHY IS CHINA EXCLUDED BY DEFAULT?
Chinese M2 data presents methodological reliability and transparency issues. Exclusion allows for more consistent analysis of mature market economies.
Different M2 definition vs Western standards
Capital controls affecting real convertibility
Frequent monetary manipulations by authorities
✅ Available option : Can be activated in settings
⚙️ OPTIMIZED DEFAULT PARAMETERS
// DISPLAY SETTINGS
Candle Period: D (Daily)
// MOVING AVERAGE
MA Period: 50, Type: SMA
// BACKGROUND LOGIC
YoY Bullish: 7%, YoY Bearish: 2%
SMA Method: absolute, Threshold: 0.2%
// COLORS
Transparency: 5%
China M2: Disabled
📈 RECOMMENDED USAGE
Traders : Anticipate sector rotations
Investors : Identify abundant/restricted liquidity phases
Macro-analysts : Monitor monetary policy impacts
Portfolio managers : Understand inflationary pressures
🔍 ADVANCED INTERPRETATION
M2 ↗️ + YoY ≥ 7% → Favorable risk-on environment
M2 ↘️ + YoY ≤ 2% → Defensive risk-off environment
Divergences → Early warning signals for trend changes
💡 WHY THIS INDICATOR?
Global money supply is the lifeblood of the financial economy . Its growth or contraction typically precedes market movements by 6 to 12 months.
"Don't fight the Fed... nor the world's central banks"
🛠️ ADVANCED CUSTOMIZATION
All parameters are customizable:
YoY bullish/bearish thresholds
SMA comparison method (absolute/percentage)
Colors and transparency
Moving average period and type
Optional China inclusion
📋 TECHNICAL INFORMATION
YoY Calculation : Based on monthly data for consistency
Sources : FRED, ECONOMICS, official data
Updates : Real-time with publications
Currencies : Updated exchange rates
MCM By Inner Racers# MCM By Inner Racers - Multi-Timeframe Key Levels & Session Indicator
## 📊 Overview
**MCM (Multi-Timeframe Chart Mapping)** is a comprehensive trading indicator designed for professional traders who need clear visual representation of critical price levels, session ranges, and time-based market structure. This all-in-one tool eliminates chart clutter while providing essential information for ICT, SMC, and institutional trading methodologies.
---
## ✨ Key Features
### 📅 **Previous Daily Levels**
- **Previous Day High (PDH)** - Acts as key resistance/liquidity zone
- **Previous Day Low (PDL)** - Acts as key support/liquidity zone
- **Previous Day Mid (PDM)** - 50% equilibrium level for mean reversion trades
- **Daily Separators** - Vertical lines marking new trading days
### 📆 **Previous Weekly Levels**
- **Previous Week High (PWH)** - Major weekly resistance for swing trading
- **Previous Week Low (PWL)** - Major weekly support for swing trading
- **Previous Week Mid (PWM)** - Weekly equilibrium for higher timeframe bias
- **Weekly Separators** - Vertical lines marking new trading weeks
### 🌅 **True Day Opens (TDO)**
- Displays opening prices at **midnight NY time** for the past 1-10 days
- Each level labeled as "TDO D-0", "TDO D-1", "TDO D-2", etc.
- Critical for tracking institutional reference points and gap trading
- Respects true midnight opens (not session opens)
### 📍 **Weekly Opens**
- **Monday 00:00 Open** - True weekly open at Monday midnight NY time
- **Sunday 17:00 Open** - Forex market open (Sunday 5 PM NY time)
- Essential for understanding weekly bias and manipulation zones
### 🌏 **Trading Session Ranges**
Dynamic session boxes that track real-time high/low ranges:
- **Asian Session** (Default: 20:00-00:00 NY) -
- **London Session** (Default: 02:00-05:00 NY) -
- **New York Session** (Default: 07:00-16:00 NY) -
All session times are **fully customizable** in 15-minute increments.
---
## 🎯 Who Is This For?
✅ **ICT/SMC Traders** - Key levels for market structure, liquidity, and order flow
✅ **Session Traders** - Identifying killzones and optimal entry zones
✅ **Swing Traders** - Previous day/week levels as support/resistance
✅ **Multi-Timeframe Analysts** - Understanding price relationships across timeframes
✅ **Forex & Indices Traders** - NY time-based analysis for institutional moves
---
## 🎨 Full Customization
Every element is fully customizable:
- ✏️ **Colors** - Match your chart theme perfectly
- 📏 **Line Widths** - 1-5 pixels for visibility
- 🎭 **Line Styles** - Solid, Dashed, or Dotted
- 🏷️ **Labels** - Custom text and 5 size options (Tiny to Huge)
- ⏱️ **Session Times** - Adjust to your timezone or broker
- 📐 **Line Extension** - 20-500 bars forward projection
- 👁️ **Toggle Visibility** - Show/hide any feature independently
---
## 🔧 Technical Highlights
- Uses **request.security()** for accurate higher timeframe data
- Implements **lookahead=barmerge.lookahead_on** for non-repainting levels
- All times calculated in **America/New_York timezone** for consistency
- Efficient line management with proper deletion/recreation
- Maximum 500 lines supported for clean chart performance
- Session detection respects broker time differences
---
## 📖 How To Use
### **For Day Traders:**
1. Enable Daily Levels + True Day Opens for intraday structure
2. Use Session Ranges to identify high-probability trading windows
3. Watch for price reactions at PDH/PDL and TDO levels
### **For Swing Traders:**
1. Enable Weekly Levels for higher timeframe bias
2. Use PWH/PWL as major support/resistance zones
3. Monitor Weekly Opens for institutional reference points
### **For Multi-Timeframe Analysis:**
1. Combine Daily + Weekly levels for confluence zones
2. Use Mid levels (50%) for mean reversion opportunities
3. Align session ranges with higher timeframe structure
---
## ⚙️ Setup Tips
- **Timeframe:** Works on all timeframes (recommended: 1m to 1H for intraday)
- **Chart Type:** Overlay indicator - displays directly on price chart
- **Clean Charts:** Toggle off features you don't need for specific strategies
- **Labels:** Turn off labels for cleaner charts, turn on for reference
- **Line Extension:** Adjust based on your screen size and bar count
---
## 🚀 What Makes This Different?
Unlike basic support/resistance indicators, MCM provides:
- ✅ **True NY midnight opens** (not session opens)
- ✅ **Multiple day opens** tracking (not just previous day)
- ✅ **Dynamic session ranges** (not static boxes)
- ✅ **Both true weekly opens** (Monday 00:00 AND Sunday 17:00)
- ✅ **Fully customizable everything** (colors, styles, labels, times)
- ✅ **Non-repainting levels** using proper lookahead settings
- ✅ **All-in-one solution** (no need for multiple indicators)
---
## 📝 Notes
- All times are in **America/New_York timezone** for consistency with institutional trading
- Previous levels update at the start of each new day/week
- Session ranges are calculated dynamically during active sessions
- Lines extend forward for clear visual reference
- Works with any symbol: Forex, Indices, Crypto, Stocks
---
## 🏷️ Tags
`Multi-Timeframe` `Key Levels` `ICT` `Smart Money Concepts` `Sessions` `Previous Day High/Low` `Previous Week High/Low` `Support Resistance` `Institutional Trading` `Order Flow` `Liquidity` `Market Structure`
---
© Inner_Racers
For questions, suggestions, or feedback, please leave a comment below!
**⭐ If you find this indicator helpful, please give it a boost and share with fellow traders!**
MTF Trend Analyzer with Swing Pivots & S/R Levels [SmartFoxy]Indicator “Multi-Timeframe Trend Analyzer with Swing Pivots & S/R Levels”
📌 Overview
Trend & Pivot S/R Levels is a multi-timeframe market structure analyzer that identifies trend direction, detects swing highs/lows, and plots higher-timeframe support/resistance levels directly on your chart.
Designed for traders who want fast, clean, and accurate trend context without constantly switching timeframes.
________________________________________________________________________________
✨ Core Features
1. Multi-Timeframe Trend Analyzer .
Analyze up to five higher timeframes simultaneously — for example:
5m, 1H, 4H, 1D, 1W , etc.
For each timeframe, the indicator detects:
a) Trend direction:
🡕 Uptrend;
🡖 Downtrend.
b) Breakouts of recent pivot highs/lows to determine trend shifts.
c) Automatic graying-out of timeframes lower than the current chart TF .
d) A clean visual Trend Panel that shows:
Arrow direction;
Timeframe label (1D, 1W, etc.);
Trend color (bullish, bearish, neutral).
________________________________________________________________________________
2. Swing Pivot Detection (Current TF)
The script detects local swing points using customizable lookback parameters:
a) Pivot Type:
High/Low — classic swing structure;
Close — smoother swing detection using closing prices.
b) Left/Right Bars Lookback — the number of bars required on both sides to validate the pivot.
c) Multiple marker styles :
Built-in plot shapes (circle, cross, histogram, etc.);
Custom visual labels (▲▼, ◉, ✖, 🡇🡅, ◆, ◼, etc.).
This makes it easy to visually confirm that your swing settings are correct.
________________________________________________________________________________
3. Higher-Timeframe Support/Resistance
The indicator automatically draws HTF S/R lines based on the latest pivot highs/lows from each selected timeframe.
Each timeframe has:
Separate Support / Resistance colors ;
Adjustable line width ;
Selectable line style (solid, dashed, dotted, arrows);
Optional HTF labels displayed on the lines.
This allows you to see major market structure levels from higher timeframes without switching charts.
________________________________________________________________________________
4. Smart Timeframe Safety Checks
If a selected timeframe is lower than your current chart timeframe , its data is:
Disabled for S/R plotting ;
Shown in gray inside the Trend Panel;
Prevents invalid S/R calculations and ensures stable chart performance.
________________________________________________________________________________
⚙️ Customization Options :
Show/Hide the Trend Panel;
Panel placement anywhere on the chart;
Swing pivot type: High/Low or Close ;
Pivot lookback (left/right bars);
Choose five HTFs to analyze;
Enable/Disable HTF S/R;
Configure S/R color for each timeframe;
Line style + line width;
Pivot marker type + size;
Custom label styles + text scaling.
________________________________________________________________________________
✅ Benefits :
Perfect for traders who need instant multi-timeframe structure awareness ;
Reduces the need to constantly switch charts;
Works on all markets : crypto, stocks, forex, indices, futures;
Clean, modern, and intuitive visualization;
Helps confirm trend direction and key S/R levels at a glance.
________________________________________________________________________________
⚠️ Note
The indicator only displays S/R and trend data from higher timeframes relative to the current chart timeframe.
Liquidity + Order-Flow Exhaustion (Smart-Money Logic)Liquidity + Order-Flow Exhaustion (Smart-Money Logic) is a visual tool that helps traders recognize where big market participants (“smart money”) are likely accumulating or distributing positions.
It identifies liquidity sweeps (stop-hunts above or below previous swing levels) and market structure shifts (reversals confirmed by price closing back in the opposite direction).
In simple terms, it shows where price “tricks” retail traders into chasing breakouts — right before reversing.
How it works:
The script scans recent highs and lows to find when price breaks them and quickly rejects — a sign of stop-hunts or liquidity grabs.
It then checks for a close back inside the previous range to confirm a possible Market Structure Shift (MSS).
When this happens, the chart highlights the zone and optionally adds directional labels (🔹 or 🔸) to mark where the liquidity event occurred.
How to read the signals:
🟢 Bullish shift — Price takes out a previous low, then closes higher. This often marks the end of a short-term down-move.
🔴 Bearish shift — Price sweeps a previous high, then closes lower. This often marks the end of a short-term rally.
Colored backgrounds and labels help visualize these key reversals directly on the chart.
How to use it:
Apply to any timeframe; 15-minute to 4-hour charts work best.
Use it to confirm reversals near major swing points or liquidity zones.
Combine with volume spikes, displacement candles, or Fair-Value Gaps (FVGs) for stronger confirmation.
What makes it original:
Simple, self-contained logic inspired by Smart Money Concepts (SMC).
Automatically detects both liquidity sweeps and the subsequent structural shift.
Visual and alert-ready design — perfect for discretionary or algorithmic strategies.
Tip: For even better accuracy, align detected shifts with higher-timeframe bias or VWAP deviations.
Killzone Session High/Low Levels [SmartFoxy]Killzone Session High/Low Levels
The Killzone Session High/Low Levels indicator by SmartFoxy provides a complete intraday framework for understanding session-based liquidity, market structure rotation, and breakout behavior across global trading sessions.
It automatically plots the High/Low ranges for each selected session, highlights session killzones, and tracks breakout events with optional alerts.
This tool is designed for traders who rely on session dynamics (Asia, Frankfurt, London, New York) to identify liquidity targets, sweep zones, key ranges, and continuation/reversal opportunities.
________________________________________
How It Works
The indicator detects the active trading sessions for each day and builds structural High/Low ranges for them:
• Asia Session Range (High/Low);
• Frankfurt Session Range;
• London Session Range;
• New York Session Range;
• Optional custom session (NY Open, or any killzone).
For each session, the script can display:
• Session box or column;
• High/Low levels;
• Labels for every range (H/L);
• True session boundaries using user-defined timezone;
• Auto-extended levels up to the latest candle;
• Break levels after a breakout;
• Conditional removal or recoloring after a level is breached.
This gives traders a clean visual map of session liquidity and how price interacts with it throughout the day.
________________________________________
Key Features
1. Multiple Global Sessions •➤ Asia, Frankfurt, London, New York, plus one custom session for advanced killzone mapping.
2. Session High/Low Liquidity Levels •➤ Automatic plotting of every session’s High and Low, with optional labels and price markers.
3. Session Boxes or Columns •➤ Two display modes allow traders to visualize the session either as a filled box or a clear vertical column.
4. Breakout Logic & Temporary Levels .
When price breaks a session High/Low:
• Levels can be extended for a selected number of bars
• Or removed instantly after a breakout
• Or recolored to highlight the sweep event
This enables clean identification of liquidity grabs, breakouts, and continuation setups.
5. Alerts for Session Breakouts .
Set alerts when price breaks:
• Any session level
• Only levels formed on the current day
Perfect for traders who want real-time notifications of sweeps or key structure breaks.
6. Full Customization
You can configure:
• Session times;
• Timezone;
• Colors;
• Labels;
• Line styles and widths;
• Breakout behavior;
• Killzone range handling.
Everything is adjustable to match any trading style.
________________________________________
How to Use
1. Enable the sessions you want to track •➤ Asia, Frankfurt, London, New York, or custom.
2. Choose display mode
Box mode for visual range blocks;
Column mode for clean vertical alignment.
3. Enable High/Low Levels .
These act as liquidity magnets and key rejection zones.
4. Turn on Breakout Levels (optional)
Useful for spotting sweeps and continuation setups.
5. Turn on Alerts if you want notifications when price breaks levels.
6. Use session levels as liquidity reference points .
They work exceptionally well with smart money concepts (SMC), ICT, and intraday structure analysis.
________________________________________
Why This Indicator Is Useful
Shows exactly where liquidity is placed each session;
Highlights market structure transitions as sessions hand over control;
Helps identify stop hunts, sweeps, reversals, and continuation patterns;
Provides real-time alerts for structural breaks;
Organizes the chart and reduces noise;
Works with any intraday timeframe and any market.
This makes it valuable for scalpers, day traders, and SMC/ICT-style analysts.
________________________________________
Summary
Killzone Session High/Low Levels delivers a complete, highly customizable intraday mapping system based on global trading sessions.
It clarifies the session structure, reveals liquidity targets, and empowers traders to make confident trading decisions using clean, objective market data.
MTF Liquidity Levels Pro (D/W/M) [SmartFoxy]✅ SCRIPT DESCRIPTION (Premium MTF High-Low Levels)
Overview
This indicator automatically plots key High/Low levels across three major timeframes:
Daily (D) , Weekly (W) , and Monthly (M) .
It includes:
• Current period highs/lows (DH/DL, WH/WL, MH/ML);
• Previous period highs/lows (PDH/PDL, PWH/PWL, PMH/PML);
• Open levels (Day Open, Day True Open, Week Open, Month Open);
• Visual elements such as separators, period boxes, labels, and price markers;
• A fully customizable breakout alert system .
The indicator is designed for precise market structure analysis with a focus on liquidity, MTF mechanics, and clean price action.
________________________________________
How It Works
The script tracks historical High/Low levels on each timeframe and displays:
✅ Current High/Low Levels :
Daily;
Weekly;
Monthly.
✅ Previous High/Low levels from the previous day, week, and month:
PDH / PDL;
PWH / PWL;
PMH / PML.
You can select how many previous levels to display (1, 2, 3…).
✅ Open Levels:
Day Open;
Week Open;
Month Open.
Includes optional True Day Open with time offset.
✅ Visual Period Boxes highlighting each session (Day Box, Week Box, Month Box) to help identify intraday and intraperiod structure.
✅ Vertical Separators for the start of each day, week, and month.
✅ Customizable Labels & Price Markers with positions, sizes, and optional price display.
________________________________________
Alerts
A flexible alert module is built in:
✅ Breakout of Any Previous Level (D/W/M) •➤ Triggers when price breaks any previous High/Low:
PDH/PDL;
PWH/PWL;
PMH/PML.
✅ Breakout of Previous Level 1 (D/W/M) •➤ Triggers only for the closest previous levels:
PDH1/PDL1;
PWH1/PWL1;
PMH1/PML1.
✅ Custom Breakout •➤ Choose a specific level:
PDH / PDL;
PWH / PWL;
PMH / PML.
and select which level number (1, 2, 3…) the alert should track.
________________________________________
How to Use
Select which timeframes (D/W/M) to display.
Choose how many previous levels to plot.
Enable Open, Boxes, Separators, or Labels as needed.
Enable True Day Open with offset if required.
Activate Alerts and choose the breakout logic:
• All previous levels;
• Only the nearest level;
• Custom level selection.
Create an alert in TradingView using “Any alert() function call”.
________________________________________
Why This Indicator Is Useful
✅ Instantly reveals key High/Low liquidity zones across multiple timeframes
✅ Helps synchronize market structure across D/W/M levels
✅ Useful for identifying impulses, breakouts, reversals, and liquidity runs
✅ Highlights levels price frequently revisits
✅ Eliminates the need for additional MTF tools
✅ Alerts automate breakout detection for both intraday and swing traders
Suitable for all markets : Forex, Crypto, Indices, Stocks, Futures.
Power of 369 [SmartFoxy]The Power of 369 Indicator detects market swing structures and overlays dynamic time-based color labeling using the 3-6-9 numeric pattern.
It highlights price turning points with summed time signatures, aligning intraday structure with temporal symmetry.
Includes OTT session filtering, automatic box plotting, ATR-based validation, and custom color control for 3, 6, 9 digit resonance.
---
## 📘 How to Use
Activate the Indicator
1. Add Magic 369 to your chart.
It works on any timeframe and market — Forex, Crypto, Indices, or Stocks.
2. Adjust the Session Duration to divide the chart into visual time blocks.
3. Use the OTT filter to show activity only during your preferred trading session.
4. Enable “Show sum of times” to display the digit sum of each candle’s time (e.g., m+m or h+h+m+m).
Combine this with “Show Swing Labels” or Market Structures to visualize both time and structure interaction.
5. Turn on “Set new colors 369” in the settings.
Each label changes its color based on the time-sum value:
3 → Orange — Accumulation;
6 → Blue — Manipulation;
9 → Purple — Distribution;
Other digits → Neutral gray.
6. Market Structure Tools:
Detects Swing Highs/Lows automatically;
Marks BoS (Break of Structure) and CHoCH (Change of Character);
Optionally validates swings using ATR deviation for confirmation.
7. Customize Visuals – Adjust label size, line style, colors, and opacity to match your chart theme.
8. Interpretation – Use the 3-6-9 patterns to identify time-based energy shifts in market flow —
3 initiates accumulation, 6 signals manipulation, and 9 completes distribution. Together, they reveal the rhythm behind structural price movements.
---
## ⚙️ Settings Overview
🕓 Session Settings:
Show Boxes Session – enables time-block boxes on chart.
Session Duration – defines how many bars each session lasts.
Show only at OTT – displays sessions only during your chosen trading hours (e.g., 16:30–22:00).
Boxes Drawing Limit – limits the maximum number of boxes drawn on the chart.
🔢 3-6-9 Color Logic
Set new colors 369 – activates unique colors based on the time-sum digit.
/3, /6, /9, /others – customize colors for each digit group:
3 → Accumulation;
6 → Manipulation;
9 → Distribution;
others → Neutral.
🧭 Labels
Show Swings Labels – toggles display of H/L, HH/HL/LL/LH, or symbol ◆.
Show sum of times – displays digit-sum values next to swing labels.
Type of Sum – choose between:
m+m → uses minute sum only
h+h+m+m → uses hour + minute sum combined
Label Size – adjusts label text size.
📈 Market Structure (𝓜𝓢)
Show Market Structures – enables structure detection and visualization.
Show 𝓜𝓢 Validation (ATR) – confirms structure strength using ATR-based deviation logic.
Show 𝓜𝓢 Labels – shows BoS and CHoCH labels directly on the chart.
Show Levels – draws support/resistance levels from recent structures.
Colors – separate settings for bullish and bearish structures.
AI Money FlowAI Money Flow is a revolutionary trading indicator that combines cutting-edge artificial intelligence technologies with traditional Smart Money concepts. This indicator provides comprehensive market analysis with emphasis on signal accuracy and reliability.
Key Features:
Volume Profile with Smart Money Analysis - Displays real money flow instead of just volume, identifying key support and resistance levels based on actual trader activity.
Volatility-Based Support & Resistance - Intelligent support and resistance levels that dynamically adapt to market volatility in real-time for maximum accuracy.
Order Flow Analysis - Advanced detection of buying and selling pressure that reveals the true intentions of large market players.
Machine Learning Optimization - Futuristic AI technology that automatically learns and optimizes settings for each specific asset and timeframe.
Risk Management - Advanced volatility and price spike detection for better risk management and capital protection.
Real-time Dashboard - Modern dashboard with color-coded signals provides instant overview of market conditions and trends.
Accuracy: 88-93%
Smart Structure Breaks & Order BlocksOverview (What it does)
The indicator “Smart Structure Breaks & Order Blocks” detects market structure using swing highs and lows, identifies Break of Structure (BOS) events, and automatically draws order blocks (OBs) from the origin candle. These zones extend to the right and change color/outline when mitigated or invalidated. By formalizing and automating part of discretionary analysis, it provides consistent zone recognition.
Main Components
Swing Detection: ta.pivothigh/ta.pivotlow identify confirmed swing points.
BOS Detection: Determines if the recent swing high/low is broken by close (strict mode) or crossover.
OB Creation: After a BOS, the opposite candle (bearish for bullish BOS, bullish for bearish BOS) is used to generate an order block zone.
Zone Management: Limits the number of zones, extends them to the right, and tracks tagged (mitigated) or invalidated states.
Input Parameters
Left/Right Pivot (default 6/6): Number of bars required on each side to confirm a swing. Higher values = smoother swings.
Max Zones (default 4): Maximum zones stored per direction (bull/bear). Oldest zones are overwritten.
Zone Confirmation Lookback (default 3): Ensures OB origin candle validity by checking recent highs/lows.
Show Swing Points (default ON): Displays triangles on swing highs/lows.
Require close for BOS? (default ON): Strict BOS (close required) vs loose BOS (line crossover).
Use candle body for zones (default OFF): Zones drawn from candle body (ON) or wick (OFF).
Signal Definition & Logic
Swing Updates: Latest confirmed pivots update lastHighLevel / lastLowLevel.
BOS (Break of Structure):
Bullish – close breaks last swing high.
Bearish – close breaks last swing low.
Only one valid BOS per swing (avoids duplicates).
OB Detection:
Bullish BOS → previous bearish candle with lowest low forms the OB.
Bearish BOS → previous bullish candle with highest high forms the OB.
Zones: Bull = green, Bear = red, semi-transparent, extended to the right.
Zone States:
Mitigated: Price touches the zone → border highlighted.
Invalidated:
Bull zone → close below → turns red.
Bear zone → close above → turns green.
Chart Appearance
Swing High: red triangle above bar
Swing Low: green triangle below bar
Bull OB: green zone (border highlighted on touch)
Bear OB: red zone (border highlighted on touch)
Invalid Zones: Bull zones turn reddish, Bear zones turn greenish
Practical Use (Trading Assistance)
Trend Following Entries: Buy pullbacks into green OBs in uptrends, sell rallies into red OBs in downtrends.
Focus on First Touch: First mitigation after BOS often has higher reaction probability.
Confluence: Combine with higher timeframe trend, volume, session levels, key price levels (previous highs/lows, VWAP, etc.).
Stops/Targets:
Bull – stop below zone, partial take profit at swing high or resistance.
Bear – stop above zone, partial take profit at swing low or support.
Parameter Tuning (per market/timeframe)
Pivot (6/6 → 4/4/8/8): Lower for scalping (3–5), medium for day trading (5–8), higher for swing trading (8–14). Increase to reduce noise.
Strict Break: ON to reduce false breaks in ranging markets; OFF for earlier signals.
Body Zones: ON for assets with long wicks, OFF for cleaner OBs in liquid instruments.
Zone Confirmation (default 3): Increase for stricter OB origin, fewer zones.
Max Zones (default 4 → 6–10): Increase for higher volatility, decrease to avoid clutter.
Strengths
Standardizes BOS and OB detection that is usually subjective.
Tracks mitigation and invalidation automatically.
Adaptable: allows body/wick zone switching for different instruments.
Limitations
Pivot-based: Signals appear only after pivots confirm (slight lag).
Zones reflect past balance: Can fail after new events (news, earnings, macro data).
Range-heavy markets: More false BOS; consider stricter settings.
Backtesting: This script is for drawing/visual aid; trading rules must be defined separately.
Workflow Example
Identify higher timeframe trend (4H/Daily).
On lower TF (15–60m), wait for BOS and new OB.
Enter on first mitigation with confirmation candle.
Stop beyond zone; targets based on R multiples and swing points.
FAQ
Q: Why are zones invalidated quickly?
A: Flow reversal after BOS. Adjust pivots higher, enable Strict mode, or switch to Body zones to reduce noise.
Q: What does “tagged” mean?
A: Price touched the zone once = mitigated. Implies some orders in that zone may have been filled.
Q: Body or Wick zones?
A: Wick zones are fine in clean markets. For volatile pairs with long wicks, body zones provide more realistic areas.
Customization Tips (Code perspective)
Zone storage: Currently ring buffer ((idx+1) % zoneLimit). Could prioritize keeping unmitigated zones.
Automated testing: Add strategy.entry/exit for rule-based backtests.
Multi-timeframe: Use request.security() for higher timeframe swings/BOS.
Visualization: Add labels for BOS bars, tag zones with IDs, count touches.
Summary
This indicator formalizes the cycle Swing → BOS → OB creation → Mitigation/Invalidation, providing consistent structure analysis and zone tracking. By tuning sensitivity and strictness, and combining with higher timeframe context, it enhances pullback/continuation trading setups. Always combine with proper risk management.






















