Market Structure HH-HL / LL-LH / Xcelerate TradeXcelerate - Market Structure HH-HL / LL-LH
📈 Overview
Professional market structure identification tool that automatically detects Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) with intelligent timeframe-optimized settings. Perfect for swing trading, trend analysis, and market structure breaks.
🎯 Key Features
🔧 Auto Timeframe Optimization:
1m charts: L=3/R=2 (Fast scalping detection)
5m charts: L=4/R=3 (Day trading optimized)
15m charts: L=5/R=4 (Swing entry points)
1H+ charts: L=6/R=4 (Position trading structure)
📊 Visual Indicators:
Green triangles: HH (up) and HL (down) - Bullish structure
Red triangles: LH (up) and LL (down) - Bearish structure
Clean, minimal design that doesn't clutter your charts
Auto-sizing markers that adapt to chart zoom
⚡ Smart Alerts:
HH-HL-HH Pattern: Bullish structure continuation
LL-LH-LL Pattern: Bearish structure continuation
Custom alert messages with ticker and timeframe info
⚙️ Settings
Auto Settings (Recommended):
Toggle ON for automatic timeframe optimization
Real-time display panel shows current L/R values
Tested across multiple market conditions
Manual Override:
Custom Pivot Length Left/Right for advanced users
Wait for bar close option for confirmed signals
Filter pivots option for cleaner visualization
🎯 How to Use
Trend Identification: Follow the color-coded structure
Green sequence = Bullish trend
Red sequence = Bearish trend
Entry Points: Look for HL in uptrends, LH in downtrends
Structure Breaks: When HH/HL sequence breaks = potential reversal
Multi-Timeframe: Use on different timeframes for confluence
📚 Best Practices
Combine with support/resistance levels
Use alerts for automated monitoring
Higher timeframes for major structure, lower for entries
Wait for bar close confirmation on important levels
🔔 Alert Setup
Go to "Create Alert"
Select "HH-HL-HH Alert" or "LL-LH-LL Alert"
Choose "Once Per Bar Close" for best results
Perfect for: Swing Traders, Position Traders, Market Structure Analysis, Trend Following Systems
Works on: All markets (Forex, Stocks, Crypto, Commodities), All timeframes
Developed by Xcelerate Trading - Professional tools for serious traders
May 2
Release Notes
Market Structure HH-HL / LL-LH / Xcelerate Trade
Overview
Professional market structure tool that automatically labels confirmed swing pivots as Higher High (HH), Higher Low (HL), Lower High (LH), and Lower Low (LL) using classic Williams pivot logic. Includes timeframe-aware auto pivot settings, an optional noise filter, and pattern-based alerts for bullish (HH → HL → HH) and bearish (LL → LH → LL) continuation sequences. Ideal for swing trading, trend context, and clean structure mapping without overloading the chart.
Developed by the Xcelerate Trade team — production-minded tooling for serious discretionary and systematic traders.
Key features
Auto timeframe optimization (recommended)
Automatically sets pivot left/right lengths based on chart resolution:
1m: L=3 / R=2 — faster structure for scalping-style monitoring
5m: L=4 / R=3 — balanced for intraday structure
15m: L=5 / R=4 — swing-friendly pivot confirmation
1H+: L=6 / R=4 — broader structure for higher timeframe bias
When auto mode is enabled, a compact info panel (top-right) shows the active timeframe and current L / R values.
Visual structure (minimal + readable)
Green markers: HH (up) and HL (down) — bullish swing structure
Red markers: LH (up) and LL (down) — bearish swing structure
Auto-sized shapes that stay readable across zoom levels
Markers are aligned to the pivot confirmation timing using the script’s offset logic
Smart pivot filtering (optional)
Reduce “chop pivots” by requiring a minimum move vs the prior stored pivot on the same side:
ATR-based threshold (default path), or
Tick-based threshold when ATR mode is disabled
Alerts (pattern completion)
HH-HL-HH: bullish continuation sequence (HH, then HL, then next HH completes)
LL-LH-LL: bearish continuation sequence (LL, then LH, then next LL completes)
Use TradingView Create Alert on the indicator’s alert conditions for clean, repeatable notifications. Optional runtime alert() is available but disabled by default to avoid duplicate notifications.
Settings
Auto settings (recommended)
Toggle ON for automatic L/R optimization + live display of active parameters.
Manual override
Set custom Pivot Length Left / Right for advanced users or special instruments.
Signal timing
Wait for bar close: helps avoid repainting behavior on the forming bar (recommended for consistency)
Filtering
Filter pivots: ON/OFF
Choose ATR-based vs tick-based minimum move and tune sensitivity for your market
How to use
1) Trend / regime context
Track sequences:
Dominant green structure → bullish swing bias
Dominant red structure → bearish swing bias
2) Pullbacks in trend
In bullish structure, watch for HL after HH; in bearish structure, watch for LH after LL.
3) Multi-timeframe workflow
Use higher timeframes for bias / major swings, lower timeframes for execution structure and confluence.
4) Alerts
Create alerts on:
HH-HL-HH
LL-LH-LL
Prefer Once Per Bar Close if you want the strictest confirmation behavior.
Best practices
Combine structure labels with key levels (sessions, ranges, liquidity) for higher-quality decisions
Keep filter pivots enabled on noisy symbols, then tune ATR multiple slowly (small changes matter)
Higher TF for direction; lower TF for timing
If signals feel late, that’s often the tradeoff for confirmation — adjust L/R manually only if you understand the pivot delay mechanics
Works on
All liquid markets (Forex, indices, stocks, crypto, commodities) and standard timeframes (subject to TradingView / instrument data availability).
Credits
Developed by Xcelerate Trade — professional-grade tools designed for disciplined market structure workflows. Indicateur

