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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.