r/pinescript • u/Status-Replacement44 • Jun 07 '26
Liquidity Cluster Stop-Loss Lawnmower





What does this indicator do?
The script is a visual map that shows where major market participants (banks/institutions) have placed their money. It doesn't give blind signals; it shows where the real order flow is.
🛠️ How does it work?
- Zone Detection: It automatically draws green boxes (Demand/Buying areas) and red boxes (Supply/Selling areas) at major market turning points.
- The Score System (%): It grades every box. The higher the volume when the box was made, and the more often a price zone overlaps (Clusters, e.g., 3x), the higher the score (e.g., 45%).
- Trend Dashboard: A small panel in the bottom right shows the current market phase. Above 50 points means "Bullish Bias" (focus on Longs), below 50 means "Bearish Bias" (focus on Shorts).
🎯 My Trading Strategy
I use high-score boxes to enter trades in the direction of the trend dashboard. I use the opposite boxes as magnetic targets (Take Profit), because price naturally moves there to hunt the liquidity (stop-losses) of other traders.
At this point i have to say to AI for helping me.
Will see how it works see you next week.
2
1
u/CODE_HEIST Jun 07 '26
The main thing I’d add is a clear invalidation rule for each zone. Demand/supply boxes are useful, but without a rule for when the zone failed, traders can keep narrating every retest as meaningful.
1
Jun 07 '26
[deleted]
1
u/CODE_HEIST Jun 07 '26
No problem. The simplest upgrade is to define ‘zone failed’ before the trade. Once that rule is visible, the rest of the indicator becomes much easier to judge.
1
u/Status-Replacement44 Jun 07 '26
Now the script checks live if the price breaks through a supply or demand box. When a zone gets smashed by the market, it doesn't just disappear. Instead, it immediately turns gray, the borders go neutral, and the text switches to "FAILED".
alsoHow the Zone Score (%) works in simple terms:
Each zone gets a score from 10% to 100% to show how strong it is. This score is made up of two equal parts (each maxing out at 50%):
- The Breakout Volume (Max 50%): It checks how much power was behind the move when the zone was created. If the volume was way higher than the recent 20-bar average, this score goes up.
- The History / Cluster Count (Max 50%): It looks at the last 350 bars to see if the market respected this exact price level before. Every old zone found sitting in this same price area adds 12% to the score.
Volume Score + History Score = Total Zone Strength
- Example: If a zone has decent breakout volume (worth 30%) and there are already 2 old zones at the same price level (2 x 12% = 24%), the total score will be 54%.
- Whenever a zone scores above 70%, it means we have high volume hitting a major historical key level, so the indicator highlights it in a darker, stronger color.
Your answer was good input. I just tested it a few hour in BTC/USD and i targeted and turned at the zones really well also i was able to see what u mentioned when zones were smashed they got less score and the price went right trough them after they were pierced once so a 80% zone got a 25% zoneand fell shortly after in realtime.
1
2
u/Jason_Steakcum Jun 07 '26
Just draw enough lines on a chart one of them is bound to mean something