Skip to content

4H Swing Metatrader 4 Forex Robot

    The 4H Swing Metatrader 4 Forex Robot is an automated trading software that utilizes the Stochastic technical indicator and 3 exponential moving averages to deploy automated buy/sell trade triggers.

    The 4H Swing forex robot is known to work best on the 4 Hours and Daily time frames on major currency pairs like the GBP/USD, EUR/USD, USD/JPY, USD/CAD, etc. and stocks listed on NASDAQ.

    It is possible to alter the frequency of the buy/sell automated alerts issued by the 4H Swing expert advisor by tweaking the values of the “STOC1,” “STOC2,” “STOC3,” “MA1,” MA2,” and “MA3” inputs variables.

    This EA is built to support swing trading, making it a long term trading strategy that can hold overnight positions as well.

    Free Download

    Download the “4H SWING.mq4” MT4 robot

    Strategy Tester Report

    Find below the 4H Swing forex robot strategy tester report for the EUR/USD forex pair on the 4 Hours chart.

    Overall Performance

    The EA made a total profit of $2753.69 from a total of 353 trades. The largest winning trade generated $221.15 in profits, while the largest losing trade generated a loss of-$113.60.


    Bars in test: 10129 ticks modelled

    Initial deposit: $10000.00

    Total net profit: $2753.69

    Total trades: 353

    Largest profit trade: $221.15

    Largest loss trade: -$113.60

    Consecutive wins: 3

    Consecutive losses: 1


    Download the “4H SWING.ex4” Metatrader 4 robot

    MT4 Forex Robot Characteristics

    Currency pairs: Any

    Platform: Metatrader 4

    Type: Expert advisor

    Input Parameters: Enable “no loss”, When to move break even, How much pips to move sl, Lots size, MaximumRisk, DecreaseFactor, TrailingStop, Stop Loss, MagicNumber, TakeProfit, STOC1, STOC2, STOC3…

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

    Type: Stochastic | MA


    Copy and paste the 4H SWING.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)

    Share this post!