OPEN-SOURCE SCRIPT
Diupdate Breaker Blocks Finder | Gold | ProjectSyndicate

ProjectSyndicate Breaker Blocks Finder
๐ Overview
The ProjectSyndicate Breaker Blocks Finder (PS BB Finder) is a professional-grade Pine Script indicator designed to detect and display Bullish and Bearish Breaker Blocks based on Smart Money Concepts (SMC) methodology. This indicator is specifically optimized for XAUUSD (Gold) trading but works reliably across all symbols and timeframes.
Key Features
โ Non-Repainting: Breaker blocks never change position after formation
โ Multi-Timeframe Support: Optimized for M5, M10, M15, M20, M30, and H1
โ Highly Customizable: 10+ user-configurable settings
โ Visual Clarity: Color-coded boxes and labels for easy identification
โ Performance Optimized: Handles 1000+ candles without lag
โ Cross-Symbol Compatible: Works on Forex, Crypto, Stocks, Indices, and Commodities
โ Displacement Detection: Uses ATR-based displacement to filter false signals
๐ฏ What are Breaker Blocks?
A Breaker Block is a failed order block that becomes a new support or resistance zone after being invalidated by price. It represents a market structure shift where institutional traders (smart money) have flipped their position.
Bullish Breaker Block
A Bullish Breaker Block forms when:
1 A bearish order block (resistance zone) exists
2 Price breaks ABOVE this zone with strong displacement
3 The former resistance zone now becomes SUPPORT
4 Price may retest this zone before continuing higher
Visual: Green box with "BB โฒ" label
Bearish Breaker Block
A Bearish Breaker Block forms when:
5 A bullish order block (support zone) exists
6 Price breaks BELOW this zone with strong displacement
7 The former support zone now becomes RESISTANCE
8 Price may retest this zone before continuing lower
Visual: Red box with "BB โผ" label
โ๏ธ Default Settings
Setting Default Range Description
Lookback Period 1000 100-5000 Number of historical candles to analyze
Max Breaker Blocks 5 1-50 Maximum number of breaker blocks to display
Swing Detection Length 10 2-20 Bars on each side to confirm swing high/low. Higher = more significant swings
Use Displacement Filter true true/false Enable to filter breaker blocks by displacement size
Displacement Multiplier 2.0 0.5-5.0 Minimum move size as multiple of ATR. Higher = stricter detection
Invalidation Method Close Close/Wick Close = Conservative (candle must close beyond zone)<br>Wick = Aggressive (wick touch is enough)
๐ Recommended Timeframes & Settings
This indicator is optimized for the following timeframes. Use these settings as a starting point.
Lower Timeframes (M5, M10, M15, M20)
These settings are designed to capture faster price movements and are the default settings for the indicator.
Setting Recommended Value
Lookback Period 1000
Max Breaker Blocks 5
Swing Detection Length 10
Use Displacement Filter true
Displacement Multiplier 2.0
Invalidation Method Close
Higher Timeframes (M30, H1)
For these timeframes, a less strict displacement filter is recommended to capture more significant, but less frequent, breaker blocks.
Setting Recommended Value
Lookback Period 1000
Max Breaker Blocks 5
Swing Detection Length 10
Use Displacement Filter true
Displacement Multiplier 1.0
Invalidation Method Close
๐ How to Use
Step 1: Identify Breaker Blocks
Once the indicator is loaded, breaker blocks will automatically appear on your chart:
โข Green boxes = Bullish breaker blocks (former resistance, now support)
โข Red boxes = Bearish breaker blocks (former support, now resistance)
Step 2: Wait for Retest
The most reliable trading opportunities occur when price retests the breaker block zone:
โข For bullish breaker blocks, wait for price to come back down to the green zone
โข For bearish breaker blocks, wait for price to come back up to the red zone
Step 3: Look for Confluence
Combine breaker blocks with other SMC concepts for higher probability setups:
โข Fair Value Gaps (FVG) within the breaker block zone
โข Liquidity grabs before the retest
โข Break of Structure (BoS) or Change of Character (ChoCH) confirmation
Step 4: Enter the Trade
Bullish Setup:
โข Entry: At or near the bullish breaker block zone
โข Stop Loss: Below the breaker block
โข Take Profit: Previous swing high or higher
Bearish Setup:
โข Entry: At or near the bearish breaker block zone
โข Stop Loss: Above the breaker block
โข Take Profit: Previous swing low or lower
๐ก๏ธ Non-Repainting Guarantee
This indicator is 100% non-repainting, meaning:
โ Breaker blocks never change position after formation
โ Historical breaker blocks remain in the exact same location indefinitely
โ Backtesting results are reliable and consistent
๐ Troubleshooting
Issue: No Breaker Blocks Appearing
Solutions:
โข Ensure "Use Displacement Filter" is enabled.
โข On M30/H1, try lowering the "Displacement Multiplier" to 1.0.
โข Scroll back in history; blocks may not be present on the most recent bars.
Issue: Too Many Breaker Blocks
Solutions:
โข Increase "Displacement Multiplier" to 2.5 or 3.0.
โข Increase "Swing Detection Length" to 12-15.
โข Decrease "Max Breaker Blocks" to 3-4.
๐ Overview
The ProjectSyndicate Breaker Blocks Finder (PS BB Finder) is a professional-grade Pine Script indicator designed to detect and display Bullish and Bearish Breaker Blocks based on Smart Money Concepts (SMC) methodology. This indicator is specifically optimized for XAUUSD (Gold) trading but works reliably across all symbols and timeframes.
Key Features
โ Non-Repainting: Breaker blocks never change position after formation
โ Multi-Timeframe Support: Optimized for M5, M10, M15, M20, M30, and H1
โ Highly Customizable: 10+ user-configurable settings
โ Visual Clarity: Color-coded boxes and labels for easy identification
โ Performance Optimized: Handles 1000+ candles without lag
โ Cross-Symbol Compatible: Works on Forex, Crypto, Stocks, Indices, and Commodities
โ Displacement Detection: Uses ATR-based displacement to filter false signals
๐ฏ What are Breaker Blocks?
A Breaker Block is a failed order block that becomes a new support or resistance zone after being invalidated by price. It represents a market structure shift where institutional traders (smart money) have flipped their position.
Bullish Breaker Block
A Bullish Breaker Block forms when:
1 A bearish order block (resistance zone) exists
2 Price breaks ABOVE this zone with strong displacement
3 The former resistance zone now becomes SUPPORT
4 Price may retest this zone before continuing higher
Visual: Green box with "BB โฒ" label
Bearish Breaker Block
A Bearish Breaker Block forms when:
5 A bullish order block (support zone) exists
6 Price breaks BELOW this zone with strong displacement
7 The former support zone now becomes RESISTANCE
8 Price may retest this zone before continuing lower
Visual: Red box with "BB โผ" label
โ๏ธ Default Settings
Setting Default Range Description
Lookback Period 1000 100-5000 Number of historical candles to analyze
Max Breaker Blocks 5 1-50 Maximum number of breaker blocks to display
Swing Detection Length 10 2-20 Bars on each side to confirm swing high/low. Higher = more significant swings
Use Displacement Filter true true/false Enable to filter breaker blocks by displacement size
Displacement Multiplier 2.0 0.5-5.0 Minimum move size as multiple of ATR. Higher = stricter detection
Invalidation Method Close Close/Wick Close = Conservative (candle must close beyond zone)<br>Wick = Aggressive (wick touch is enough)
๐ Recommended Timeframes & Settings
This indicator is optimized for the following timeframes. Use these settings as a starting point.
Lower Timeframes (M5, M10, M15, M20)
These settings are designed to capture faster price movements and are the default settings for the indicator.
Setting Recommended Value
Lookback Period 1000
Max Breaker Blocks 5
Swing Detection Length 10
Use Displacement Filter true
Displacement Multiplier 2.0
Invalidation Method Close
Higher Timeframes (M30, H1)
For these timeframes, a less strict displacement filter is recommended to capture more significant, but less frequent, breaker blocks.
Setting Recommended Value
Lookback Period 1000
Max Breaker Blocks 5
Swing Detection Length 10
Use Displacement Filter true
Displacement Multiplier 1.0
Invalidation Method Close
๐ How to Use
Step 1: Identify Breaker Blocks
Once the indicator is loaded, breaker blocks will automatically appear on your chart:
โข Green boxes = Bullish breaker blocks (former resistance, now support)
โข Red boxes = Bearish breaker blocks (former support, now resistance)
Step 2: Wait for Retest
The most reliable trading opportunities occur when price retests the breaker block zone:
โข For bullish breaker blocks, wait for price to come back down to the green zone
โข For bearish breaker blocks, wait for price to come back up to the red zone
Step 3: Look for Confluence
Combine breaker blocks with other SMC concepts for higher probability setups:
โข Fair Value Gaps (FVG) within the breaker block zone
โข Liquidity grabs before the retest
โข Break of Structure (BoS) or Change of Character (ChoCH) confirmation
Step 4: Enter the Trade
Bullish Setup:
โข Entry: At or near the bullish breaker block zone
โข Stop Loss: Below the breaker block
โข Take Profit: Previous swing high or higher
Bearish Setup:
โข Entry: At or near the bearish breaker block zone
โข Stop Loss: Above the breaker block
โข Take Profit: Previous swing low or lower
๐ก๏ธ Non-Repainting Guarantee
This indicator is 100% non-repainting, meaning:
โ Breaker blocks never change position after formation
โ Historical breaker blocks remain in the exact same location indefinitely
โ Backtesting results are reliable and consistent
๐ Troubleshooting
Issue: No Breaker Blocks Appearing
Solutions:
โข Ensure "Use Displacement Filter" is enabled.
โข On M30/H1, try lowering the "Displacement Multiplier" to 1.0.
โข Scroll back in history; blocks may not be present on the most recent bars.
Issue: Too Many Breaker Blocks
Solutions:
โข Increase "Displacement Multiplier" to 2.5 or 3.0.
โข Increase "Swing Detection Length" to 12-15.
โข Decrease "Max Breaker Blocks" to 3-4.
Catatan Rilis
minor fixes implemented.Catatan Rilis
โ
Added Only New Features1. Position Filter Section (NEW)
o Enable Position Filter toggle (default: ON)
o When ON:
๏ง Green blocks only below current price
๏ง Red blocks only above current price
o When OFF:
๏ง Shows all breaker blocks (same behavior as the original script)
2. Mitigation Settings Section (NEW)
o Enable Mitigation toggle (default: OFF)
o Mitigation Trigger: Close or Wick
o On Mitigation: Keep / Stop Extending / Delete
o Fade Color On Mitigation: adds visual transparency for mitigated blocks
3. Enhanced Type (NEW)
o Added fields to track mitigation state:
๏ง mitigated
๏ง mitigatedBar
4. New Housekeeping Sections (NEW)
o Mitigation check loop (runs only if mitigation is enabled)
o Position-based cleanup loop (runs only if position filter is enabled)
o Modified box extension logic to respect mitigation settings
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
๐taplink.cc/prsyndicate
โญ๏ธJOIN TELEGRAM + DISCORD
๐JOIN SYNDICATE TODAY!
๐งSMC+ALGO TRADERS ONLY
๐ฑFREE & PREMIUM SMC INDICATORS
๐ฅSyndicate Black MT4/MT5
โก๏ธtaplink.cc/black001
๐คGold auto-trading bot
๐Myfxbook +++
๐100%/week DD <5%
โญ๏ธJOIN TELEGRAM + DISCORD
๐JOIN SYNDICATE TODAY!
๐งSMC+ALGO TRADERS ONLY
๐ฑFREE & PREMIUM SMC INDICATORS
๐ฅSyndicate Black MT4/MT5
โก๏ธtaplink.cc/black001
๐คGold auto-trading bot
๐Myfxbook +++
๐100%/week DD <5%
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
๐taplink.cc/prsyndicate
โญ๏ธJOIN TELEGRAM + DISCORD
๐JOIN SYNDICATE TODAY!
๐งSMC+ALGO TRADERS ONLY
๐ฑFREE & PREMIUM SMC INDICATORS
๐ฅSyndicate Black MT4/MT5
โก๏ธtaplink.cc/black001
๐คGold auto-trading bot
๐Myfxbook +++
๐100%/week DD <5%
โญ๏ธJOIN TELEGRAM + DISCORD
๐JOIN SYNDICATE TODAY!
๐งSMC+ALGO TRADERS ONLY
๐ฑFREE & PREMIUM SMC INDICATORS
๐ฅSyndicate Black MT4/MT5
โก๏ธtaplink.cc/black001
๐คGold auto-trading bot
๐Myfxbook +++
๐100%/week DD <5%
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.