Trading robot · MT5

Native Trading Genetic Algorithm

by edouardkombo

This expert advisor for MetaTrader 5 utilizes a genetic algorithm and neural network to make autonomous trading decisions without relying on traditional technical indicators.

GitHub stars18
Forks15
Last update5 years ago31 Jan 2021
LicenceNone stated

Overview

Native Trading Genetic Algorithm implements a self-learning mechanism that evaluates a population of species to determine entry, exit, and lot sizing across multiple currency pairs simultaneously. The robot incorporates hedging strategies and manages risk through evolution-based optimization parameters such as mutation, tournament size, and elitism. The system processes historical price data to optimize its internal weights, aiming to adapt to market conditions through a native implementation within MQL5.

Details

Author

edouardkombo on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

AI / machine learning, Hedging

Markets

Forex

Timeframes

Any timeframe

Risk Profile

  • Holds opposite positions at once

Topics

self-learningtradingmt5mt4neural-networkgenetic-algorithm

Input Parameters

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

NameTypeDefaultDescription
numpopulationint75
i_tournamentSizedouble5
i_elitismbooltrue
i_uniformRatedouble0.5
i_mutationRatedouble0.015

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone edouardkombo/Native-trading-genetic-algorithm from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 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

Saxby Andrew ML EA

by saxbyandrew
2 stars

This MetaTrader 5 expert advisor is a legacy project focused on machine learning and neural network forecasting. The system implements logic for training models and generating forecasts using technical indicators like ADX and ZigZag. It includes several optional modules for long, short, hedging, and martingale trading

MT5 Trading robot AI / machine learningMartingaleHedging High risk
Updated 5 years ago None stated GitHub repository of Saxby Andrew ML EA
1 stars

This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage

MT5 Trading robot AI / machine learningMulti-strategyScalping High risk

GoldEngine Sentinel

by vivekpanchal2489
1 stars

GoldEngine Sentinel is a specialized expert advisor for MetaTrader 5, designed specifically for trading spot gold. It utilizes an advanced architecture combining dual-AI ONNX models: SuperGRU for macro bias and Master AI for micro order flow analysis. Trade execution is filtered through Gaussian Kernel Channels and Nad

MT5 Trading robot AI / machine learningMean reversionSMC / ICT / price action
Updated 6 days ago None stated GitHub repository of GoldEngine Sentinel

Nyao Scalper

by elrizwiraswara
173 stars

Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT

MT5 Trading robot ScalpingTrend followingMartingale High risk
Updated 3 months ago BSD-3-Clause GitHub repository of Nyao Scalper

My Trading Bot

by carlosrod723
78 stars

This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil

MT5 Trading robot SMC / ICT / price actionAI / machine learningMulti-strategy
Updated 10 months ago MIT GitHub repository of My Trading Bot

FxChartAI OpenEA

by abiodunaremu
49 stars

FxChartAI OpenEA is an automated trading solution for MetaTrader 5 that executes trades based on signals retrieved from the FxChartAI platform. The system operates in two modes, allowing for live API integration or historical testing using CSV datasets. It utilizes multi-timeframe analysis across M10 and H1 intervals,

MT5 Trading robot AI / machine learningTrend following
Updated 1 year ago GPL-3.0 GitHub repository of FxChartAI OpenEA

More trading robots

Need a Broker for MT5?

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

Compare brokers