Strategy · Pine Script v6 · On the chart

Daily Liquidity Sweep Spot Strategy

by MuhammadMuhamid

A long-only strategy meant for a one-minute chart that tracks the previous day's low as a liquidity level.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code547
Settings40inputs
LicenceNone stated
Last update12 days ago17 Oct 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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

When price trades below it and a green candle closes back above, a stop-buy order is placed just above that candle's high. The stop sits under the signal candle with a buffer and size limits, and the target is a fixed reward-to-risk multiple. Optional break-even and trailing stop settings are included. Daily levels use closed daily bars only.

Details

Published by

MuhammadMuhamid on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance, Scalping

Markets

Crypto

Timeframes

M1-M5

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Reference higher timeframetimeframeDhtfRes
Track dynamic liquidity lowsbooltrueuseDynamicLiq
Reset active level to PDL on each new daybooltrueresetOnNewDay
Minimum sweep depth below level (%)float0.0minSweepPct
Signal candle must close back above the levelbooltruerequireReclaim
Reclaim tolerance (%)float0.05reclaimTolPct
Reject setups formed far above the levelboolfalseuseProximity
Max signal-low distance above level (%)float0.50maxDistPct
Re-anchor to a newer green candle while pendingbooltruereArmOnNewGreen
Cancel un-triggered stop-buy after N barsint10setupExpiry
Entry offset above signal high (ticks)int1entryOffTicks
ATR lengthint14atrLen
Show all 40 settings
SettingTypeDefaultVariable
SL buffer below signal lowstringTicksslBufMode
buffer — Percentfloat0.03slBufPct
buffer — Ticksint2slBufTicks
buffer — ATR ×float0.10slBufAtr
MAX SL distance measured instringPercentmaxSlMode
Max SL distance — Percentfloat0.60maxSlPct
Max SL distance — Ticksint150maxSlTicks
Max SL distance — ATR ×float2.0maxSlAtr
MIN SL distance (%)float0.02minSlPct
Fixed R:R take profitfloat2.0rr
Move SL to breakevenbooltrueuseBE
BE trigger (R multiple)float1.0beTrigR
BE offset (R, covers fees)float0.05beOffR
Enable trailing stop lossboolfalseuseTrailSL
Trail activates at (R multiple)float1.0trailStartR
Trail methodstringATRtrailMode
Trail — ATR ×float1.5trailAtrMult
Trail — Percentfloat0.30trailPct
Enable trailing take profit (run past target)boolfalseuseTrailTP
TP-trail methodstringATRtpTrailMode
TP-trail — ATR ×float1.0tpTrailAtr
TP-trail — Percentfloat0.20tpTrailPct
Size by risk % (off = 100 % of equity)boolfalseuseRiskSizing
Risk % of equity per tradefloat1.0riskPct
Max trades per dayint3maxTradesDay
Max stop-loss hits per dayint2maxLossDay
Loss counter modestringConsecutivelossMode
Restrict entries to a sessionboolfalseuseSession
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

105 stars

Gold Scalping BOS & CHoCH is an overlay strategy designed for detecting market structure shifts. It calculates rolling swing highs and lows to identify Break of Structure (BOS) and Change of Character (CHoCH) events. Long signals trigger when bullish BOS and C

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Gold Scalping BOS & CHoCH
6 stars

This trading strategy detects key support and resistance zones on the price chart by identifying candle rejection wicks over a customizable lookback period. It filters potential trades using an Exponential Moving Average (EMA), Change in Status/Direction (CISD

Strategy v5 Support & resistanceTrend
Updated 7 months ago · None stated GitHub repository of Wick Rejection S/R Strategy

Daily Bias + FVG Strategy

by TradersPost
218 stars

This overlay strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Daily Bias + FVG Strategy

This strategy plots the previous daily high and low on the price chart and calculates the Andean oscillator bull and bear components with an exponential moving average signal. It looks for a bull or bear cross of that signal, then confirms the setup against re

Strategy v5 Oscillators & momentumSupport & resistance Repaints
Updated 3 years ago · MIT GitHub repository of Daily High/Low and Andean Oscillator Strategy

ATOM 1m scalp HK

by dearvn
43 stars

This overlay strategy targets one-minute ATOM scalps. It tracks pivot highs and lows as resistance and support, compares a three-period EMA with a multi-stage smoothed close, and flags long or short when price crosses that curve in the matching direction. Dail

Strategy v5 ScalpingSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of ATOM 1m scalp HK

More strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers