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
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน