PROTECTED SOURCE SCRIPT
Structure & FVG Bias Analyzer — WS

🧠 Overview
The Structure & FVG Bias Analyzer — WS helps traders visualize market structure shifts, Fair Value Gaps (FVGs), and trend bias using EMA filtering.
It combines swing-based structural analysis (HH/HL/LH/LL) with smart-money FVG detection, creating a clean contextual view of where the market is expanding or consolidating.
Ideal for Futures, Crypto, and Smart Money traders who need bias clarity before executing entries.
📊 Structure & Bias Logic
🟢 Bullish Context: price breaking above previous highs + EMA200 confirmation.
🔴 Bearish Context: price breaking below previous lows + EMA200 confirmation.
🟡 Neutral/Inside: price consolidating between last swing points.
🟠 EMA200 Line: long-term trend filter (optional).
🧩 Fair Value Gaps (FVGs)
Detects imbalances left by strong moves, often used by institutional trading models.
🟩 FVG↑ → Bullish gap below the candle.
🟥 FVG↓ → Bearish gap above the candle.
These areas frequently act as liquidity magnets or retest zones for continuation trades.
💡 How to Use
1️⃣ Identify structural bias
Green background → bullish market structure.
Red background → bearish structure.
No tint → neutral / range phase.
2️⃣ Locate FVG zones
Circles mark potential imbalances for reaction or continuation setups.
3️⃣ Confirm with EMA200
Only trade in the direction of EMA alignment.
4️⃣ Combine with volatility tools
For example, use this with your Squeeze + Short/Long (Futures) — WS indicator to time entries during volatility expansion once the structure bias is confirmed.
⚙️ Recommended Settings
Component Default Description
Swing Len 3 Pivot sensitivity (swing size)
EMA Len 200 Directional bias filter
FVG Lookback 20 Search range for fair value gaps
🧭 Trading Idea
Use FVGs as retracement zones within confirmed structural bias.
Wait for price to retest an FVG in the direction of bias (Green/Red background).
Combine with volume or volatility expansion tools for high-probability setups.
🧾 Credits
Created with ❤️ by WS Trading Tools
© 2025 GuidoT. Built in Pine Script v6.
Part of the WS Smart Structure Suite for precision trend and liquidity analysis.
The Structure & FVG Bias Analyzer — WS helps traders visualize market structure shifts, Fair Value Gaps (FVGs), and trend bias using EMA filtering.
It combines swing-based structural analysis (HH/HL/LH/LL) with smart-money FVG detection, creating a clean contextual view of where the market is expanding or consolidating.
Ideal for Futures, Crypto, and Smart Money traders who need bias clarity before executing entries.
📊 Structure & Bias Logic
🟢 Bullish Context: price breaking above previous highs + EMA200 confirmation.
🔴 Bearish Context: price breaking below previous lows + EMA200 confirmation.
🟡 Neutral/Inside: price consolidating between last swing points.
🟠 EMA200 Line: long-term trend filter (optional).
🧩 Fair Value Gaps (FVGs)
Detects imbalances left by strong moves, often used by institutional trading models.
🟩 FVG↑ → Bullish gap below the candle.
🟥 FVG↓ → Bearish gap above the candle.
These areas frequently act as liquidity magnets or retest zones for continuation trades.
💡 How to Use
1️⃣ Identify structural bias
Green background → bullish market structure.
Red background → bearish structure.
No tint → neutral / range phase.
2️⃣ Locate FVG zones
Circles mark potential imbalances for reaction or continuation setups.
3️⃣ Confirm with EMA200
Only trade in the direction of EMA alignment.
4️⃣ Combine with volatility tools
For example, use this with your Squeeze + Short/Long (Futures) — WS indicator to time entries during volatility expansion once the structure bias is confirmed.
⚙️ Recommended Settings
Component Default Description
Swing Len 3 Pivot sensitivity (swing size)
EMA Len 200 Directional bias filter
FVG Lookback 20 Search range for fair value gaps
🧭 Trading Idea
Use FVGs as retracement zones within confirmed structural bias.
Wait for price to retest an FVG in the direction of bias (Green/Red background).
Combine with volume or volatility expansion tools for high-probability setups.
🧾 Credits
Created with ❤️ by WS Trading Tools
© 2025 GuidoT. Built in Pine Script v6.
Part of the WS Smart Structure Suite for precision trend and liquidity analysis.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。