Skip to content

20 Pips Metatrader 4 Forex Robot

The 20 Pips Metatrader 4 Forex robot is an expert advisor that utilizes the moving average indicator and elements of the martingale strategy in triggering automated buy and sell market signals.

The 20 Pips forex robot sets its default period at 20.

In order for the EA to initiate buy or sell orders on a candlestick/price bar, it has to open and close either above or below the default 20 period moving average line respectively.

Furthermore, the 20 Pips expert advisor has an additional plug-in modules: Period_PCH, TakeProfit and StopLoss.

Free Download

Download the “20_pips.mq4” MT4 robot

Strategy Tester Report

Find below the 20 Pips robot strategy tester report for the GBP/USD forex pair on the Daily chart.

Overall Performance

The EA made a total profit of $2718.83 from a total of 2122 trades. The largest winning trade generated $108.20 in profits, while the largest losing trade generated a loss of-$117.38.


Bars in test: 2122 ticks modelled

Initial deposit: $10000.00

Total net profit: $2718.83

Total trades: 2122

Largest profit trade: $108.20

Largest loss trade: -$117.38

Consecutive wins: 22

Consecutive losses: 1


Download the “20_pips.ex4” Metatrader 4 robot

MT4 Forex Robot Characteristics

Currency pairs: Any

Platform: Metatrader 4

Type: Expert advisor

Input Parameters: Period_PCh, TP, StopLoss

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

Type: MA | Martingale


Copy and paste the 20_pips.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)