Heiken Ashi Break of Structure with Market Structure [by Hampeh]Description
This indicator is designed to identify high-probability trading entries by combining the trend-smoothing capabilities of Heiken Ashi candles with the powerful concept of a Break of Structure (BOS).
To enhance signal quality and reduce false signals, it incorporates a mandatory market structure confirmation filter, requiring a Higher Low (HL) to be established before a buy signal and a Lower High (LH) before a sell signal. The indicator automatically provides dynamic Stop Loss levels and generates real-time alerts to streamline the trading process.
How It Works
The indicator's logic is built upon several key components that work together to filter for high-quality setups.
1. Heiken Ashi Foundation The script uses Heiken Ashi candles as its foundation to reduce market noise and provide a clearer visualization of the underlying trend. This smoothing effect makes it easier to identify sustained directional moves.
2. Break of Structure (BOS) Identification The core entry trigger is a Break of Structure, defined as:
Bullish BOS (Buy Signal): The indicator first identifies a downtrend phase (red Heiken Ashi candles). It marks the opening price of this phase (redOpen). A buy signal is triggered when the trend reverses (turns green) and the Heiken Ashi close price breaks above this redOpen level.
Bearish BOS (Sell Signal): Conversely, it identifies an uptrend phase (green Heiken Ashi candles) and marks its opening price (greenOpen). A sell signal is triggered when the trend reverses (turns red) and the Heiken Ashi close price breaks below this greenOpen level.
3. Market Structure Confirmation (HL/LH Filter) This is the key filter that validates the strength of a potential new trend:
Higher Low (HL) for Buys: A buy signal is only considered valid if the low point of the most recent downtrend phase is higher than the low point of the previous downtrend phase. This confirms a classic "Higher Low" market structure, indicating that buying pressure is increasing.
Lower High (LH) for Sells: A sell signal is only considered valid if the high point of the most recent uptrend phase is lower than the high point of the previous uptrend phase. This confirms a "Lower High" structure, suggesting that selling pressure is building.
4. Dynamic Stop Loss Calculation The indicator provides a logical and dynamic Stop Loss for every signal:
For Buy Signals: The Stop Loss is automatically placed just below the lowest low (lowestLow) recorded during the entire preceding downtrend (red candle) phase.
For Sell Signals: The Stop Loss is placed just above the highest high (highestHigh) recorded during the entire preceding uptrend (green candle) phase.
5. Signal Generation and Visualization
A final BUY signal is generated only when all conditions are met: a bullish BOS occurs and it is preceded by a confirmed Higher Low.
A final SELL signal is generated only when all conditions are met: a bearish BOS occurs and it is preceded by a confirmed Lower High.
When a valid signal is triggered, a label appears on the chart displaying the entry price and the calculated Stop Loss. A corresponding alert is also fired with detailed trade information.
Summary of Strategy
In essence, this indicator waits for a pullback (a Heiken Ashi color change), confirms that the pullback respects bullish or bearish market structure (HL or LH), and then triggers an entry upon a Break of Structure in the intended direction.
Disclaimer : This indicator is a tool for technical analysis and does not guarantee profits. Trading financial markets involves significant risk. Always conduct your own research and practice proper risk management.
Indicator

Liquidity Radar# Liquidity Radar
## Overview
Liquidity Radar is a Smart Money Concepts (SMC) indicator that visualizes where institutional liquidity rests in the market. It combines automatic market structure detection (BOS & CHoCH), a thermal liquidity heatmap, dynamic order blocks, and fair value gaps into a single, performance-optimized overlay.
**Free & Open Source** — no invite-only access, no paywall. Full source code, fully transparent.
## The Concept: Why Liquidity Matters
In institutional trading, **liquidity pools** form above swing highs and below swing lows — these are clusters of stop-loss orders from retail traders. Smart money targets these pools to fill large positions. Understanding where liquidity rests gives you an edge in anticipating price movements:
- **Swing High Liquidity** — Stop-losses from short sellers sit above swing highs
- **Swing Low Liquidity** — Stop-losses from long buyers sit below swing lows
- **Liquidity Sweeps** — When price takes out a swing level to grab these stops, it often reverses
The indicator automates the detection and visualization of these key levels.
## Core Features
### 1. Thermal Liquidity Heatmap
The signature feature. Liquidity zones appear at every confirmed swing high and swing low with a thermal color gradient:
- **Fresh zones** — Warm colors (orange/yellow) indicate high relevance
- **Aging zones** — Cool colors (purple/blue) indicate decreasing relevance as time passes
- **Volume-weighted intensity** — Zones formed on high-volume bars appear more intense
- **Auto-cleanup** — Zones fade out over a configurable decay period and are removed when price sweeps through them
### 2. Market Structure Detection (BOS & CHoCH)
Automatic swing high/low detection using pivot-based logic:
- **BOS (Break of Structure)** — Price breaks a prior swing level in the trend direction (continuation). Shown as dashed lines.
- **CHoCH (Change of Character)** — Price breaks a prior swing level against the trend (potential reversal). Shown as solid lines with thicker width.
- Color-coded: Cyan/Teal = bullish, Magenta/Pink = bearish
### 3. Dynamic Order Blocks
Institutional supply and demand zones rendered as semi-transparent boxes:
- **Bullish OB** — The last bearish candle before a strong bullish move (at swing lows)
- **Bearish OB** — The last bullish candle before a strong bearish move (at swing highs)
- Configurable mitigation threshold — controls how much price must penetrate the block before it is considered mitigated
- Auto-removed when price closes through the block
### 4. Fair Value Gaps (FVG)
Three-candle inefficiency detection:
- Bullish FVG: Gap between candle 1's low and candle 3's high
- Bearish FVG: Gap between candle 1's high and candle 3's low
- ATR-based noise filter removes insignificant gaps
- Auto-removed when price fills the gap
- Default: OFF (toggle on in settings)
### 5. Premium / Discount Zones
Based on the current swing range:
- **Premium Zone** (upper half) — Light red background
- **Discount Zone** (lower half) — Light green background
- **Equilibrium Line** (50%) — Dashed amber line
- Default: OFF (toggle on in settings)
## Dashboard
A compact, dark-themed info panel displaying:
- **Trend** — Current market direction (Bullish / Bearish / Neutral)
- **Structure** — Last detected structure signal (BOS or CHoCH)
- **Liq. Heat** — How many liquidity zones are near the current price (High / Medium / Low)
- **Volume** — Above or below 20-period average
- **Momentum** — RSI(14) status (Overbought / Neutral / Oversold)
- **Next Zone** — Nearest liquidity zone with price level and distance in percent
## Auto-Timeframe Adaptation
All parameters automatically adjust to your chart timeframe:
| Timeframe | Swing Lookback | Heatmap Decay |
|-----------|---------------|---------------|
| 1-5 min | 6 | 100 bars |
| 15 min | 10 | 80 bars |
| 30 min | 12 | 80 bars |
| 1 Hour | 15 | 60 bars |
| 4 Hour | 22 | 50 bars |
| Daily | 35 | 40 bars |
| Weekly+ | 50 | 30 bars |
You can switch to manual mode for full control.
## Alert Types (7)
1. Bullish BOS — Break of Structure confirmed (continuation up)
2. Bearish BOS — Break of Structure confirmed (continuation down)
3. Bullish CHoCH — Change of Character detected (potential reversal up)
4. Bearish CHoCH — Change of Character detected (potential reversal down)
5. Bullish Liquidity Sweep — Swing high liquidity taken
6. Bearish Liquidity Sweep — Swing low liquidity taken
7. Price Entering Order Block — Price enters a bullish or bearish OB zone
## Settings
**Market Structure:**
- Show BOS / CHoCH (on/off)
- Auto Swing Lookback (on/off)
- Manual Swing Lookback (3-100)
- BOS / CHoCH line styles and width
**Liquidity Heatmap:**
- Show Heatmap (on/off)
- Auto Decay Period (on/off)
- Manual Decay (10-500 bars)
- Zone Width (ATR multiplier)
- Volume-Weighted Intensity (on/off)
- Max Active Zones (4-20)
**Order Blocks:**
- Show Order Blocks (on/off)
- Max OBs per Side (1-6)
- Mitigation Threshold (0.0-1.0)
**Fair Value Gaps:**
- Show FVGs (on/off, default OFF)
- Min FVG Size (ATR multiplier)
- Max Active FVGs (2-15)
- FVG Extend (bars)
**Premium / Discount:**
- Show Zones (on/off, default OFF)
- Zone Transparency
**Dashboard:**
- Show Dashboard (on/off)
- Position (Top Right / Top Left / Bottom Right / Bottom Left)
- Size (Tiny / Small / Normal)
**Visual Settings:**
- All 5 colors fully customizable
- Watermark (on/off)
## Non-Repainting
All signals are calculated on confirmed (closed) bars only. Pivot detection inherently requires N bars of confirmation on each side. BOS/CHoCH signals fire on the bar where the break occurs, after the swing point is already confirmed. What you see is what happened — no hindsight bias.
## Works On
- Crypto (BTC, ETH, SOL, ...)
- Forex (EUR/USD, GBP/JPY, ...)
- Stocks (AAPL, TSLA, NVDA, ...)
- Futures & Indices (NQ, ES, SPX, ...)
- Any timeframe from 1 minute to Monthly
## Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss. Indicator

Diamond V5 : Institutional SMC & Liquidity EngineDiamond V5: Ultimate Institutional SMC & Liquidity Engine
Diamond V5 is a high-precision trading framework designed for professional traders who follow SMC (Smart Money Concepts) and ICT methodologies. Unlike standard indicators, Diamond V5 is a complete structural engine that identifies where liquidity is resting and how institutional players are moving the market.
🚀 Key Features:
Auto-Market Detection: Smart algorithms that automatically adjust parameters (Sweep tolerance, confirmations) based on whether you are trading Gold, Forex, or Indices.
Advanced Structure Engine: Real-time mapping of BOS (Break of Structure) and CHoCH (Change of Character) with body-close confirmation.
Liquidity Clustering: Detects Equal Highs/Lows (EQH/EQL) with dynamic tolerance, identifying high-probability liquidity pools.
PD Array Filter: Integrated Premium/Discount logic to ensure you only Buy in Discount and Sell in Premium zones.
Institutional Confirmation: Combined Displacement, Fair Value Gaps (FVG), and Volume Spikes to filter out fakeouts.
Pro Dashboard: A comprehensive HUD showing HTF Trend, LTF Structure, Pricing status, and Killzone activity at a glance.
🛠 How to Trade (The Strategy):
Context: Ensure HTF Trend and Internal Structure are aligned (Green/Red Dashboard).
Setup: Wait for a Liquidity Sweep (Orange Diamond) in a Premium/Discount zone.
Trigger: Look for the BUY/SELL label which appears after a displacement candle creates a new FVG.
Target: Aim for the "Weak High/Low" target lines or use the dynamic 1:2 RR TP line.
📈 Optimized For:
Forex: EURUSD, GBPUSD, USDJPY (15m/1h)
Indices: NAS100, US30, SPX500 (1m/5m - NY Killzone)
Commodities: XAUUSD / GOLD (5m/15m)
توضیحات فارسی:
اندیکاتور Diamond V5 یک موتور معاملاتی پیشرفته مبتنی بر سبک اسمارت مانی (SMC) است. این ابزار با شناسایی خودکار ساختار بازار (BOS/CHoCH) و شکار نقدینگی (Liquidity Sweeps)، دقیقترین نقاط ورود در جهت روند اصلی را نمایش میدهد.
ویژگیهای برتر:
تشخیص خودکار نوع بازار (فارکس، طلا، شاخصها).
فیلتر قیمت منصفانه (ترید فقط در نواحی ارزان یا گران).
شناسایی نقدینگیهای مجتمع (Equal Highs/Lows).
ترسیم خودکار باکسهای FVG برای تایید ورود پول هوشمند.
داشبورد مدیریتی کامل برای بررسی همزمانی چندین فاکتور تحلیلی. Indicator

