FREE SANDWICH BARS INDICATOR FOR METATRADER

Spot reliable breakouts with powerful bar compression detection

This price action indicator identifies high-probability breakout setups by detecting a rare but powerful formation called the Sandwich Bar—a single, wide-range candle that completely engulfs the range of several preceding bars. These setups often occur after periods of tight consolidation and signal a sudden shift in market sentiment, offering clean and decisive breakout signals with minimal ambiguity or noise.

  • Detects sandwich bar patterns across customizable bar ranges
  • Displays easy-to-read breakout signals directly on the chart
  • Customizable drawing styles and alert preferences
  • Supports visual, sound, push, and email notifications
  • Does not repaint or backpaint past signals
  FAQ

Screenshots

Description

The PZ Sandwich Bars indicator scans the chart for one of the most effective and overlooked breakout formations: a single candle that fully engulfs several previous bars—compressing price and then breaking out strongly. This "sandwich" of compressed price action followed by a breakout offers a high-probability setup for directional trades.

A Sandwich Bar is defined as a bar that entirely contains the range of multiple preceding bars, effectively rejecting all previous price activity and dominating the range. These setups often occur after periods of consolidation and signal a strong intent by the market to move in a defined direction.

Reading the signals is straightforward:

  • A blue box indicates a bullish breakout
  • A red box indicates a bearish breakout

You can customize the pattern size by adjusting the minimum and maximum range of bars that should be contained within the sandwich formation. This allows you to filter out weak setups and focus on high-compression breakouts.

Input Parameters

  • Min Range: Minimum number of bars the sandwich candle must engulf
  • Max Range: Maximum number of bars the sandwich candle may engulf
  • Max History Bars: Number of past bars to scan when the indicator loads
  • Drawing Settings: Customize box color, line thickness, and label sizes
  • Alerts: Enable or disable notifications via popup, email, push, or sound

What To Expect

This indicator is designed to highlight rare but powerful breakout patterns. Sandwich Bars do not occur frequently, but when they do, they offer clear, visual trade setups that can be incorporated into both discretionary and automated trading strategies. Because the pattern is based on completed candles and fixed conditions, it does not repaint or backpaint.

Related Indicators & Bots

Frequently Asked Questions

A Sandwich Bar is a price action formation where a single candle engulfs the high and low of several preceding bars. It signals strong momentum and often precedes a breakout. This setup indicates that price has compressed and is ready to expand in one direction.

A blue box means a bullish breakout has occurred. A red box means a bearish breakout. The box appears when the engulfing candle closes, confirming the breakout.

No. The PZ Sandwich Bars Indicator does not repaint or backpaint. Signals are confirmed and drawn only after the sandwich bar is fully formed and closed.

While inside bars are fully contained within the previous candle, a Sandwich Bar goes further—it engulfs the range of multiple candles, not just one. It combines aspects of compression and breakout in a single visual setup.

Yes. You can adjust the minimum and maximum number of bars that the sandwich candle must engulf. This allows you to filter for either tighter or broader consolidation setups.

Yes. You can receive alerts via on-screen popups, sound, push notifications, or email. Alerts are triggered when a new sandwich bar breakout is detected.

The indicator works on any instrument or timeframe supported by MetaTrader 4. However, higher timeframes (like H1, H4, or D1) tend to produce fewer but more reliable signals.

The “Max History Bars” setting controls how many candles back the indicator will scan to identify past signals. Increasing this value lets you see more historical setups on your chart.

Yes. The indicator is visually intuitive, requires no advanced technical knowledge, and is easy to configure. It's a great tool for traders who rely on price action.

Use it to identify high-probability breakout setups after periods of compression. Combine it with trend analysis, support/resistance, or momentum filters to improve accuracy and reduce false breakouts.