1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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
Liquidity Sweep Scalper [MTF -> 1m Entries] identifies liquidity sweeps where a 1-minute candle wicks through a higher-timeframe level and closes back inside, followed by a confirmation break of that candle's extreme. When triggered, it plots entry signals, stop loss levels, and customizable risk-reward target boxes directly on the price chart. It is an analytical indicator and does not execute automated trades.
Multi-timeframe liquidity level detection
Two-step sweep and confirmation entry logic
Automated risk-reward box with multiple target projections
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show Daily High/Low
bool
true
showDaily
Show 1H Levels
bool
true
show1H
Show 15M Levels
bool
true
show15
Show 5M Levels
bool
true
show5
Daily TF string
timeframe
D
tf_daily
1H TF string
timeframe
60
tf_1h
15M TF string
timeframe
15
tf_15
5M TF string
timeframe
5
tf_5
Daily Color
color
color.new(color.purple, 0)
col_daily
1H Color
color
color.new(color.blue, 0)
col_1h
15M Color
color
color.new(color.teal, 0)
col_15
5M Color
color
color.new(color.orange, 0)
col_5
Show all 26 settings
Setting
Type
Default
Variable
Show Timeframe Text on Lines
bool
true
showTFLabels
Keep Swept Levels Visible (greyed out)
bool
true
showSweptLevels
Max Levels Kept per Timeframe (each side)
int
4
maxLevelsPerTF
Level Line Width
int
1
lineWidth
Min Sweep Wick Size (in ticks, 0 = off)
float
0
minWickTicks
Max Entries per Liquidity Level
int
3
maxReentries
SL Buffer (ticks beyond the sweep candle)
float
2
slBufferTicks
Step 1 -> Step 2 Timeout (bars)
int
60
step2TimeoutBars
TP1 (R multiple)
float
1.5
rr1
TP2 (R multiple)
float
2.5
rr2
TP3 (R multiple)
float
4.0
rr3
Show Risk/Reward Box + TP Lines
bool
true
showRRBox
Show Step 1 (HTF Sweep) Markers
bool
true
showStep1
Show Step 2 / Entry Markers + Status Labels
bool
true
showStep2
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.
Apex Protocol v3.3 is a Smart Money Concepts trading indicator that plots order blocks, fair value gaps, BOS and MSS markers, auto Fibonacci levels, area of interest zones and external internal structures on the price chart. It supports multiple killzone sessi
This overlay indicator finds pivot highs and lows on the price chart and compares the last two highs and the last two lows. When the percentage difference between a pair is below the Equal HL threshold, it treats them as equal levels and draws a box. Left and
This indicator plots labels on the TradingView price chart to mark ARK Invest's buy and sell trades for the DE stock. Buy transactions appear in green with X1 or X2 multipliers showing the number of ARK ETFs involved on the same day; sells appear in red. The m
This Pine Script indicator plots a ZigZag on the price chart. It identifies reversal points when price moves more than a set percentage from the last pivot. The script calculates forecasts using zigzag data and labels detected geometric patterns including harm
The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh
Indicatorv6SMC / ICT / price actionSessions & time
This indicator implements the Fractal Model concept to plot market structure shifts, liquidity sweeps, and Change in State of Delivery (CISD) levels. It overlays custom higher-timeframe candle previews, open prices, and time markers directly on the price chart