Market Structure Signals | ProjectSyndicateMarket Structure Signals automatically detects Break of Structure (BOS) and Change of Character (CHoCH) patterns using pivot-based swing analysis, generates clean entry levels with ADR10-calibrated TP1/TP2/SL zones, and provides a professional performance dashboard tracking win rates and trade history for data-driven strategy optimization.
Core Features
• 📊 Pivot-Based Market Structure Detection — Automatically identifies swing highs/lows using customizable lookback period (5-100 bars) to detect institutional order flow shifts and trend reversals.
• ⚡ BOS (Break of Structure) Signals — Triggers when price breaks previous swing high/low in trend direction, indicating continuation of smart money positioning.
• 🔄 CHoCH (Change of Character) Signals — Detects when breakout reverses previous trend direction, signaling potential trend exhaustion or reversal setup.
• 🎨 Clean Visual Presentation — Horizontal breakout lines with large BOS/CHoCH labels at breakout levels, color-coded for bullish (teal #21c997) and bearish (purple #cc24e2) setups.
• 📏 ADR10-Based TP/SL Calculation — Uses 10-day Average Daily Range (ADR10) percentage-based targets for consistent, volatility-adjusted risk management across all instruments and timeframes.
• 🎯 Dual Take Profit Levels — TP1 (default 20% of ADR10) and TP2 (default 30% of ADR10) with clean rectangular zones and price labels for clear profit targets.
• 🛡️ Stop Loss Zones — SL level (default 20% of ADR10) plotted as clean rectangular zone below entry for longs, above entry for shorts.
• 📦 Clean Zone Visualization — Rectangular boxes with customizable transparency (default 85% fill, 50% border) extend from entry bar to current bar for active trades.
• 🚫 No Position Sizing Clutter — Entry labels show clean price levels only, no quantity calculations or risk percentages cluttering the chart.
Professional Performance Dashboard
• 📈 Real-Time Statistics Panel — Top-right dashboard displays Total Signals, Closed Trades, TP1 Wins, TP2 Wins, and SL Losses with color-coded values.
• 🎯 Win Rate Metrics — Shows TP1 Win Rate (trades hitting at least TP1), TP2 Win Rate (trades reaching TP2), and Overall Win Rate (any TP hit).
• 📜 Last 10 Trades History — Color-coded trade results (TP2=teal, TP1=green, SL/Reversal=red) for quick performance review.
• 🔧 Adjustable Text Size — Dashboard text size setting (Tiny/Small/Normal/Large/Huge) for optimal visibility on any screen size or resolution.
• ✅ Mathematically Accurate — TP2 win rate always ≤ TP1 win rate (since TP2 is further), Overall win rate = TP1 win rate (any TP hit counts as win).
• 🔄 Dynamic Updates — Statistics recalculate automatically when you adjust TP/SL percentage settings to show historical performance with new parameters.
⚙️ Customization Options
Market Structure Settings
• Market Structure Lookback (5-100, default 25) — Number of candles for pivot high/low detection, lower = more sensitive, higher = major swings only.
• BOS Confirmation (Close/Wick) — Use candle close or wick for breakout confirmation, Close = conservative, Wick = aggressive entries.
• Show CHoCH Labels (true/false) — Toggle Change of Character labels on/off, disable for cleaner chart with BOS signals only.
TP/SL Settings (ADR10-Based)
• TP1 % of ADR10 (default 20%) — First target distance as percentage of 10-day Average Daily Range, adjust based on instrument volatility.
• TP2 % of ADR10 (default 30%) — Second target distance as percentage of ADR10, typically 1.5-2x TP1 for optimal risk:reward.
• SL % of ADR10 (default 20%) — Stop loss distance as percentage of ADR10, keeps risk consistent with market volatility.
🔔 How to Setup Alerts
Market Structure Signals includes built-in alert conditions for PulseWire's native alert system:
Step-by-Step Alert Setup:
1.Add Indicator to Chart — Apply "Market Structure Signals" to your chart with desired settings.
2.Open Alerts Panel — Click the Alert icon (bell) in top toolbar or press Alt + A (Windows) / Option + A (Mac).
3.Create Alert — Click "Create Alert" button (+ icon).
4.Select Condition — In "Condition" dropdown, select "Market Structure Signals" and choose:
•"Bullish BOS/CHoCH" — Alert when bullish breakout detected
•"Bearish BOS/CHoCH" — Alert when bearish breakout detected
5.Configure Alert Options:
•Alert Name: e.g., "XAUUSD M30 - Bullish BOS"
•Frequency: "Once Per Bar Close" (recommended) or "Only Once"
•Expiration: Set alert duration or leave open-ended
6.Notification Settings: Enable desired notification methods:
•📱 Push notifications to PulseWire mobile app
•📧 Email notifications
•🔊 Sound alerts in browser
•🪝 Webhook URL for third-party integrations
7.Save Alert — Click "Create" to activate alert.
Alert Best Practices:
• Use "Once Per Bar Close" frequency to avoid false alerts during bar formation.
• Set separate alerts for bullish and bearish signals on each timeframe you trade.
• Test alerts on demo/paper trading before live use to verify settings.
• Combine with price action confirmation before entering trades.
📈 Supported Markets & Instruments
✅ Gold (XAUUSD) — Excellent performance on M30/H1/H4 with ADR10-based targets perfectly suited for gold volatility.
✅ Forex Pairs — EUR/USD, GBP/USD, USD/JPY, AUD/USD, NZD/USD, and all major/minor pairs.
✅ Cryptocurrencies — BTC/USD, ETH/USD, and all crypto pairs (adjust ADR10 percentages for higher volatility).
✅ Stock Indices — ES (S&P 500), NQ (Nasdaq), YM (Dow Jones), RTY (Russell 2000).
✅ Individual Stocks — Large-cap stocks with sufficient liquidity and daily range.
✅ Commodities — Oil (CL), Natural Gas (NG), Silver (XAGUSD), Copper.
⏰ Recommended Timeframes
Optimal Performance:
• M10-M15 — Scalping and intraday setups, higher signal frequency, verify dashboard win rates before use.
• M30-H1 — Best balance of signal quality and frequency, recommended starting point for most traders.
Important Notes:
• Always verify recent performance using the dashboard before trading new timeframes.
• Lower timeframes (M5-M10) may produce more signals but require tighter risk management.
• Higher timeframes (H4-D1) produce fewer but more reliable structural breaks.
• ADR10-based targets automatically adapt to each timeframe's volatility characteristics.
How to Use This Indicator
Trading Workflow:
1.Apply to Chart — Add "Market Structure Signals" to your preferred instrument and timeframe (start with M30/H1).
2.Review Dashboard — Check win rates and recent trade history to assess current market structure quality and strategy performance.
3.Wait for Signal — BOS label appears when price breaks previous swing high/low, CHoCH when breakout reverses trend.
4.Confirm Entry — Use price action, candlestick patterns, or your trading system to confirm entry at breakout level.
5.Manage Trade — TP1/TP2 zones show profit targets, SL zone shows stop loss, adjust position size based on your risk tolerance.
6.Monitor Performance — Track results in dashboard, adjust TP/SL percentages if needed based on win rate data.
Strategy Tips:
• Focus on BOS signals in trending markets for continuation setups.
• Watch for CHoCH signals at key support/resistance for reversal opportunities.
• Combine with volume analysis, order flow, or momentum indicators for confirmation.
• Use higher timeframe structure (H4/D1) to filter lower timeframe signals (M30/H1).
• Adjust ADR10 percentages based on instrument: Gold 20-30%, Forex 15-25%, Crypto 30-50%.
🎯 Why This Indicator is Unique
• ✅ Volatility-adaptive targets vs fixed-pip targets
• ✅ Clean professional dashboard vs cluttered multi-panel stats
• ✅ Mathematically accurate win rates vs inflated performance metrics
• ✅ No position sizing clutter vs quantity/risk calculations on every label
• ✅ Customizable text size for any screen vs tiny unreadable text
• ✅ Built from scratch vs copy-paste indicator code
⚠️ IMPORTANT DISCLAIMERS
Educational Purpose Only
This indicator is designed for educational purposes only to help traders understand Smart Money Concepts (SMC), market structure analysis, and Break of Structure (BOS) / Change of Character (CHoCH) detection methodologies. It is NOT financial advice and should NOT be used as a standalone trading system.
Past Performance Warning
Past results are not a guarantee of future performance. Historical win rates, trade statistics, and dashboard metrics shown in backtesting or past chart data do not predict or guarantee future trading outcomes. Market conditions change, volatility fluctuates, and what worked historically may not work in current or future markets.
Risk Disclosure
Trading financial instruments involves substantial risk of loss and is not suitable for all investors. You should carefully consider your investment objectives, level of experience, and risk appetite before trading. Never trade with money you cannot afford to lose. Indicator

Indicator

All-in-One SMC ProAll-in-One SMC Pro: CHOCH • BOS • FVG • Order Blocks • Liquidity + Discount/Premium
This open-source overlay indicator combines the five most widely used Smart Money / ICT (Inner Circle Trader) concepts into a single, customizable tool:
- Break of Structure (BOS)
- Change of Character (CHOCH)
- Fair Value Gaps (FVG)
- Order Blocks (mitigation blocks)
- Liquidity grabs (equal highs/lows)
- Discount / Premium zones
Why this combination?
SMC traders rarely use these concepts in isolation. A complete workflow typically involves:
1. Identifying market structure direction (BOS) or reversal (CHOCH)
2. Locating high-probability entry zones (Order Blocks, FVGs)
3. Confirming institutional manipulation (liquidity grabs of equal highs/lows)
4. Understanding price positioning relative to value (discount = buy bias, premium = sell bias)
Putting them all in one script reduces chart clutter, improves confluence visibility, and helps newer SMC users see how the pieces connect — without needing 5–7 separate indicators.
Core Concepts & Detection Logic
1. Break of Structure (BOS)
- Bullish BOS: price closes above previous swing high
- Bearish BOS: price closes below previous swing low
- Swing points detected with user-defined lookback (default 5 bars left/right)
2. Change of Character (CHOCH)
- Bullish CHOCH: price makes lower low but closes above previous swing high (bearish structure broken → bullish reversal signal)
- Bearish CHOCH: price makes higher high but closes below previous swing low (bullish structure broken → bearish reversal signal)
3. Fair Value Gaps (FVG)
- Bullish FVG: gap up after a bearish candle (low > high )
- Bearish FVG: gap down after a bullish candle (high < low )
- Sensitivity controlled via ATR multiplier (default 0.1 × ATR(14))
- Dashed horizontal lines mark the gap boundaries
4. Order Blocks
- Bullish OB: previous swing low after bullish BOS (potential demand zone)
- Bearish OB: previous swing high after bearish BOS (potential supply zone)
- Drawn as semi-transparent boxes extending rightward (lookback period adjustable)
5. Liquidity Grabs
- Detects clusters of equal highs/lows (default 3-bar lookback)
- Labels appear when price reverses after touching equal levels (classic stop-hunt / liquidity raid)
6. Discount / Premium Zones
- Equilibrium proxy = (H + L + C) / 3
- Discount: price below ~0.5% of equilibrium (green tint – buy bias area)
- Premium: price above ~0.5% of equilibrium (red tint – sell bias area)
Visual Customization
- Toggle each element independently (BOS, CHOCH, FVG, OB, Liquidity, Disc/Prem)
- Separate bullish/bearish colors + dedicated FVG/OB/Liquidity colors
- Max lines/labels set high (500) to handle longer histories
Alerts (built-in conditions)
- Bullish / Bearish BOS
- Bullish / Bearish CHOCH
- Bullish / Bearish FVG formation
How to Use
- Best on 5m–4h timeframes for forex, indices, crypto, gold (high-liquidity instruments)
- Typical SMC workflow example:
1. Look for CHOCH → potential trend reversal
2. Wait for BOS in new direction → structure confirmation
3. Seek entry at Order Block or FVG mitigation in discount/premium zone
4. Liquidity grabs near swing extremes often precede strong moves
- Combine with session times, news events, or higher-timeframe bias — never trade signals in isolation
- Adjust swingLen (3–10) for sensitivity: lower = more signals, higher = cleaner structure
Publishing Recommendation
- Publish with a clean chart (recommended: 15m–1h EURUSD, XAUUSD, BTCUSD, or NQ1!)
- Show a recent CHOCH → BOS → OB/FVG confluence sequence
- Remove all other indicators, drawings, and unnecessary gridlines
Always use discretion, proper risk management, and backtest thoroughly.
Feedback welcome — especially on FVG sensitivity or OB refinement ideas! Indicator

SMC: Multi-TF Bias & HTF BOS with SessionsOverview
The HTF BOS (Session) - Precision Lines is a comprehensive trading tool designed for Smart Money Concepts (SMC) and price action traders. It identifies Higher Timeframe (HTF) Break of Structure (BOS) levels while filtering them based on specific trading sessions. Additionally, it features a built-in Bias Dashboard that tracks trend alignment across three different timeframes to help you stay on the right side of the market.
Key Features
1. Precision HTF BOS Tracking
Unlike standard indicators that only mark the breakout candle, this script uses high-precision pivot detection to identify the exact origin of a structural high or low.
Tam Yapışık Çizgiler (Precise Lines): The BOS lines are drawn exactly from the pivot point to the breakout point, providing a clean and professional look on your chart.
HTF Integration: You can track structure from a higher timeframe (e.g., 4H) while trading on a lower timeframe (e.g., 15m or 5m).
2. Session Filtering (Time Sensitivity)
Structural breaks are most reliable when they happen during high-volume periods.
The script includes a Session Filter (London & New York).
If enabled, the indicator will only plot BOS levels that occur during your specified trading hours, helping you avoid "fake-outs" or noise during low-liquidity periods (Asian session/After-hours).
3. Multi-Timeframe Bias Dashboard
Stay aware of the "Big Picture" without constantly switching charts. The dashboard monitors three custom timeframes (e.g., Daily, 4H, 1H) and determines if the structure is Bullish or Bearish.
Strong Buy/Sell Signals: When all three timeframes align, the status cell highlights as "BUY" or "SELL."
Wait Status: If timeframes are in conflict, the dashboard suggests "WAIT," encouraging disciplined trading.
How to Use
Define Your Bias: Set your three Bias Timeframes in the settings to match your higher-level strategy.
Set Your BOS TF: Choose the timeframe you want structural breaks to be calculated from (usually one or two steps above your entry chart).
Adjust Sensitivity: Use the "Pivot Sensitivity" setting to filter between minor and major structural points.
Confirm with Session: Enable the session filter to ensure you are only trading breaks that occur during the NY or London sessions.
Settings
Bias Dashboard Settings: Customize the TFs and pivot sensitivity for trend analysis.
BOS & Session Settings: Set your target HTF for drawings and define your trading window (NY Timezone supported).
Visual Settings: Full control over colors (Bullish/Bearish), table positioning, and text sizes. Indicator

Market Structure BOS - Session Based (5m, NY Time) This indicator visualizes market structure using a strict, rule-based
Break of Structure (BOS) logic, calculated on the 5-minute timeframe
and evaluated in New York time.
The script detects swing Highs and Lows based on candle direction
(bullish → bearish for Highs, bearish → bullish for Lows). From each
validated structure point, a horizontal level is drawn at the true
price extreme (wick included). Once created, structure levels never
repaint or move.
A Break of Structure is confirmed only when a candle CLOSES beyond
the most recent valid structure level:
- Bullish BOS: close above the latest High
- Bearish BOS: close below the latest Low
The indicator is trend-aware: once a bullish or bearish BOS is confirmed,
only BOS signals in the same direction are shown until the trend changes.
This prevents duplicate or redundant structure breaks during trends.
Session logic is fully integrated and based on New York time:
- Asia
- London (with pre-open range)
- New York (with pre-open range)
Structure levels and BOS logic can optionally reset at the end of each
New York trading day, keeping the chart clean and session-relevant.
The indicator is designed for traders who focus on intraday price action,
market structure, and session-based behavior without visual clutter.
No labels, alerts, or signals are plotted — only clean structure levels.
Indicator

Indicator

Indicator

EMA Market Structure [BOSWaves]EMA Market Structure - Trend-Driven Structural Mapping with Adaptive Swing Detection
Overview
The EMA Market Structure indicator provides an advanced framework for visualizing market structure through dynamically filtered trend and swing analysis.
Unlike conventional EMA overlays, which merely indicate average price direction, this model integrates trend acceleration, swing highs/lows, and break-of-structure (BOS) logic into a unified, visually intuitive display.
Each element adapts in real time to price movement, offering traders a living map of support, resistance, and trend bias that reacts fluidly to market momentum.
The result is a comprehensive, trend-aware representation of price structure.
EMA slope and acceleration guide trend perception, while swing points identify key inflection zones.
Breaks of prior highs or lows are highlighted with visual BOS labels and stop-loss projections, giving traders actionable context for continuation or reversal setups.
Unlike static lines or simple moving averages, the EMA Market Structure indicator fuses dynamic trend analysis with structural awareness to provide a clear picture of market bias and potential turning points.
Theoretical Foundation
The EMA Market Structure builds on principles of momentum filtering and structural analysis.
Standard moving averages track average price but ignore acceleration and context; this indicator captures both the directional slope of the EMA and its rate of change, providing a proxy for trend strength.
Simultaneously, swing detection identifies statistically significant highs and lows, while BOS logic flags decisive breaks in structure, aligned with trend direction.
At its core are three interacting components:
EMA Trend & Acceleration : Smooths price data while highlighting acceleration changes, producing gradient-driven color cues for trend momentum.
Swing Detection Engine : Identifies swing highs and lows over configurable bar lengths, ensuring key turning points are captured with minimal clutter.
Break-of-Structure Logic : Detects price breaches of previous swings and aligns them with EMA trend for actionable BOS signals, including projected stop-loss levels for tactical decision-making.
By integrating these elements, the system scales effectively across timeframes and assets, maintaining structural clarity while visualizing trend dynamics in real time. Traders receive both macro and micro perspectives of market movement, with clear cues for trend continuation or reversal.
How It Works
The EMA Market Structure indicator operates through layered processing stages:
EMA Slope & Acceleration : Calculates the EMA and its rate of change, normalizing via ATR and a smoothing function to produce gradient color coding. This allows instant visual identification of bullish or bearish momentum.
Swing Identification : Swing highs and lows are computed using configurable left/right bar lengths, filtered through a cool-off mechanism to prevent redundant signals and maintain chart clarity.
Structural Lines & Zones : Swing points are connected with lines, and shaded zones are drawn between successive highs/lows to highlight key support and resistance regions.
Break-of-Structure Detection : BOS events occur when price breaches a prior swing in alignment with the EMA trend. Bullish and bearish BOS signals include enhanced label effects and projected stop-loss lines and zones, providing immediate tactical reference.
Dynamic Background Mapping : The chart background adapts to EMA trend direction, reinforcing trend context with subtle visual cues.
Through these processes, the indicator creates a living, adaptive map of market structure that reflects both trend strength and swing-based inflection points.
Interpretation
The EMA Market Structure reframes market reading from simple trend following to structured awareness of price behavior:
Uptrend Phases : EMA is rising with positive acceleration, swings confirm higher lows, and BOS events occur above prior highs, signaling trend continuation.
Downtrend Phases : EMA slope is negative, swings form lower highs, and BOS events occur below prior lows, confirming bearish bias.
Trend Reversals : Flat or decelerating EMA with BOS failures may indicate impending structural change.
Critical Zones : Swing-based lines and shaded zones highlight areas where price may pause, reverse, or accelerate, providing high-probability decision points.
Visually, EMA color gradients, structural lines, and BOS labels combine to provide both statistical trend confirmation and actionable structural cues.
Strategy Integration
EMA Market Structure integrates seamlessly into trend-following and swing-based trading systems:
Trend Alignment : Confirm higher-timeframe EMA slope before entering continuation trades.
BOS Entry Triggers : Use BOS events aligned with EMA trend for tactical entries and stop placement.
Support/Resistance Mapping : Swing lines and zones help define areas for scaling, exits, or reversals.
Volatility Context : ATR-based smoothing and stop-loss buffers accommodate varying market volatility, ensuring robustness across conditions.
Multi-Timeframe Coordination : Combine higher-timeframe EMA trend and swings with lower-timeframe structural events for precision entries.
Technical Implementation Details
Core Engine : EMA slope and ATR-normalized acceleration for gradient-driven trend visualization.
Swing Framework : Pivot-based high/low detection with configurable bar lengths and cool-off intervals.
Structural Visualization : Lines, zones, and labels for high-fidelity mapping of support/resistance and BOS events.
BOS Engine : Detects structural breaks aligned with EMA trend, automatically plotting stop-loss lines and visual cues.
Performance Profile : Lightweight, optimized for real-time responsiveness across multiple timeframes.
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Ideal for intraday swing spotting and microstructure trend tracking.
15 - 60 min : Medium-range structural analysis and BOS-driven entries.
4H - Daily : Macro trend mapping and key swing-based support/resistance identification.
Suggested Configuration:
EMA Length : 50
Swing Length : 5
Swing Cooloff : 10 bars
BOS Cooloff : 15 bars
SL Buffer : 0.1%
These suggested parameters should be used as a baseline; their effectiveness depends on the asset volatility, liquidity, and preferred entry frequency, so fine-tuning is expected for optimal performance.
Performance Characteristics
High Effectiveness:
Trending markets with defined swings and structural consistency.
Markets where EMA slope and acceleration reliably indicate momentum changes.
Reduced Effectiveness:
Choppy or sideways markets with minimal swing definition.
Random walk assets lacking clear structural anchors.
Integration Guidelines
Confluence Framework : Combine with volume, momentum, or BOSWaves structural indicators
to validate entries.
Directional Control: Follow EMA slope and BOS alignment for high-conviction trades.
Risk Calibration: Use SL projections for disciplined exposure management.
Multi-Timeframe Synergy: Confirm higher-timeframe trend before executing lower-timeframe structural trades.
Disclaimer
The EMA Market Structure is a professional-grade trend and structure visualization tool. It is not predictive or guaranteed profitable; performance depends on parameter tuning, market regime, and disciplined execution. BOSWaves recommends using it as part of a comprehensive analytical stack integrating trend, liquidity, and structural context. Indicator

Indicator

Indicator

Market Structure ICT Screener [TradingFinder] BoS ChoCh🔵 Introduction
Market Structure is the foundation of every Smart Money and ICT based trading model. It describes how price moves through a sequence of highs and lows, forming clear phases of expansion, retracement and reversal. Understanding this structure allows traders to read institutional order flow and align their positions with the true direction of liquidity.
Two of the most critical components in Market Structure are the Break of Structure (BOS) and Change of Character (CHOCH). A BOS represents trend continuation, confirming strength within the current direction. In contrast, CHOCH also known as a Market Structure Shift (MSS) signals the first sign of a trend reversal or liquidity shift where order flow begins to change from bullish to bearish or vice versa.
Because the market is fractal, structure can exist at multiple levels known as Major (External) and Minor (Internal). Major structure defines the overall trend on higher timeframes while minor or internal structure reveals short term swings and early reversals within that larger move.
🔵 How to Use
Understanding Market Structure starts with identifying how price interacts with previous swing highs and swing lows. Every trend in the market, whether bullish or bearish, is built from a sequence of impulsive and corrective moves. Impulsive legs show strong displacement in the direction of liquidity flow, while corrective legs represent temporary pullbacks as the market rebalances before the next expansion. Recognizing these sequences is essential for reading the story of price and anticipating what may happen next.
A Break of Structure (BOS) occurs when price decisively moves beyond a previous structural point by breaking above the last high in an uptrend or falling below the last low in a downtrend. This event confirms that the current trend remains intact and that liquidity has been successfully taken from one side of the market. A BOS acts as confirmation of continuation and reflects strength within the existing directional bias.
A Change of Character (CHOCH) appears when price violates structure in the opposite direction of the prevailing trend. This is the first signal that market sentiment and order flow may be shifting. For example, during a downtrend if price breaks above a previous high, it indicates that sellers are losing control and a potential bullish reversal may be developing. In an uptrend, when price drops below a recent low, it suggests a possible bearish transition.
Because the market is fractal, structure exists across multiple layers. Major structure reflects the dominant movement visible on higher timeframes and defines the broader directional bias. Minor or internal structure represents smaller swings within that move and helps identify early transitions before they appear on the higher timeframe. When internal and external structures align, they offer a high probability signal for trend continuation or reversal.
By observing BOS and CHOCH across both internal and external structures, traders can clearly visualize when the market is expanding, contracting or preparing to shift direction. This structured understanding of price movement forms the foundation for precise trend analysis and high quality decision making in any Smart Money or ICT based trading approach.
🔵 Settings
🟣 Display Settings
Table on Chart : Allows users to choose the position of the signal dashboard either directly on the chart or below it, depending on their layout preference.
Number of Symbols : Enables users to control how many symbols are displayed in the screener table, from 10 to 20, adjustable in increments of 2 symbols for flexible screening depth.
Table Mode : This setting offers two layout styles for the signal table :
Basic : Mode displays symbols in a single column, using more vertical space.
Extended : Mode arranges symbols in pairs side-by-side, optimizing screen space with a more compact view.
Table Size : Lets you adjust the table’s visual size with options such as: auto, tiny, small, normal, large, huge.
Table Position : Sets the screen location of the table. Choose from 9 possible positions, combining vertical (top, middle, bottom) and horizontal (left, center, right) alignments.
🟣 Symbol Settings
Each of the 20 symbol slots comes with a full set of customizable parameters :
Symbol : Define or select the asset (e.g., XAUUSD, BTCUSD, EURUSD, etc.).
Timeframe : Set your desired timeframe for each symbol (e.g., 15, 60, 240, 1D).
Pivot Period : Set the length used to detect swing highs and lows. Shorter values increase sensitivity, longer ones focus on major structures.
🔵 Conclusion
Mastering Market Structure and understanding the relationship between BOS and CHOCH allows traders to see the market with greater clarity and confidence. These two elements reveal how liquidity moves through different phases of expansion and retracement and how institutional order flow shifts between accumulation and distribution.
By analyzing both internal and external structures, traders can align short term and long term perspectives and anticipate where price is most likely to react. The ability to read these structural shifts helps identify continuation points, reversals and areas where liquidity is engineered or collected.
Incorporating Market Structure into a consistent trading process transforms the way a trader views the chart. Instead of reacting to random movements, each swing, break and shift becomes part of a logical framework that reflects the true behavior of the market. Understanding BOS and CHOCH is not just a concept but a complete language of price that guides every professional decision in Smart Money and ICT based trading.
Indicator

Market Structure Report Library [TradingFinder]🔵 Introduction
Market Structure is one of the most fundamental concepts in Price Action and Smart Money theory. In simple terms, it represents how price moves between highs and lows and reveals which phase of the market cycle we are currently in uptrend, downtrend, or transition.
Each structure in the market is formed by a combination of Breaks of Structure (BoS) and Changes of Character (CHoCH) :
BoS occurs when the market breaks a previous high or low, confirming the continuation of the current trend.
CHoCH occurs when price breaks in the opposite direction for the first time, signaling a potential trend reversal.
Since price movement is inherently fractal, market structure can be analyzed on two distinct levels :
Major / External Structure: represents the dominant macro trend.
Minor / Internal Structure: represents corrective or smaller-scale movements within the larger trend.
🔵 Library Purpose
The “Market Structure Report Library” is designed to automatically detect the current market structure type in real time.
Without drawing or displaying any visuals, it analyzes raw price data and returns a series of logical and textual outputs (Return Values) that describe the current structural state of the market.
It provides the following information :
Trend Type :
External Trend (Major): Up Trend, Down Trend, No Trend
Internal Trend (Minor): Up Trend, Down Trend, No Trend
Structure Type :
BoS : Confirms trend continuation
CHoCH : Indicates a potential trend reversal
Consecutive BoS Counter : Measures trend strength on both Major and Minor levels.
Candle Type : Returns the current candle’s condition(Bullish, Bearish, Doji)
This library is specifically designed for use in Smart Money–based screeners, indicators, and algorithmic strategies.
It can analyze multiple symbols and timeframes simultaneously and return the exact structure type (BoS or CHoCH) and trend direction for each.
🔵 Function Outputs
The function MS() processes the price data and returns seven key outputs,
each representing a distinct structural state of the market. These values can be used in indicators, strategies, or multi-symbol screeners.
🟣 ExternalTrend
Type : string
Description : Represents the direction of the Major (External) market structure.
Possible values :
Up Trend
Down Trend
No Trend
This is determined based on the behavior of Major Pivots (swing highs/lows).
🟣 InternalTrend
Type : string
Description : Represents the direction of the Minor (Internal) market structure.
Possible values :
Up Trend
Down Trend
No Trend
🟣 M_State
Type : string
Description : Specifies the type of the latest Major Structure event.
Possible values :
BoS
CHoCH
🟣 m_State
Type : string
Description : Specifies the type of the latest Minor Structure event.
Possible values :
BoS
CHoCH
🟣 MBoS_Counter
Type : integer
Description : Counts the number of consecutive structural breaks (BoS) in the Major structure.
Useful for evaluating trend strength :
Increasing count: indicates trend continuation.
Reset to zero: typically occurs after a CHoCH.
🟣 mBoS_Counter
Type : integer
Description : Counts the number of consecutive structural breaks in the Minor structure.
Helps analyze the micro structure of the market on lower timeframes.
Higher value : strong internal trend.
Reset : indicates a minor pullback or reversal.
🟣 Candle_Type
Type : string
Description : Represents the type of the current candle.
Possible values :
Bullish
Bearish
Doji
import TFlab/Market_Structure_Report_Library_TradingFinder/1 as MSS
PP = input.int (5 , 'Market Structure Pivot Period' , group = 'Symbol 1' )
= MSS.MS(PP) Library

Trend Fib Zone Bounce (TFZB) [KedArc Quant]Description:
Trend Fib Zone Bounce (TFZB) trades with the latest confirmed Supply/Demand zone using a single, configurable Fib pullback (0.3/0.5/0.6). Trade only in the direction of the most recent zone and use a single, configurable fib level for pullback entries.
• Detects market structure via confirmed swing highs/lows using a rolling window.
• Draws Supply/Demand zones (bearish/bullish rectangles) from the latest MSS (CHOCH or BOS) event.
• Computes intra zone Fib guide rails and keeps them extended in real time.
• Triggers BUY only inside bullish zones and SELL only inside bearish zones when price touches the selected fib and closes back beyond it (bounce confirmation).
• Optional labels print BULL/BEAR + fib next to the triangle markers.
What it does
Finds structure using confirmed swing highs/lows (you choose the confirmation length).
Builds the latest zone (bullish = demand, bearish = supply) after a CHOCH/BOS event.
Draws intra-zone “guide rails” (Fib lines) and extends them live.
Signals only with the trend of that zone:
BUY inside a bullish zone when price tags the selected Fib and closes back above it.
SELL inside a bearish zone when price tags the selected Fib and closes back below it.
Optional labels print BULL/BEAR + Fib next to triangles for quick context
Why this is different
Most “zone + fib + signal” tools bolt together several indicators, or fire counter-trend signals because they don’t fully respect structure. TFZB is intentionally minimal:
Single bias source: the latest confirmed zone defines direction; nothing else overrides it.
Single entry rule: one Fib bounce (0.3/0.5/0.6 selectable) inside that zone—no counter-trend trades by design.
Clean visuals: you can show only the most recent zone, clamp overlap, and keep just the rails that matter.
Deterministic & transparent: every plot/label comes from the code you see—no external series or hidden smoothing
How it helps traders
Cuts decision noise: you always know the bias and the only entry that matters right now.
Forces discipline: if price isn’t inside the active zone, you don’t trade.
Adapts to volatility: pick 0.3 in strong trends, 0.5 as the default, 0.6 in chop.
Non-repainting zones: swings are confirmed after Structure Length bars, then used to build zones that extend forward (they don’t “teleport” later)
How it works (details)
*Structure confirmation
A swing high/low is only confirmed after Structure Length bars have elapsed; the dot is plotted back on the original bar using offset. Expect a confirmation delay of about Structure Length × timeframe.
*Zone creation
After a CHOCH/BOS (momentum shift / break of prior swing), TFZB draws the new Supply/Demand zone from the swing anchors and sets it active.
*Fib guide rails
Inside the active zone TFZB projects up to five Fib lines (defaults: 0.3 / 0.5 / 0.7) and extends them as time passes.
*Entry logic (with-trend only)
BUY: bar’s low ≤ fib and close > fib inside a bullish zone.
SELL: bar’s high ≥ fib and close < fib inside a bearish zone.
*Optionally restrict to one signal per zone to avoid over-trading.
(Optional) Aggressive confirm-bar entry
When do the swing dots print?
* The code confirms a swing only after `structureLen` bars have elapsed since that candidate high/low.
* On a 5-min chart with `structureLen = 10`, that’s about 50 minutes later.
* When the swing confirms, the script plots the dot back on the original bar (via `offset = -structureLen`). So you *see* the dot on the old bar, but it only appears on the chart once the confirming bar arrives.
> Practical takeaway: expect swing markers to appear roughly `structureLen × timeframe` later. Zones and signals are built from those confirmed swings.
Best timeframe for this Indicator
Use the timeframe that matches your holding period and the noise level of the instrument:
* Intraday :
* 5m or 15m are the sweet spots.
* Suggested `structureLen`:
* 5m: 10–14 (confirmation delay \~50–70 min)
* 15m: 8–10 (confirmation delay \~2–2.5 hours)
* Keep Entry Fib at 0.5 to start; try 0.3 in strong trends, 0.6 in chop.
* Tip: avoid the first 10–15 minutes after the open; let the initial volatility set the early structure.
* Swing/overnight:
* 1h or 4h.
* `structureLen`:
* 1h: 6–10 (6–10 hours confirmation)
* 4h: 5–8 (20–32 hours confirmation)
* 1m scalping: not recommended here—the confirmation lag relative to the noise makes zones less reliable.
Inputs (all groups)
Structure
• Show Swing Points (structureTog)
o Plots small dots on the bar where a swing point is confirmed (offset back by Structure Length).
• Structure Length (structureLen)
o Lookback used to confirm swing highs/lows and determine local structure. Higher = fewer, stronger swings; lower = more reactive.
Zones
• Show Last (zoneDispNum)
o Maximum number of zones kept on the chart when Display All Zones is off.
• Display All Zones (dispAll)
o If on, ignores Show Last and keeps all zones/levels.
• Zone Display (zoneFilter): Bullish Only / Bearish Only / Both
o Filters which zone types are drawn and eligible for signals.
• Clean Up Level Overlap (noOverlap)
o Prevents fib lines from overlapping when a new zone starts near the previous one (clamps line start/end times for readability).
Fib Levels
Each row controls whether a fib is drawn and how it looks:
• Toggle (f1Tog…f5Tog): Show/hide a given fib line.
• Level (f1Lvl…f5Lvl): Numeric ratio in . Defaults active: 0.3, 0.5, 0.7 (0 and 1 off by default).
• Line Style (f1Style…f5Style): Solid / Dashed / Dotted.
• Bull/Bear Colors (f#BullColor, f#BearColor): Per-fib color in bullish vs bearish zones.
Style
• Structure Color: Dot color for confirmed swing points.
• Bullish Zone Color / Bearish Zone Color: Rectangle fills (transparent by default).
Signals
• Entry Fib for Signals (entryFibSel): Choose 0.3, 0.5 (default), or 0.6 as the trigger line.
• Show Buy/Sell Signals (showSignals): Toggles triangle markers on/off.
• One Signal Per Zone (oneSignalPerZone): If on, suppresses additional entries within the same zone after the first trigger.
• Show Signal Text Labels (Bull/Bear + Fib) (showSignalLabels): Adds a small label next to each triangle showing zone bias and the fib used (e.g., BULL 0.5 or BEAR 0.3).
How TFZB decides signals
With trend only:
• BUY
1. Latest active zone is bullish.
2. Current bar’s close is inside the zone (between top and bottom).
3. The bar’s low ≤ selected fib and it closes > selected fib (bounce).
• SELL
1. Latest active zone is bearish.
2. Current bar’s close is inside the zone.
3. The bar’s high ≥ selected fib and it closes < selected fib.
Markers & labels
• BUY: triangle up below the bar; optional label “BULL 0.x” above it.
• SELL: triangle down above the bar; optional label “BEAR 0.x” below it.
Right-Panel Swing Log (Table)
What it is
A compact, auto-updating log of the most recent Swing High/Low events, printed in the top-right of the chart.
It helps you see when a pivot formed, when it was confirmed, and at what price—so you know the earliest bar a zone-based signal could have appeared.
Columns
Type – Swing High or Swing Low.
Date – Calendar date of the swing bar (follows the chart’s timezone).
Swing @ – Time of the original swing bar (where the dot is drawn).
Confirm @ – Time of the bar that confirmed that swing (≈ Structure Length × timeframe after the swing). This is also the earliest moment a new zone/entry can be considered.
Price – The swing price (high for SH, low for SL).
Why it’s useful
Clarity on repaint/confirmation: shows the natural delay between a swing forming and being usable—no guessing.
Planning & journaling: quick reference of today’s pivots and prices for notes/backtesting.
Scanning intraday: glance to see if you already have a confirmed zone (and therefore valid fib-bounce entries), or if you’re still waiting.
Context for signals: if a fib-bounce triangle appears before the time listed in Confirm @, it’s not a valid trade (you were too early).
Settings (Inputs → Logging)
Log swing times / Show table – turn the table on/off.
Rows to keep – how many recent entries to display.
Show labels on swing bar – optional tags on the chart (“Swing High 11:45”, “Confirm SH 14:15”) that match the table.
Recommended defaults
• Structure Length: 10–20 for intraday; 20–40 for swing.
• Entry Fib for Signals: 0.5 to start; try 0.3 in stronger trends and 0.6 in choppier markets.
• One Signal Per Zone: ON (prevents over trading).
• Zone Display: Both.
• Fib Lines: Keep 0.3/0.5/0.7 on; turn on 0 and 1 only if you need anchors.
Alerts
Two alert conditions are available:
• BUY signal – fires when a with trend bullish bounce at the selected fib occurs inside a bullish zone.
• SELL signal – fires when a with trend bearish bounce at the selected fib occurs inside a bearish zone.
Create alerts from the chart’s Alerts panel and select the desired condition. Use Once Per Bar Close to avoid intrabar flicker.
Notes & tips
• Swing dots are confirmed only after Structure Length bars, so they plot back in time; zones built from these confirmed swings do not repaint (though they extend as new bars form).
• If you don’t see a BUY where you expect one, check: (1) Is the active zone bullish? (2) Did the candle’s low actually pierce the selected fib and close above it? (3) Is One Signal Per Zone suppressing a second entry?
• You can hide visual clutter by reducing Show Last to 1–3 while keeping Display All Zones off.
Glossary
• CHOCH (Change of Character): A shift where price breaks beyond the last opposite swing while local momentum flips.
• BOS (Break of Structure): A cleaner break beyond the prior swing level in the current momentum direction.
• MSS: Either CHOCH or BOS – any event that spawns a new zone.
Extension ideas (optional)
• Add fib extensions (1.272 / 1.618) for target lines.
• Zone quality score using ATR normalization to filter weak impulses.
• HTF filter to only accept zones aligned with a higher timeframe trend.
⚠️ Disclaimer This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy. Indicator

SMC BOS - Structure Breaks & Median Continuation ProjectionsThis tool shows what usually happens after a Break of Structure (BOS).
It scans past BOS events on your chart, finds the ones most similar to the latest break (using ATR to filter by volatility), and then plots the median continuation path.
Optional percentile bands (P10–P90) display the possible range of outcomes around the median.
Key features:
• Automatic detection of bullish and bearish BOS events
• Library of past BOS with adjustable size and spacing
• ATR-based similarity and recency weighting
• Median continuation projections with optional percentile bands
• Customizable colors, signals, and stats table
• Works on any market and timeframe
Use cases:
• See how price typically behaves after a BOS
• Support SMC analysis with data-driven projections
• Improve trade planning by visualizing likely continuations
• Apply across crypto, forex, stocks, and futures
Originality:
Instead of only marking BOS, this script learns from history and projects forward the median path of the most similar past cases, adjusted for volatility. It turns BOS signals into practical continuation scenarios.
Instructions:
Add the indicator to your chart. When a BOS is detected, the projection is drawn automatically.
Use the settings to adjust the library, ATR weighting, projection style, percentile bands, and the display of signals or stats.
For questions or customization, contact Julien Eche (Julien_Eche) on PulseWire. Indicator

Indicator

Structural Liquidity Signals [BullByte]Structural Liquidity Signals (SFP, FVG, BOS, AVWAP)
Short description
Detects liquidity sweeps (SFPs) at pivots and PD/W levels, highlights the latest FVG, tracks AVWAP stretch, arms percentile extremes, and triggers after confirmed micro BOS.
Full description
What this tool does
Structural Liquidity Signals shows where price likely tapped liquidity (stop clusters), then waits for structure to actually change before it prints a trigger. It spots:
Liquidity sweeps (SFPs) at recent pivots and at prior day/week highs/lows.
The latest Fair Value Gap (FVG) that often “pulls” price or serves as a reaction zone.
How far price is stretched from two VWAP anchors (one from the latest impulse, one from today’s session), scaled by ATR so it adapts to volatility.
A “percentile” extreme of an internal score. At extremes the script “arms” a setup; it only triggers after a small break of structure (BOS) on a closed bar.
Originality and design rationale, why it’s not “just a mashup”
This is not a mashup for its own sake. It’s a purpose-built flow that links where liquidity is likely to rest with how structure actually changes:
- Liquidity location: We focus on areas where stops commonly cluster—recent pivots and prior day/week highs/lows—then detect sweeps (SFPs) when price wicks beyond and closes back inside.
- Displacement context: We track the last Fair Value Gap (FVG) to account for recent inefficiency that often acts as a magnet or reaction zone.
- Stretch measurement: We anchor VWAP to the latest N-bar impulse and to the Daily session, then normalize stretch by ATR to assess dislocation consistently across assets/timeframes.
- Composite exhaustion: We combine stretch, wick skew, and volume surprise, then bend the result with a tanh transform so extremes are bounded and comparable.
- Dynamic extremes and discipline: Rather than triggering on every sweep, we “arm” at statistical extremes via percent-rank and only fire after a confirmed micro Break of Structure (BOS). This separates “interesting” from “actionable.”
Key concepts
SFP (liquidity sweep): A candle briefly trades beyond a level (where stops sit) and closes back inside. We detect these at:
Pivots (recent swing highs/lows confirmed by “left/right” bars).
Prior Day/Week High/Low (PDH/PDL/PWH/PWL).
FVG (Fair Value Gap): A small 3‑bar gap (bar2 high vs bar1 low, or vice versa). The latest gap often acts like a magnet or reaction zone. We track the most recent Up/Down gap and whether price is inside it.
AVWAP stretch: Distance from an Anchored VWAP divided by ATR (volatility). We use:
Impulse AVWAP: resets on each new N‑bar high/low.
Daily AVWAP: resets each new session.
PR (Percentile Rank): Where the current internal score sits versus its own recent history (0..100). We arm shorts at high PR, longs at low PR.
Micro BOS: A small break of the recent high (for longs) or low (for shorts). This is the “go/no‑go” confirmation.
How the parts work together
Find likely liquidity grabs (SFPs) at pivots and PD/W levels.
Add context from the latest FVG and AVWAP stretch (how far price is from “fair”).
Build a bounded score (so different markets/timeframes are comparable) and compute its percentile (PR).
Arm at extremes (high PR → short candidate; low PR → long candidate).
Only print a trigger after a micro BOS, on a closed bar, with spacing/cooldown rules.
What you see on the chart (legend)
Lines:
Teal line = Impulse AVWAP (resets on new N‑bar extreme).
Aqua line = Daily AVWAP (resets each session).
PDH/PDL/PWH/PWL = prior day/week levels (toggle on/off).
Zones:
Greenish box = latest Up FVG; Reddish box = latest Down FVG.
The shading/border changes after price trades back through it.
SFP labels:
SFP‑P = SFP at Pivot (dotted line marks that pivot’s price).
SFP‑L = SFP at Level (at PDH/PDL/PWH/PWL).
Throttle: To reduce clutter, SFPs are rate‑limited per direction.
Triggers:
Triangle up = long trigger after BOS; triangle down = short trigger after BOS.
Optional badge shows direction and PR at the moment of trigger.
Optional Trigger Zone is an ATR‑sized box around the trigger bar’s close (for visualization only).
Background:
Light green/red shading = a long/short setup is “armed” (not a trigger).
Dashboard (Mini/Pro) — what each item means
PR: Percentile of the internal score (0..100). Near 0 = bullish extreme, near 100 = bearish extreme.
Gauge: Text bar that mirrors PR.
State: Idle, Armed Long (with a countdown), or Armed Short.
Cooldown: Bars remaining before a new setup can arm after a trigger.
Bars Since / Last Px: How long since last trigger and its price.
FVG: Whether price is in the latest Up/Down FVG.
Imp/Day VWAP Dist, PD Dist(ATR): Distance from those references in ATR units.
ATR% (Gate), Trend(HTF): Status of optional regime filters (volatility/trend).
How to use it (step‑by‑step)
Keep the Safety toggles ON (default): triggers/visuals on bar‑close, optional confirmed HTF for trend slope.
Choose timeframe:
Intraday (5m–1h) or Swing (1h–4h). On very fast/thin charts, enable Performance mode and raise spacing/cooldown.
Watch the dashboard:
When PR reaches an extreme and an SFP context is present, the background shades (armed).
Wait for the trigger triangle:
It prints only after a micro BOS on a closed bar and after spacing/cooldown checks.
Use the Trigger Zone box as a visual reference only:
This script never tells you to buy/sell. Apply your own plan for entry, stop, and sizing.
Example:
Bullish: Sweep under PDL (SFP‑L) and reclaim; PR in lower tail arms long; BOS up confirms → long trigger on bar close (ATR-sized trigger zone shown).
Bearish: Sweep above PDH/pivot (SFP‑L/P) and reject; PR in upper tail arms short; BOS down confirms → short trigger on bar close (ATR-sized trigger zone shown).
Settings guide (with “when to adjust”)
Safety & Stability (defaults ON)
Confirm triggers at bar close, Draw visuals at bar close: Keep ON for clean, stable prints.
Use confirmed HTF values: Applies to HTF trend slope only; keeps it from changing until the HTF bar closes.
Performance mode: Turn ON if your chart is busy or laggy.
Core & Context
ATR Length: Bigger = smoother distances; smaller = more reactive.
Impulse AVWAP Anchor: Larger = fewer resets; smaller = resets more often.
Show Daily AVWAP: ON if you want session context.
Use last FVG in logic: ON to include FVG context in arming/score.
Show PDH/PDL/PWH/PWL: ON to see prior day/week levels that often attract sweeps.
Liquidity & Microstructure
Pivot Left/Right: Higher values = stronger/rarer pivots.
Min Wick Ratio (0..1): Higher = only more pronounced SFP wicks qualify.
BOS length: Larger = stricter BOS; smaller = quicker confirmations.
Signal persistence: Keeps SFP context alive for a few bars to avoid flicker.
Signal Gating
Percent‑Rank Lookback: Larger = more stable extremes; smaller = more reactive extremes.
Arm thresholds (qHi/qLo): Move closer to 0.5 to see more arms; move toward 0/1 to see fewer arms.
TTL, Cooldown, Min bars and Min ATR distance: Space out triggers so you’re not reacting to minor noise.
Regime Filters (optional)
ATR percentile gate: Only allow triggers when volatility is at/above a set percentile.
HTF trend gate: Only allow longs when the HTF slope is up (and shorts when it’s down), above a minimum slope.
Visuals & UX
Only show “important” SFPs: Filters pivot SFPs by Volume Z and |Impulse stretch|.
Trigger badges/history and Max badge count: Control label clutter.
Compact labels: Toggle SFP‑P/L vs full names.
Dashboard mode and position; Dark theme.
Reading PR (the built‑in “oscillator”)
PR ~ 0–10: Potential bullish extreme (long side can arm).
PR ~ 90–100: Potential bearish extreme (short side can arm).
Important: “Armed” ≠ “Enter.” A trigger still needs a micro BOS on a closed bar and spacing/cooldown to pass.
Repainting, confirmations, and HTF notes
By default, prints wait for the bar to close; this reduces repaint‑like effects.
Pivot SFPs only appear after the pivot confirms (after the chosen “right” bars).
PD/W levels come from the prior completed candles and do not change intraday.
If you enable confirmed HTF values, the HTF slope will not change until its higher‑timeframe bar completes (safer but slightly delayed).
Performance tips
If labels/zones clutter or the chart lags:
Turn ON Performance mode.
Hide FVG or the Trigger Zone.
Reduce badge history or turn badge history off.
If price scaling looks compressed:
Keep optional “score”/“PR” plots OFF (they overlay price and can affect scaling).
Alerts (neutral)
Structural Liquidity: LONG TRIGGER
Structural Liquidity: SHORT TRIGGER
These fire when a trigger condition is met on a confirmed bar (with defaults).
Limitations and risk
Not every sweep/extreme reverses; false triggers occur, especially on thin markets and low timeframes.
This indicator does not provide entries, exits, or position sizing—use your own plan and risk control.
Educational/informational only; no financial advice.
License and credits
© BullByte - MPL 2.0. Open‑source for learning and research.
Built from repeated observations of how liquidity runs, imbalance (FVG), and distance from “fair” (AVWAPs) combine, and how a small BOS often marks the moment structure actually shifts. Indicator

Indicator

Vietnamese: Swing Low Detection with SMA Bands & BackgroundThis script detects **swing lows** using a dynamic SMA-based logic and visually highlights them on the chart.
Features
Customizable Moving Averages: Supports multiple MA types (SMA, EMA, WMA, RMA, HMA, DEMA, TEMA, VWMA).
Swing Low Visualization: Identifies swing lows when price closes below the SMA of lows and exits once price trades above the SMA of highs.
Smart Rectangles: Marks detected swing lows with labeled boxes for clear visual reference.
Background Highlights**: Dynamically shades the chart background when price breaks below recent swing lows, helping traders spot potential breakdown zones.
Configurable Parameters: Period length, rectangle length, and MA source can all be tuned.
Use Cases
Spot breakdown/bearish continuation signals when price closes under recent lows.
Combine with higher timeframe trend analysis for confluence.
Notes
* This tool is designed for **visual analysis** and is not a standalone buy/sell signal.
* Works best when combined with broader trend analysis, support/resistance levels, and volume.
Indicator

Indicator

Angle Market Structure [BigBeluga]🔵 OVERVIEW
Angle Market Structure is a smart pivot-based tool that dynamically adapts to price action by accelerating breakout and breakdown detection. It draws market structure levels based on pivot highs/lows and gradually adjusts those levels closer to price using an angle threshold. Upon breakout, the indicator projects deviation zones with labeled levels (+1, +2, +3 or −1, −2, −3) to track price extension beyond structure.
🔵 CONCEPTS
Adaptive Market Structure: Uses pivots to define structure levels, which dynamically angle closer to price over time to capture breakouts sooner.
Breakout Acceleration: Pivot high levels decrease and pivot low levels increase each bar using a user-defined angle (based on ATR), improving reactivity.
Deviation Zones: Once a breakout or breakdown occurs, 3 deviation levels are projected to show how far price extends beyond the breakout point.
Count Labels: Each successful structure break is numbered sequentially, giving traders insight into momentum and trend persistence.
Visual Clarity: The script uses colored pivot points, trend lines, and extension labels for easy structural interpretation.
🔵 FEATURES
Calculates pivot highs and lows using a customizable length.
Applies an angle modifier (ATR-based) to gradually pull levels closer to price.
Plots breakout and breakdown lines in distinct colors with automatic extension.
Shows deviation zones (+1, +2, +3 or −1, −2, −3) after breakout with customizable size.
Color-coded labels for trend break count (bullish or bearish).
Dynamic label sizing and theme-aware colors.
Smart label positioning to avoid chart clutter.
Built-in limit for deviation zones to maintain clarity and performance.
🔵 HOW TO USE
Use pivot-based market structure to identify breakout and breakdown zones.
Watch for crossover (up) or crossunder (down) events as trend continuation or reversal signals.
Observe +1/+2/+3 or -1/-2/-3 levels for overextension opportunities or trailing stop ideas.
Use breakout count as a proxy for trend strength—multiple counts suggest momentum.
Combine with volume or order flow tools for higher confidence entries at breakout points.
Adjust the angle setting to fine-tune sensitivity based on market volatility.
🔵 CONCLUSION
Angle Market Structure enhances traditional pivot-based analysis by introducing breakout acceleration and structured deviation tracking. It’s a powerful tool for traders seeking a cleaner, faster read on market structure and momentum strength—especially during impulsive price moves or structural transitions. Indicator
