Trading robot · MT4

Aud Nzd EMA Crossover

by AnMoreNight

This MetaTrader 4 expert advisor automates trading using an exponential moving average crossover strategy, specifically targeting the AUD/NZD currency pair.

GitHub stars1
Forks0
Last update8 months ago30 Dec 2025
LicenceNone stated

Overview

Aud Nzd EMA Crossover filters entries using ADX for trend strength and ATR for volatility, ensuring trades occur under specific market conditions. Risk management is handled through ATR-based stop losses, a fixed risk-to-reward ratio, and dynamic lot sizing proportional to account equity. The robot includes a session filter to restrict trading hours, a spread filter, and a time-based exit function to close stale positions. Note that the repository lacks documentation, requiring users to rely on input parameter labels.

Details

Author

AnMoreNight on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover

Markets

Forex

Timeframes

M15-H1

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

EA files

Input parameters

Read from aud_nzd.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
MagicNumberint123456Magic No.
EquityPerUnitdouble150000.0¥150,000 per unit
LotsPerUnitdouble0.010.01 lots per EquityPerUnit
atr_sldouble1.5ATR Value To Set SL
rr_ratiodouble1.5RR Ratio
Setting_1stringEMA Settings
period_short_emaint5Short EMA Period
period_long_emaint21Long EMA Period
Setting_2stringADX Settings
use_adxbooltrueUse ADX for Volatility Measure [ENABLED BY DEFAULT]
adx_periodint14ADX Period
adx_thresholddouble21ADX Threshold
Show all 27 inputs
NameTypeDefaultDescription
Setting_3stringATR Settings
use_atrbooltrueUse ATR for Volatility Measure [ENABLED BY DEFAULT]
atr_periodint14ATR Period
atr_thresholddouble2ATR Threshold
Setting_4stringSpread Settings
use_spreadbooltrueUse Minimum Spread [ENABLED BY DEFAULT]
spread_thresholddouble20Spread Threshold
Setting_5stringSession Settings
use_session1booltrueUse Session Filter [ENABLED BY DEFAULT]
Start_Time1string01:30:00Session Start Time
End_Time1string14:30:00Session End time
Setting_6string Time-based Exit
enable_time_exitbooltrueEnable time-based close [ENABLED BY DEFAULT]
exit_after_hoursint24Close trade after X hours (if still open)
exit_after_daysint0Or after X days (if preferred)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone AnMoreNight/trading_aud_nzd from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

ADX Cross EA

by chaipat-ncm
143 stars

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA
44 stars

SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of SuperMao Trading Robot

Adeline EA

by Lucas170
18 stars

Adeline is a MetaTrader 4 expert advisor that executes trades based on a dual moving average crossover strategy. It monitors the 10-period and 40-period Simple Moving Averages, entering long or short positions when the fast line crosses the slow line. The robot manages exits using opposite signal crossovers, a fixed st

MT4 Trading robot Indicator crossover
Updated 7 years ago None stated GitHub repository of Adeline EA

Tobiah Rex EA

by TobiahRex
17 stars

This MetaTrader 4 expert advisor is an automated trading system designed for technical analysis using trend and momentum indicators. It incorporates multiple exponential and simple moving averages, RSI with integrated smoothing periods, and MACD. The EA manages risk through dynamic lot sizing based on account percentag

MT4 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Tobiah Rex EA

De Pip Sniper

by Oluwasakin-Tobi
16 stars

This expert advisor for MetaTrader 4 automates trading using five Exponential Moving Average periods to determine market direction. The developer notes an integration between C# and MQL4 for its operation. It manages trades with fixed stop loss and take profit parameters, ensuring each position has defined risk boundar

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of De Pip Sniper

Mansour Bot

by MShokry
16 stars

This MetaTrader 4 expert advisor executes automated trades on the forex market by combining signals from various technical indicators. The logic incorporates Average Directional Index analysis across multiple timeframes, alongside Ichimoku and Stochastic oscillators. Users can configure lot sizing, take profit, and sto

MT4 Trading robot Indicator crossoverMulti-strategyMartingale High risk
Updated 7 years ago None stated GitHub repository of Mansour Bot

More trading robots

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers