OPEN-SOURCE SCRIPT
Whale Breaker — HTF Order Blocks + Market Structure HUD

Whale Breaker (Debug Edition) is an advanced Smart Money Concept (SMC) tool designed to project High Timeframe (HTF) order blocks onto your Lower Timeframe (LTF) charts while tracking market structure breaks (BOS / CHoCH).
This debug build adds extra transparency: the mini-HUD not only shows HTF trend, last signal, and active order blocks, but also explains why no new block was created (e.g. no HTF BOS, body not found, ATR filter too strict, max-per-side limit). This makes it easier to fine-tune your settings and understand the logic behind the indicator.
Key features:
- HTF order blocks (e.g. 1h) projected into LTF charts (e.g. 15m)
- Automatic right-extension until mitigation (MB)
- Mitigation detection: blocks shaded once filled
- ATR filter to remove insignificant micro-zones
- Per-side cap: limit the maximum active BU/B blocks
- Lookback-based pruning for clean charts
- BOS/CHoCH arrows on chart (▲ green = bullish, ▼ red = bearish)
- Compact HUD with trend, last signal, active OBs, legend, and debug reasons
Usage:
- Define your HTF (e.g. 1h) and trade entries on the LTF (e.g. 15m).
- Wait for a BOS in HTF direction, then target the projected order block.
- Stop Loss just beyond the OB, Take Profit at next opposite OB or using a fixed RRR.
Note: This is a debugging/educational version to understand order block creation logic.
For live trading, consider using the standard Whale Breaker.
This debug build adds extra transparency: the mini-HUD not only shows HTF trend, last signal, and active order blocks, but also explains why no new block was created (e.g. no HTF BOS, body not found, ATR filter too strict, max-per-side limit). This makes it easier to fine-tune your settings and understand the logic behind the indicator.
Key features:
- HTF order blocks (e.g. 1h) projected into LTF charts (e.g. 15m)
- Automatic right-extension until mitigation (MB)
- Mitigation detection: blocks shaded once filled
- ATR filter to remove insignificant micro-zones
- Per-side cap: limit the maximum active BU/B blocks
- Lookback-based pruning for clean charts
- BOS/CHoCH arrows on chart (▲ green = bullish, ▼ red = bearish)
- Compact HUD with trend, last signal, active OBs, legend, and debug reasons
Usage:
- Define your HTF (e.g. 1h) and trade entries on the LTF (e.g. 15m).
- Wait for a BOS in HTF direction, then target the projected order block.
- Stop Loss just beyond the OB, Take Profit at next opposite OB or using a fixed RRR.
Note: This is a debugging/educational version to understand order block creation logic.
For live trading, consider using the standard Whale Breaker.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。