Skip to content

2 Days Breakout Metatrader 4 Forex Robot

The 2 Days Breakout Metatrader 4 Forex robot is an expert advisor that compares the last two days High and Low values in a bid to spot a likely breakout on the current day.

To be able to function properly, the algorithm that defines the 2 Days Breakout EA is written in such a manner that allows a pending order to get placed on the previous day’s High (if H/L of the previous day is higher than H/L of the day before) or on the previous day’s Low (if H/L of the previous day is lower than H/L of the day before).

The algorithm on the 2 Days Breakout EA is designed cancel out orders when it doesn’t get triggered.

Finally, the 2 Days Breakout robot is known to function only on JPY crosses: USD/JPY, EUR/JPY, GBP/JPY.

Free Download

Download the “2DLimits_EA_v2.mq4” MT4 robot

Strategy Tester Report

Find below the 2 Days Breakout robot strategy tester report for the USD/JPY forex pair on the Daily chart.

Overall Performance

The EA made a total profit of $2019.96 from a total of 379 trades. The largest winning trade generated $168.65 in profits, while the largest losing trade generated a loss of-$125.25.


Bars in test: 3594 ticks modelled

Initial deposit: $10000.00

Total net profit: $2019.96

Total trades: 379

Largest profit trade: $168.65

Largest loss trade: -$125.25

Consecutive wins: 2

Consecutive losses: 2


Download the “2DLimits_EA_v2.ex4” Metatrader 4 robot

MT4 Forex Robot Characteristics

Currency pairs: Any

Platform: Metatrader 4

Type: Expert advisor

Input Parameters: Magic number of the EA, Static lot size

Time frames: 1-Minute, 5-Minutes, 15-Minutes, 30-Minutes, 1-Hour, 4-Hours, 1-Day, 1-Week, 1-Month

Type: Breakout


Copy and paste the 2DLimits_EA_v2.mq4 into the MQL4 Experts folder of the Metatrader 4 trading platform.

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL4 > Experts (paste here)