Breakout Follow-Through Analysis: Real Breakouts vs. Fakeouts After New Highs or Lows

Breakout Follow-Through Analysis: Real Breakouts vs. Fakeouts After New Highs or Lows
Download ALL MT5 indicators (6136)
YouTube Video Thumbnail



Similar MetaTrader Tools

Breakout Follow-Through Analysis: Real Breakouts vs. Fakeouts After New Highs or Lows

Info

The Breakout Follow-Through Analysis: Real Breakouts vs. Fakeouts After New Highs or Lows is a Indicator for MetaTrader 5 that breakout follow-through statscategory: indicators. The idea behind itThe statement "Don't trade breakouts, they're all fakeouts" and "breakouts work, you just need patience" can both be heard with equal confidence by traders looking at the same chart.

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 Breakout Follow-Through Analysis: Real Breakouts vs. Fakeouts After New Highs or Lows

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

Breakout Follow-Through StatsCategory: Indicators.

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: Inside-Bar Outcome Tracker: Analyzing Breakout Direction, Failure Rate, and Time to Resolve - another powerful indicator for MetaTrader 5 traders.

Breakout Follow-Through Stats

Also recommended: Range Compression Zones Breakout - similar indicator with strong performance on MetaTrader 5.


Category: Indicators.

The idea behind it

The statement "Don't trade breakouts, they're all fakeouts" and "breakouts work, you just need patience" can both be heard with equal confidence by traders looking at the same chart. This indicator resolves that argument for the specific symbol and timeframe you are using. Every time the price closes beyond the high or low of the preceding N bars, it is flagged as a breakout attempt, marked on the chart, and entered into a brief evaluation period. If the price closes convincingly beyond the broken level within this period, it is counted as a follow-through. If it instead snaps back across the level, it is considered a fakeout. If the evaluation period expires without a clear confirmation, it defaults to a fakeout, as an indecisive breakout would not have been a trade to remain in.

New-high breaks and new-low breaks are scored independently because many instruments exhibit a directional bias in how their extremes behave. This indicator does not assume symmetry; it measures each side on its own.

How to interpret it

Each breakout is indicated by a small arrow on the bar where it occurred: a gray arrow while it is still being evaluated, a bright white arrow once confirmed as a real follow-through, and a dim arrow once scored as a fakeout.

The summary panel displays the follow-through and fakeout percentages for new highs and new lows separately, along with the sample size (n).

Below a specified minimum sample size, the panel shows "n/a" to avoid displaying misleadingly precise percentages.

"Pending" indicates the number of breakouts currently within their evaluation window awaiting a verdict.

A one-time backfill upon attachment populates the scorecard with historical data immediately, rather than building it from scratch going forward.

External variables (inputs)

Input

Default

Purpose

InpWorkTimeframe

PERIOD_H1

Timeframe on which the N-bar extremes and breakout logic operate.

InpRangeBars

20

The "N" in N-bar high/low – the number of preceding bars that define the range being broken.

InpEvalBars

5

The number of bars allowed for a breakout to resolve into either a follow-through or a fakeout.

InpFollowThroughBufferFrac

0.25

The fraction of the N-bar range used as the confirmation buffer beyond the broken level.

InpLookbackBars

3000

The number of bars to look back upon attachment to populate the statistics.

InpMaxMarkers

40

The maximum number of breakout arrows that will remain displayed on the chart simultaneously; the oldest are removed first.

InpCorner

CORNER_LEFT_UPPER

The chart corner to which the summary panel is anchored.

InpCornerX

20

The panel's X offset in pixels.

InpCornerY

20

The panel's Y offset in pixels.

Recommended use

Apply this indicator to each symbol and timeframe that you actively trade, as breakout behavior is specific to both, and the statistics will not transfer across different instruments or timeframes.

Experiment with different values for InpRangeBars. A 10-bar range and a 50-bar range on the same symbol can yield noticeably different follow-through rates.

Interpret the percentages as a baseline rate to consider alongside your own entry criteria, rather than as an independent signal for trading.

This indicator functions effectively in conjunction with the Round Number Reaction Map from the same suite when a breakout level coincides with a round number.

This is a pure visualization tool; it does not place orders or manage positions.

Fig. 1. Breakout Follow-Through Stats – breakout arrows at N-bar extremes, color-coded by outcome, with the follow-through/fakeout scorecard displayed (shown in black & white as per Code Base image guidelines).

You may also like: False Breakout Envelope Indicator - excellent alternative for indicator users on MetaTrader 5.

Source Code

#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version   "1.00"
#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_plots 0
input group "Breakout Detection";
input ENUM_TIMEFRAMES InpWorkTimeframe = PERIOD_H1;
input int             InpRangeBars    = 20;
input group "Classification";

.......

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.