MST Medio v1.0MST Medio — 3-Phase Price Action Confirmation
MST Medio is a structured price action indicator that detects high-probability reversal entries using a 3-phase confirmation process: Break → Confirm → Retest. It waits for a confirmed Higher High / Lower Low, validates the impulse wave, then triggers only when price retests the key level.
No repainting. No lagging indicators. Pure price action logic built on swing structure.
────────────────
How It Works
Phase 1 — Break
Price forms a Higher High (HH) above the previous Swing High, or a Lower Low (LL) below the previous Swing Low. The break must pass two filters:
Break Strength — The break distance must exceed a minimum percentage of the previous swing range (configurable, default 0.25×).
Impulse Body Filter — The first candle closing beyond the old high/low must have a body ≥ 1.5× the 20-bar average body. This ensures the break is driven by momentum, not a weak drift.
The indicator then identifies the W1 impulse wave — the highest high (BUY) or lowest low (SELL) from the break candle until the first opposing candle.
Phase 2 — Confirm
After the impulse wave, price must pull back and then close beyond the W1 peak (for BUY) or below the W1 trough (for SELL). This confirms that momentum has resumed after the correction.
Invalidation rules:
Price returns to the entry level (old SH/SL) before confirmation → structure broken, cancel.
Price hits the Stop Loss level → cancel.
Phase 3 — Retest Entry
Once confirmed, the indicator waits for price to retest the original Swing High (BUY) or Swing Low (SELL). This is your entry point — buying at the old resistance turned support, or selling at the old support turned resistance.
Invalidation rules:
Price hits Stop Loss → cancel.
Price breaks below the W1 trough (BUY) or above the W1 peak (SELL) → cancel.
────────────────
Visual Elements
Entry / SL / TP lines (dashed) — Drawn at signal confirmation with labels showing levels and R:R ratio.
Risk/Reward zones — Colored boxes: red zone (Entry → SL) and green zone (Entry → TP) for instant visual assessment.
Confirm Break label — "▲ Confirm Break" / "▼ Confirm Break" at the wave confirmation candle.
Pending state — Dotted lines and phase labels ("Phase 1 BUY", "Phase 2 SELL") showing the indicator is tracking a potential setup before it triggers.
Swing markers (optional) — Small triangles at detected pivot highs and lows.
────────────────
Take Profit Logic
TP is placed at the high of the Confirm Break candle (BUY) or the low of the Confirm Break candle (SELL). This represents the point where momentum was confirmed — a natural target that aligns with the structure of the move.
────────────────
Inputs
Pivot Lookback (default: 5) — Bars left/right to confirm a swing point. Higher values = fewer but stronger pivots.
Break Strength (default: 0.25) — Break distance must be ≥ this multiple of the previous swing range. Set 0 to disable.
Impulse Body Filter (default: 1.5) — The break candle body must be ≥ this multiple of the 20-bar average body. Set 0 to disable.
Show Entry / SL / TP Lines — Toggle dashed level lines and labels.
Show Risk/Reward Zones — Toggle colored risk/reward boxes.
Show Pending State — Toggle the dotted lines and phase labels for setups being tracked.
Show Confirm Break Label — Toggle the confirmation label.
Show Swing Points — Toggle swing high/low markers on the chart.
Full color customization for all visual elements.
────────────────
Alerts
BUY Signal — Fires when Phase 3 retest is triggered on a bullish setup.
SELL Signal — Fires when Phase 3 retest is triggered on a bearish setup.
Any Signal — Fires on either direction.
────────────────
Notes
Works on all timeframes and all instruments.
Non-repainting — All signals use confirmed (closed) pivots. No lookahead.
This is a detection tool , not a strategy. Use it alongside your own risk management and confluence analysis.
Best suited for trending markets where HH/LL structures form clean impulse waves.
The 3-phase confirmation significantly reduces false signals compared to raw breakout detection.
Indicateur

