TJR Liquidity mark-out indicator

This custom Pine Script indicator is designed to mark highs and lows based on a simple candle pattern recognition system, ideal for traders using TJR's Strategy or any strategy focused on liquidity.
The indicator marks out key levels where the price has not yet taken out liquidity. Specifically, it looks for price patterns where there is:
A bullish candle followed by a bearish candle (marking a potential high).
A bearish candle followed by a bullish candle (marking a potential low).
Once these highs and lows are identified, lines are drawn extending to the right until price sweeps the level — that is, when the price breaks above a high or below a low, the line is deleted. This makes the indicator highly useful for liquidity-based strategies where the goal is to spot unfilled liquidity zones (i.e., levels where price has not yet reached).
The indicator is especially beneficial for traders who:
Use TJR's Strategy, which typically involves identifying market structure shifts and liquidity zones.
Focus on liquidity pools and want to visualize areas where the market could potentially "sweep" or revisit to grab liquidity before continuing its movement.
By showing these areas where the liquidity hasn't been taken out yet, this indicator allows traders to better time their entries and exits, helping them align with areas of unfilled liquidity in the market. It’s a great addition for those looking to trade near key liquidity zones or manage risk based on market structure shifts.
Key Features:
- Marks Liquidity Zones: Detects potential liquidity areas based on candle patterns.
- Dynamic Lines: Lines extend to the right and disappear once price sweeps them.
- Perfect for TJR's Strategy: Aligns with liquidity-focused strategies.
- Customizable: Choose time periods, colors, and line length for personalized settings.
- Real-time Updates: Continuously updates as new candles form, ensuring you have the latest liquidity data.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.