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
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.