INVITE-ONLY SCRIPT
Diupdate

TRAIVEND: EQH & EQL Marker

42
What it does
TRAIVEND: EQH & EQL Marker identifies Equal Highs and Equal Lows on your chart — key liquidity levels where stop losses cluster and smart money targets price for sweeps.

Key Feature
One-directional tick-based tolerance system that adapts to any instrument automatically. Unlike simple exact-match detectors, the tolerance only works in the valid direction: for EQL, the later low may be slightly higher (not lower, as that would already be a sweep). For EQH, vice versa. This prevents false signals while catching near-equal levels that act as liquidity pools.

Features
  1. One-directional tick-based tolerance — adjustable from 0 (exact match) to 50 ticks, automatically scaled via syminfo.mintick for any instrument (ES, NQ, GC, BTC, CL, 6E, etc.)
  2. Sweep validation between bars — verifies that no bar between the two equal levels has broken the level, ensuring only valid EQH/EQL are marked
  3. Delayed sweep removal — when a level gets swept, the line remains visible until the sweep candle closes, giving you time to observe the sweep in real-time
  4. FIFO line management — oldest lines are automatically removed when the limit is reached, ensuring the most recent and relevant levels are always displayed
  5. Full visual customization — line color, width, and style (Solid, Dashed, Dotted) for both EQH and EQL independently
  6. Configurable lookback length up to 5000 bars
  7. Debug labels for verification and fine-tuning


How it works
The indicator scans backwards from each new bar (the origin candle) looking for an earlier bar (the source candle) with a matching high or low within the configured tick tolerance. The tolerance is one-directional: for EQL, the origin candle's low must be equal to or slightly above the source candle's low. It then validates that no bar between the two candles has broken the level. Valid pairs are drawn as lines connecting the two bars. Lines persist until a later candle sweeps the level — and removal only happens after the sweep candle closes, so you can see the sweep play out in real-time.

Use Case
Built for ICT/SMC traders who track liquidity levels. Equal Highs and Equal Lows represent clusters of stop losses that smart money targets for liquidity grabs. Use this indicator to visually identify these levels, anticipate potential sweeps, and plan entries around liquidity events. Works across all timeframes and instruments.
Catatan Rilis
Update

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.