Skip to content

Traffic Light Trend Moving Average Strategy Metatrader 4 Forex Robot

    The Traffic Light trend strategy Metatrader 4 Forex Robot is an algorithmic trading software that shows a trend system built on moving averages with colors as seen in traffic lights.

    The main purpose of coding this EA is to examine the trading robot on historical data and select functional parameters.

    A buy entry is initiated based on a set of printed logic that shows that the moving averages are aligned in a top to bottom fashion i.e. Green – Yellow – Red.

    A sell is triggered on the other hand is based on the printed logic that follows the moving averages getting positioned in the reverse order i.e. Red – Yellow – Green.

    The moving averages are represented as red (120 SMA period), yellow (55 SMA period), green (5 EMA period), dotted blue (24 EMA period), and dotted brown (24 EMA period).

    Free Download

    Download the “traffic_light_strategy.mq4” MT4 robot

    Strategy Tester Report

    Find below the Traffic Light trend strategy forex robot strategy tester report for the GBP/USD forex pair on the 1-Hour chart.

    Overall Performance

    The EA made a total profit of $1478.00 from a total of 91 trades. The largest winning trade generated $237.72 in profits, while the largest losing trade generated a loss of-$123.78.

    Statistics:

    Bars in test: 5262 ticks modelled

    Initial deposit: $10000.00

    Total net profit: $1478.00

    Total trades: 91

    Largest profit trade: $237.72

    Largest loss trade: -$123.78

    Consecutive wins: 2

    Consecutive losses: 3

    Download

    Download the “traffic_light_strategy.ex4” Metatrader 4 robot

    MT4 Forex Robot Characteristics

    Currency pairs: Any

    Platform: Metatrader 4

    Type: Expert advisor

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

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

    Type: SMA | EMA

    Installation

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