OPEN-SOURCE SCRIPT
EdgeXplorer – Smart Money Structure

EdgeXplorer – Smart Money Structure
A full-spectrum price action tool built to track BOS/CHoCH, swing pivots, order blocks, and institutional liquidity zones — all on one clean chart.
Designed for serious price action traders, this engine gives you a real-time visual breakdown of market structure the way smart money sees it. Whether you’re a scalper, intraday trader, or swing strategist — this tool helps you track momentum shifts, trend flips, and liquidity traps with clarity.
⸻
🧠 What It Does
EdgeXplorer – Smart Money Structure detects and visualizes:
• Break of Structure (BOS) and Change of Character (CHoCH) patterns
• Swing vs. Internal trend structure
• Order blocks with mitigation tracking
• Liquidity points (Equal Highs & Lows)
• Fair Value Gaps (FVGs) and price imbalances
• Premium/Discount zones based on range extremes
All of this is plotted live with customizable visual styles, trend logic, and alert support — no repainting, no guessing.

⸻
⚙️ How It Works (Plain English)
The script uses pivot highs/lows to define structural points on the chart. From there:
• A BOS marks a continuation of the current trend (price breaks the most recent high/low in trend direction).
• A CHoCH flags a potential reversal (price breaks against the current trend direction).
• Structure is tracked internally (short-term pivots) and on a swing basis (larger moves).
• Order blocks are identified at structural breaks using volatility filtering (ATR or Range logic), then highlighted and monitored for mitigation.
• You can also display liquidity pools (Equal Highs/Lows) and FVG zones for imbalance-based setups.
• Optional trend coloring lets you visually follow directional bias.
⸻
📈 Visual Elements Breakdown
Element Meaning
🟢/🔴 BOS or CHoCH Labels Show trend continuation or reversal (internal + swing)
🔷 Zones Order Blocks (bullish/bearish, internal or swing, with mitigation filter)
🔺 HH / HL / LH / LL High/low swing labels based on pivot relationships
🔲 Gray Zones Mitigated order blocks (already tapped)
📊 Background Color Optional trend-based candle coloring
⚪ Fair Value Gaps Imbalance zones between candles
📍 EQH/EQL Equal High / Equal Low liquidity zones

