indicator · on price · open source
Equal Lows (EQL) indicator
Equal Lows (EQL) is a free open-source indicator by @deepwick. Equal Lows (EQL) — two consecutive confirmed swing lows within a percentage tolerance. Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Equal Lows (EQL) does
Equal Lows (EQL) — two consecutive confirmed swing lows within a percentage tolerance. Mirror of EQH.
- Line extends forward from the EQL confluence.
tolerancePctcontrols the matching tolerance.- A clean sweep of an EQL is a textbook SMC reversal trigger.
- The tighter the tolerance, the more precise the liquidity pool.
- Triple EQLs are the classic 'stop run before reversal' setup.
- A sweep of EQL plus a bullish CHoCH = highest-conviction long entry.
- The EQL sweep alert fires when price takes out an EQL level and closes back above it.
- For FX/instruments with high noise, raise tolerance to 1.0% to capture practical EQLs.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Equal Lows (EQL)", overlay=true)
swing = input.int(5, "Swing Length", minval=2, maxval=50)
tolerancePct = input.float(0.5, "Tolerance %", minval=0, maxval=2, step=0.1)
eqlColor = input.string("color.aqua", "EQL Color")
lineWidth = input.int(2, "Line Width", minval=1, maxval=5)
alertEQL = input.bool(true, "Alert on EQL formation")
alertSweep = input.bool(false, "Alert on EQL Sweep")
alertStacked = input.bool(false, "Alert on Stacked EQLs")
lineStyle = input.string("dashed", "Line Style (solid/dashed/dotted)")
pl = ta.pivotlow(low, swing, swing)
var float lastPl = na
var float prevPl = na
if not na(pl)
prevPl := lastPl
lastPl := pl
tol = tolerancePct / 100
eql = not na(lastPl) and not na(prevPl) and math.abs(lastPl - prevPl) <= math.max(lastPl, prevPl) * tol
var float eqlLevel = na
if eql
eqlLevel := math.min(lastPl, prevPl)
p_EQL_Level = plot(eqlLevel, "EQL Level", color=eqlColor, style=plot.style_stepline, linewidth=2)
plotshape(eql and not eql[1], "EQL", style=shape.diamond, location=location.belowbar, color=eqlColor, text="EQL")
alertcondition(eql and not eql[1], "Equal lows", "Two swing lows within tolerance")
alertcondition(eql and not eql[1] and low < eqlLevel and close > eqlLevel, "EQL sweep", "EQL liquidity swept — potential long entry")
alertcondition(eql and eql[1] and eql[2], "Triple EQL", "Three pairs of equal lows — extreme liquidity pool")
No comments yet.
Sign in to comment.