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. קרא עוד ב־תנאי השימוש.