⸻
🔧 Inputs & Settings
🧭 Structure Modes:
• Historical = Plots all historical BOS/CHoCH events
• Present = Keeps the chart clean by only showing the latest active structure
🔁 Internal vs Swing:
• Internal Structure = Short-term pivots (fast reaction, more signals)
• Swing Structure = Higher timeframe trend (stronger confirmation)
🎯 Order Block Filters:
• Choose between ATR-based (volatility-adjusted) or Cumulative Range (fixed width)
• Define how many OB zones to display per structure type
• Enable/disable mitigated OB highlights
💡 Visual Customization:
• Toggle colored vs. monochrome labels
• Turn on/off trend-based candle coloring
• Set custom colors for all bullish/bearish elements
🔍 Liquidity Tools:
• Show Equal High/Low zones with sensitivity threshold
• Display Fair Value Gaps with optional auto-filtering
• Highlight premium/discount zones relative to swing range
⸻
🧠 How to Interpret the Chart
Use BOS/CHoCH for:
• Spotting trend reversals (CHoCH = possible flip)
• Confirming momentum continuation (BOS = trend intact)
Use Order Blocks for:
• Entry areas after a break — especially if price retraces to an unmitigated OB
• Smart money footprints — these zones often align with institutional volume
Use Liquidity Zones for:
• Fade or trap setups — EQH/EQL often precede false breakouts
• Confirming areas where smart money may engineer stops or reactions
Use Premium/Discount Zones to:
• Avoid chasing — enter where price is undervalued (discount) or take profit where it’s overvalued (premium)
⸻
📊 Strategy Tips
• Scalpers: Focus on internal CHoCH + OB zones on 1m–15m
• Swing traders: Watch for swing CHoCH + OB alignment on 1h–4h
• Breakout traders: Use BOS labels with EQH/EQL sweep confirmation
• Confluence traders: Stack internal + swing + OB + FVG for high-probability setups
⸻
📣 Alerts Included:
✅ Internal BOS / CHoCH
✅ Swing BOS / CHoCH
Get notified instantly when structure shifts — no need to babysit the chart.
A full-spectrum price action tool built to track BOS/CHoCH, swing pivots, order blocks, and institutional liquidity zones — all on one clean chart.
Designed for serious price action traders, this engine gives you a real-time visual breakdown of market structure the way smart money sees it. Whether you’re a scalper, intraday trader, or swing strategist — this tool helps you track momentum shifts, trend flips, and liquidity traps with clarity.
⸻
🧠 What It Does
EdgeXplorer – Smart Money Structure detects and visualizes:
• Break of Structure (BOS) and Change of Character (CHoCH) patterns
• Swing vs. Internal trend structure
• Order blocks with mitigation tracking
• Liquidity points (Equal Highs & Lows)
• Fair Value Gaps (FVGs) and price imbalances
• Premium/Discount zones based on range extremes
All of this is plotted live with customizable visual styles, trend logic, and alert support — no repainting, no guessing.
⸻
⚙️ How It Works (Plain English)
The script uses pivot highs/lows to define structural points on the chart. From there:
• A BOS marks a continuation of the current trend (price breaks the most recent high/low in trend direction).
• A CHoCH flags a potential reversal (price breaks against the current trend direction).
• Structure is tracked internally (short-term pivots) and on a swing basis (larger moves).
• Order blocks are identified at structural breaks using volatility filtering (ATR or Range logic), then highlighted and monitored for mitigation.
• You can also display liquidity pools (Equal Highs/Lows) and FVG zones for imbalance-based setups.
• Optional trend coloring lets you visually follow directional bias.
⸻
📈 Visual Elements Breakdown
Element Meaning
🟢/🔴 BOS or CHoCH Labels Show trend continuation or reversal (internal + swing)
🔷 Zones Order Blocks (bullish/bearish, internal or swing, with mitigation filter)
🔺 HH / HL / LH / LL High/low swing labels based on pivot relationships
🔲 Gray Zones Mitigated order blocks (already tapped)
📊 Background Color Optional trend-based candle coloring
⚪ Fair Value Gaps Imbalance zones between candles
📍 EQH/EQL Equal High / Equal Low liquidity zones
⸻
🔧 Inputs & Settings
🧭 Structure Modes:
• Historical = Plots all historical BOS/CHoCH events
• Present = Keeps the chart clean by only showing the latest active structure
🔁 Internal vs Swing:
• Internal Structure = Short-term pivots (fast reaction, more signals)
• Swing Structure = Higher timeframe trend (stronger confirmation)
🎯 Order Block Filters:
• Choose between ATR-based (volatility-adjusted) or Cumulative Range (fixed width)
• Define how many OB zones to display per structure type
• Enable/disable mitigated OB highlights
💡 Visual Customization:
• Toggle colored vs. monochrome labels
• Turn on/off trend-based candle coloring
• Set custom colors for all bullish/bearish elements
🔍 Liquidity Tools:
• Show Equal High/Low zones with sensitivity threshold
• Display Fair Value Gaps with optional auto-filtering
• Highlight premium/discount zones relative to swing range
⸻
🧠 How to Interpret the Chart
Use BOS/CHoCH for:
• Spotting trend reversals (CHoCH = possible flip)
• Confirming momentum continuation (BOS = trend intact)
Use Order Blocks for:
• Entry areas after a break — especially if price retraces to an unmitigated OB
• Smart money footprints — these zones often align with institutional volume
Use Liquidity Zones for:
• Fade or trap setups — EQH/EQL often precede false breakouts
• Confirming areas where smart money may engineer stops or reactions
Use Premium/Discount Zones to:
• Avoid chasing — enter where price is undervalued (discount) or take profit where it’s overvalued (premium)
⸻
📊 Strategy Tips
• Scalpers: Focus on internal CHoCH + OB zones on 1m–15m
• Swing traders: Watch for swing CHoCH + OB alignment on 1h–4h
• Breakout traders: Use BOS labels with EQH/EQL sweep confirmation
• Confluence traders: Stack internal + swing + OB + FVG for high-probability setups
⸻
📣 Alerts Included:
✅ Internal BOS / CHoCH
✅ Swing BOS / CHoCH
Get notified instantly when structure shifts — no need to babysit the chart.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。