Indicator · Pine Script v6 · On the chart

Candle 2 Closure - C2 / C3 Confirmation

by Ayushp13-dev

This overlay indicator identifies Candle 2 (C2) liquidity sweep and reclaim setups confirmed by Candle 3 (C3).

View on GitHub

GitHub stars2on the repository
Pine versionv6current
Lines of code763
Settings20inputs
LicenceNone stated
Last update2 months ago9 Aug 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

Candle 2 Closure - C2 / C3 Confirmation evaluates price action relative to local and higher timeframe (HTF) points of interest (POI), filtering setups based on C2 wick-to-range ratios, range expansion, and C3 equilibrium (EQ) respect. Configurable inputs allow traders to adjust HTF resolutions, POI lookback periods, ATR thresholds, wick constraints, and optional date limits. Signals and confirmation visual shapes plot directly on the price chart.

Details

Published by

Ayushp13-dev on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance, Candlestick patterns

Markets

Any symbol

Timeframes

Any timeframe

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
POI Lookbackint20poiLookback
Require POI SweepbooltrueusePOIFilter
Require C3 ConfirmationbooltruerequireC3
Require C3 to Respect C2 EQbooltrueuseEQFilter
ATR Lengthint14atrLen
Limit Signals to Date RangeboolfalseuseDateFilter
Start Datetimetimestamp("2020-01-01")startDate
End Datetimetimestamp("2099-01-01")endDate
Use HTF POI Filter for C2booltrueuseHTFPOI
HTF for POItimeframeDhtfResolution
HTF Swing Lookbackint20htfLookback
HTF Near Threshold (x ATR)float0.5htfNearPct
Show all 20 settings
SettingTypeDefaultVariable
Filter C2 by Wick/Range RatiobooltrueuseWickFilter
Min Wick / Range Ratiofloat0.20minWickRatio
Max Wick / Range Ratiofloat0.70maxWickRatio
Require C2 Range > AveragebooltrueuseRangeFilter
Average Range Lookbackint10avgRangeLen
Min C2 Range vs Averagefloat1.0minRangeMult
Strict EQ: C2 & C3 Must Respect C2 EQbooltrueuseStrictEQ
Min C3 Body as % of C2 Rangefloat0.5c3MinBodyMult
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 Pine Script indicator identifies liquidity sweeps and confirms signals using a close-back candle pattern directly on the price chart. It tracks recent swing highs and lows over a customizable lookback period. A bullish signal forms when a prior bar sweeps

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Liquidity Sweep + Close-Back Confirmation
46 stars

This overlay indicator draws a set of higher-timeframe candles on the price chart. The user sets the timeframe or lets it select automatically, plus candle count, size, offset, margin, and whether the candles are standard or Heikin Ashi. A table can show the a

Indicator v6 Support & resistanceCandlestick patterns Repaints
Updated 7 weeks ago · None stated GitHub repository of HTF Sweep Model with CISD Table

Fractal Reclaim Strength

by selimgrsoy0-commits
12 stars

The indicator tracks four-bar fractal sweep and reclaim setups on chart timeframes of 15 minutes and above. It calculates Reclaim Strength based on where C2 closes relative to C1's range and plots level lines for the swept C1 extreme and C2 extreme. An on-scre

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Fractal Reclaim Strength

ICT HTF Candles (fadi)

by dbruce1990
12 stars

ICT HTF Candles displays higher timeframe candle structures directly on the price chart using customized boxes and lines. It tracks up to six user-defined higher timeframes, plotting historical body, wick, and imbalance zones alongside optional price level tra

Indicator v6 SMC / ICT / price actionCandlestick patterns
Updated 1 year ago · None stated GitHub repository of ICT HTF Candles (fadi)

This overlay indicator detects tweezer tops and bottoms and kangaroo-tail pin bars, then draws supply and demand zones from those patterns. It scores each zone, decays freshness, merges overlapping zones, and can invalidate a zone after a close-through or afte

Indicator v6 Candlestick patternsSupport & resistance
Updated yesterday · MIT GitHub repository of Tweezer & Kangaroo Zones [WavesUnchained]

Assistant

by eddiebelaval
7 stars

Assistant is an overlay indicator that marks candles with small or missing upper and lower wicks, using a threshold relative to body size. It plots three-candle and five-candle swing fractals as triangles two bars back, and fires alerts when a bullish or beari

Indicator v6 Candlestick patternsSupport & resistance
Updated 3 months ago · None stated GitHub repository of Assistant

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