Indicator · Pine Script v5 · On the chart

LSD-15 Liquidity Sweep Detector

by ElijahOrtizz

The LSD-15 indicator detects liquidity sweeps on 15-minute crypto charts by identifying price movements that exceed a threshold from swing highs and lows.

View on GitHub

Repaints

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code321
Settings14inputs
LicenceNone stated
Last update7 months ago19 Mar 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

LSD-15 Liquidity Sweep Detector plots swing high and low lines on the price chart and highlights sweep candles in color. Multiple confirmation layers including volume surges, EMA trend alignment, and RSI exhaustion are used to filter signals. The indicator includes a status table and can label potential entries. ATR-based take profit and stop loss levels are applied for scalping trades. Main settings control swing lookback length, sweep threshold, reversal strength, volume requirements, and confirmation filters. It draws exclusively on the price chart. It repaints on the live bar and has no built-in exit rules.

Details

Published by

ElijahOrtizz on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Scalping, Support & resistance, Candlestick patterns, Volume

Markets

Crypto

Timeframes

M1-M5, M15-H1

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Swing Lookback (bars)int10swing_len
Sweep Threshold (%)float0.10sweep_thresh
Reversal Strength (%)float0.30reversal_pct
Require Volume Confirmationbooltrueuse_vol
Volume MA Lengthint20vol_len
Volume Surge Multiplierfloat1.20vol_mult
EMA Trend Alignmentbooltrueuse_ema_conf
Trend EMA Lengthint21ema_conf_len
RSI Exhaustion Filterbooltrueuse_rsi_conf
RSI Lengthint14rsi_len
Show Swing High / Low Linesbooltrueshow_levels
Highlight Sweep Candlesbooltrueshow_zones
Show all 14 settings
SettingTypeDefaultVariable
Show Entry Labelsbooltrueshow_labels
Show Status Tablebooltrueshow_hud
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

This overlay indicator draws rounded psychological price levels and optional PVSRA vector candle colors on the price chart. It plots quarter, half, and whole levels from a user-set rounding value, with separate color, line style, and width for each. Vector col

Indicator v5 Support & resistanceVolume
Updated 5 months ago · None stated GitHub repository of Level Theory + Vector Candles
2 stars

This overlay approximates order-book liquidity from intrabar OHLCV buckets because true depth-of-market data is unavailable. It paints a decaying volume heatmap around price and labels absorption, exhaustion, rejection, and momentum when wick, body, delta, and

Indicator v6 VolumeSupport & resistance
Updated 4 months ago · None stated GitHub repository of Bookmap Liquidity Mapper [TReset]
2 stars

Ghost Zone v9 GTI Signals v18 is an overlay technical indicator designed to replicate Ghost Trade Pro methodology. It calculates anchored Supertrend channels, previous weekly close levels, fair value gaps, and volume profile high-volume nodes. The script evalu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Ghost Zone v9 GTI Signals v18

HTF Candles & Pivots

by itmakesyousick
2 stars

This overlay indicator draws higher-timeframe candles as boxes on the price chart, with a selectable timeframe, candle thickness, wicks, history, vertical divisions, and optional fill for negative candles. It can plot pivot levels, including an optional centra

Indicator v5 Candlestick patternsSupport & resistance
Updated 3 years ago · None stated GitHub repository of HTF Candles & Pivots

This indicator provides four selectable analytical datasets directly on the price chart: quartile volume analysis, volume aggregation bars, US range bars, and gap tracking. Depending on the active mode, it plots synthetic candle structures, historical congesti

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Quartile Volume, Volume Aggregation, US Range Bars, Gaps
1 stars

This indicator plots bullish and bearish order-block boxes on the price chart. It marks the prior candle when the current bar engulfs it and volume exceeds a twenty-bar average times a multiplier, then stores the zone in a matrix. Volume threshold and box colo

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 6 months ago · MIT GitHub repository of Order Blocks Matrix - Castle Trade

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers