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
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.