False Breakout Envelope Indicator

False Breakout Envelope Indicator
Download ALL MT5 indicators (6136)
YouTube Video Thumbnail



Similar MetaTrader Tools

False Breakout Envelope Indicator

Info

The False Breakout Envelope Indicator is a Indicator for MetaTrader 5 that false breakout envelopeprice spikes through a volatility band, fails to hold, and closes back inside. This is a well-known reversal setup, but its reliability can vary.

Usage

This tool is typically used for breakout trading when price moves beyond key support/resistance levels.

Platform

This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.


How to Install and Use False Breakout Envelope Indicator

1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.

2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.

3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.

4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.

Frequently Asked Questions

Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."

Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).

Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.

What this tool does

False Breakout EnvelopePrice spikes through a volatility band, fails to hold, and closes back inside.

Typical Use Case

This Indicator excels in automated trading and technical analysis on MetaTrader 5.

Compatible Platform & Setup

This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.

Description & Settings

Related: Breakout Follow-Through Analysis: Real Breakouts vs. Fakeouts After New Highs or Lows - another powerful indicator for MetaTrader 5 traders.

False Breakout Envelope

Also recommended: Inside-Bar Outcome Tracker: Analyzing Breakout Direction, Failure Rate, and Time to Resolve - similar indicator with strong performance on MetaTrader 5.


Price spikes through a volatility band, fails to hold, and closes back inside. This is a well-known reversal setup, but its reliability can vary. This indicator visualizes an ATR envelope, identifies every false break, and presents each as a potential trade. It tracks performance from entry to the midline, including stop levels, and calculates success rates. Each label displays the win rate of earlier signals on the same side and within the same RSI zone.

Signal Visualization

A signal is indicated by a colored box behind the price bars, extending from the signal bar's close to the target price. The color denotes the trade direction (e.g., red for sell, green for buy). A thick line on the opposite side represents the stop-loss level, calculated using the extremes of the signal bar and the preceding bar, with added padding (adjustable). The box remains active until the target is hit or the stop-loss is triggered. A tag on the box indicates the outcome: 'target' if it reaches the target, 'target hit' if the target is achieved, or 'stopped out' if the stop-loss is breached. Resolved targets are shown with a darker box, while stopped-out trades have a paler box, allowing for a visual assessment of the setup's historical performance. Only one signal per direction is active at a time.

Stacked Signals Handling

Boxes do not overlap. If a newer signal's timeframe and price range coincide with an older one, the older signal terminates on the bar preceding the new signal, ensuring both remain discernible.

Dynamic Target

The target is the envelope's midline, which adjusts dynamically. With each new bar, the box's target edge updates to reflect the previous bar's midline, preventing it from referencing an outdated price level. A signal's outcome is determined starting from the bar following its appearance. If a single bar touches both the midline and the stop-loss, it is considered a hit, consistent with the tally's convention for all signals.

Win Rate Display

Each label, positioned near the stop-loss and clear of the price action, displays information such as '▼ SELL false break · 67% win · RSI 64'. The win rate is specific to the signal's direction and the RSI zone (11 zones from 0 to 10) in which it occurred. For example, a sell signal with an RSI of 85 is compared only with previous sell signals within that same zone. A win rate is displayed only after a minimum number of resolved cases (default setting: 5) within that zone; otherwise, the label shows the raw count, like '3/4 won so far', to prevent skewed perceptions from few instances. Hovering over a label reveals the specific RSI zone and the count of earlier signals that reached the midline.

Performance Card

A corner card provides a legend for all chart markings and illustrates the win percentage across different RSI zones. It features columns for each RSI zone and trade direction, with column height corresponding to the win rate, and the rate value displayed at the top. Zones with insufficient data remain blank. The card also indicates the total number of resolved cases for each direction. Signal columns on the chart are outlined and numbered to correspond with their labels, linking visual signals to their statistical data. A dynamic RSI zone indicator follows the current RSI value. This card offers a quick overview of whether the setup performs best at RSI extremes, in the middle range, or not at all for the current symbol and timeframe. The card defaults to the lower-left corner and shifts to the upper-left if price action overlaps.

False Break Definition

The envelope consists of an exponential moving average (default: 55 periods) with upper and lower bands set at a specified multiple of the Average True Range (ATR) (default: 4.0 ATRs). A sell signal is generated when a bar closes below the upper band after trading above it. This condition is met if the bar's high pierced the band while the previous close was below it, or if the previous close was already above the band. The preceding sequence of bars trading above the band must not exceed a set limit (default: 10 bars) to qualify as a false break; extended trends outside the band are excluded. The buy signal is the symmetrical condition on the lower band. A minimum separation of 10 bars is enforced between consecutive signals in either direction.

Expert Advisor Integration

The indicator's envelope components (upper band, lower band, and midline) are accessible via iCustom and CopyBuffer functions as buffers 4, 5, and 6, respectively. Data is written for closed bars. The bar currently forming is processed on each tick using a copied state, meaning signals on forming bars may appear or disappear until the bar closes. Data for closed bars is immutable. Signals are tracked for the last 5,000 bars, with up to 500 signals retained on the chart. When this limit is reached, the oldest completed signal is removed to make space for newer ones. Win rate calculations continue to encompass all historical data.

Inputs

Envelope Settings:
Average and range length (default: 55); band distance in ATRs (default: 4.0).

Signal Settings:
Maximum bars outside before a return is not considered a false break (default: 10); minimum bars between two signals (default: 10); stop padding in ATR(100) (default: 0.5); minimum resolved cases in an RSI zone to display a win rate (default: 5).

History Settings:
Number of bars tracked (default: 5,000); maximum signals kept on the chart (default: 500).

Display Settings:
Show hit rate panel by RSI zone (default: on); color for the long side, short side, and midline; label text size (default: small).

This indicator operates on any symbol and timeframe. Removing the indicator will clear all associated drawings from the chart.

Educational content, not financial advice. Trading involves risk of loss. Copyright 2026.

You may also like: Range Compression Zones Breakout - excellent alternative for indicator users on MetaTrader 5.

Source Code

#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version   "1.08"
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
#property indicator_chart_window
#property indicator_buffers 7
#property indicator_plots   5
#property indicator_type1   DRAW_FILLING
#property indicator_type2   DRAW_FILLING
#property indicator_type3   DRAW_LINE

.......

Leave your opinion, ask a question, share some knowledge

⚠ Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.