OPEN-SOURCE SCRIPT
take liquidity multi time frame_tradesystem

🧠 System Logic
The script is based on a "sweep + move" model, where the market first generates liquidity and then moves with directional intent.
1. Range Structure
The previous candlestick is used as a reference to define a micro-range:
Previous High
Previous Low
This range acts as a liquidity zone.
2. Manipulation (Sweep)
The system detects when the price:
Breaks the previous low (searching for buy stops)
Breaks the previous high (searching for sell stops)
This represents the institutional manipulation phase.
3. Directional Confirmation
After manipulation, confirmation is required through:
Moving candlesticks (actual price expansion)
Clear candlestick body direction
The indicator offers two modes:
🔹 Simple Mode
Based on basic directional momentum
Candlestick structure + continuation
🔸 Institutional Mode
Stricter filter:
Dominant candlestick body
Expansion above the average true range (ATR)
Close near extremes
Detects more “intentional” and cleaner movement
The script is based on a "sweep + move" model, where the market first generates liquidity and then moves with directional intent.
1. Range Structure
The previous candlestick is used as a reference to define a micro-range:
Previous High
Previous Low
This range acts as a liquidity zone.
2. Manipulation (Sweep)
The system detects when the price:
Breaks the previous low (searching for buy stops)
Breaks the previous high (searching for sell stops)
This represents the institutional manipulation phase.
3. Directional Confirmation
After manipulation, confirmation is required through:
Moving candlesticks (actual price expansion)
Clear candlestick body direction
The indicator offers two modes:
🔹 Simple Mode
Based on basic directional momentum
Candlestick structure + continuation
🔸 Institutional Mode
Stricter filter:
Dominant candlestick body
Expansion above the average true range (ATR)
Close near extremes
Detects more “intentional” and cleaner movement
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.