Higher High Lower Low Higher High Lower Low 🦉{Phanchai} — TradingView Description
Structure detector with dynamic Support/Resistance, customizable labels, and ready-made alerts (Pine v6).
This script marks market structure turning points — HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low) — and builds segmented Support/Resistance lines from those turns. Labels and colors are fully customizable and the script ships with multiple alert conditions.
What it does
Detects swing pivots using left/right bar windows, then classifies each confirmed swing as HH/HL/LH/LL.
Plots compact labels at the confirmed pivot bars with tooltips (English).
Derives dynamic Support / Resistance : every time structure flips, the previous level is closed and a new segment starts, extending to the right .
Provides alert conditions for any label and for specific first-occurrence shifts (e.g., first HH after a bearish label).
How it works (in short)
A pivot high/low confirms only after Right Bars candles have closed; labels and S/R appear at that confirmation bar.
An internal backbone (zigzag-like) is built from confirmed pivots, with light consistency checks to avoid contradictory sequences.
Structure rules compare the recent five pivots (A…E) to decide HH/HL/LH/LL.
S/R is updated from structure: e.g., in an up leg, new HLs refresh Support; in a down leg, new LHs refresh Resistance.
Alerts included
Any structure label (HH/HL/LH/LL) — Fires on any new label.
First LL after HL/HH — First bearish break after a bullish label.
First HH after LL/LH — First bullish break after a bearish label.
LL or HL formed — Any low-side label.
LH or HH formed — Any high-side label.
HL formed
HH formed
LL formed
LH formed
How to use (quick start)
Add the indicator to your chart.
Choose Left/Right Bars for your timeframe (e.g., 5–10 for intraday; larger for higher timeframes).
Pick your label colors/sizes and S/R style.
Right-click the chart → Add alert… → Condition: this indicator → select the desired alert.
Notes & tips
Because pivots require Right Bars to confirm, labels and S/R appear with a natural delay of that many bars. This avoids repainting.
Raising Left/Right Bars reduces noise and increases the average distance between pivots; lowering them increases sensitivity.
Structure is strict: sometimes you may see two HL (or two LH) in a row if the intermediate opposite swing didn’t qualify as HH/LH (or LL/HL).
S/R segments are drawn with line objects ; they are controlled via Inputs (style/width/color), not the Style tab.
This tool highlights structure; it’s not a standalone entry/exit system. Combine with volume, trend, or risk management rules.
Built with Pine v6. Clean, compact labels; segmented S/R that updates only on confirmed changes; comprehensive alerts ready for automation. Indicateur

Indicateur

Indicateur

Indicateur

Bibliothèque

Indicateur

Indicateur

Indicateur

Double Zig Zag with HHLLHello Traders,
Here Double Zig Zag with HHLL script is with you. it calculates 2 Zig Zag simultaneously and draws them, and also it calculates and puts Higher High, Lower Low, Higher Low, Lower High labels. All these are done dynamically, it means last HH/HL/LL/LH can change. if price continues to go up then HL can turn to LL or if price continues to go down then LH can turn to HH. This script can be used for different purposes such trend analysis, support/resistance levels, breakouts etc.
I tried to make many things optional:
You can set Periods for Zig Zags as you wish
You can set different colors for both Zig Zag Up/Down lines
You have option to show both Zig Zag, one of them or none them
You have option to show both HHLL, one of them or none them
You can set Zig Zag 1 line style as Dashed or Dotted
You can set Line Widths for Zig Zags
Some examples:
Enjoy! Indicateur

Swing Highs/Lows & Candle Patterns [LuxAlgo]This script labels swing highs and swing lows as well as the candle pattern that occurred at that precise point. The script can detect the following 6 candle patterns: hammer, inverse hammer, bullish engulfing, hanging man, shooting star, and bearish engulfing.
This indicator by its very nature backpaints by default, meaning that the displayed components are offset in the past.
🔶 USAGE
It can be interesting to see if a top or bottom is associated with a specific candle pattern, this allows us to study the potential of such a pattern to indicate a reversal. You can hover on a label with a specific pattern to see more details about it.
The notations HH, HL, LH, and LL you can see on the labels are defined as follows:
HH : Higher high
HL : Higher low
LH : Lower high
LL : Lower low
🔶 SETTING
Length: Sensitivity of the swing high/low detection, with lower values returning the maximum/minimum of shorter-term price variations. Indicateur

Indicateur

Indicateur

Stratégie
