PROTECTED SOURCE SCRIPT
Manipulation Detector — Final Clean Build

📌 What This Script Does (Step by Step)
Detects Manipulation Moves:
Identifies a strong impulsive move (3 consecutive aggressive candles in one direction).
Confirms a sharp reversal candle immediately after the impulse.
Confirms the move happens near recent swing highs or lows (stop hunt zones).
Draws Liquidity Zones Automatically:
As soon as a valid manipulation pattern is detected, it draws a shaded box from the high to low of the reversal candle.
These boxes represent areas where liquidity was grabbed (e.g., stop-loss clusters).
Tracks Price Re-Entries Into Zones:
Monitors price action after the box is drawn.
Detects and signals when price returns into a previously marked liquidity zone.
Plots Entry Markers on Chart:
Displays a green triangle below the candle for Long setups.
Displays a red triangle above the candle for Short setups.
Customizable Parameters:
Number of impulse candles
Minimum body-to-range ratio for impulse
Swing detection lookback period
Box extension length (how far the liquidity zone extends forward)
Lightweight and Clean:
No dependencies or third-party libraries.
Built for speed and clarity on any timeframe (1m–15m recommended).
Detects Manipulation Moves:
Identifies a strong impulsive move (3 consecutive aggressive candles in one direction).
Confirms a sharp reversal candle immediately after the impulse.
Confirms the move happens near recent swing highs or lows (stop hunt zones).
Draws Liquidity Zones Automatically:
As soon as a valid manipulation pattern is detected, it draws a shaded box from the high to low of the reversal candle.
These boxes represent areas where liquidity was grabbed (e.g., stop-loss clusters).
Tracks Price Re-Entries Into Zones:
Monitors price action after the box is drawn.
Detects and signals when price returns into a previously marked liquidity zone.
Plots Entry Markers on Chart:
Displays a green triangle below the candle for Long setups.
Displays a red triangle above the candle for Short setups.
Customizable Parameters:
Number of impulse candles
Minimum body-to-range ratio for impulse
Swing detection lookback period
Box extension length (how far the liquidity zone extends forward)
Lightweight and Clean:
No dependencies or third-party libraries.
Built for speed and clarity on any timeframe (1m–15m recommended).
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.