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
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.