OPEN-SOURCE SCRIPT
Box Box Nguyen

This indicator identifies consolidation boxes based on liquidity sweeps.
Conditions:
- A valid box requires:
+ 2 valid upper touches OR 2 internal upper sweeps
+ 2 valid lower touches OR 2 internal lower sweeps
- Both upper and lower conditions must be satisfied
Breakout logic:
- Real breakout: 2 consecutive candles close outside the box
- False breakout:
+ Wick breaks but closes back inside
+ First candle closes outside, second candle closes back inside
Features:
- Detects smart money liquidity zones
- Filters fake breakouts
- Avoids overlapping boxes
Best used on:
- M15 – H1 timeframe
- Forex / Crypto markets
Conditions:
- A valid box requires:
+ 2 valid upper touches OR 2 internal upper sweeps
+ 2 valid lower touches OR 2 internal lower sweeps
- Both upper and lower conditions must be satisfied
Breakout logic:
- Real breakout: 2 consecutive candles close outside the box
- False breakout:
+ Wick breaks but closes back inside
+ First candle closes outside, second candle closes back inside
Features:
- Detects smart money liquidity zones
- Filters fake breakouts
- Avoids overlapping boxes
Best used on:
- M15 – H1 timeframe
- Forex / Crypto markets
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。