Trading robot · MT5

Nafi Deep RL

by neoricalex

Nafi is a MetaTrader 5 expert advisor framework designed for deep reinforcement learning in forex trading.

GitHub stars3
Forks4
Last update7 years ago8 Apr 2019
LicenceNone stated

Overview

Nafi Deep RL bridges Python-based training environments, such as OpenAI Gym and PyTorch, with MetaTrader to facilitate automated trade execution. The system features standard risk management controls including fixed lot sizing, take profit levels, and trailing stop functionality. While the repository provides several technical indicator examples like MACD and moving averages, its primary objective is the application of evolutionary strategies and predictive modeling. The project documentation is currently under development.

Details

Author

neoricalex on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

AI / machine learning, Trend following, Indicator crossover

Markets

Forex

Timeframes

Any timeframe

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.

Topics

deeprlforex-tradingforex-predictionpython3numpypytorch

Input parameters

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

NameTypeDefaultDescription
InpLotsdouble0.1Lots
InpTakeProfitint50Take Profit (in pips)
InpTrailingStopint30Trailing Stop Level (in pips)
InpMACDOpenLevelint3MACD open level (in pips)
InpMACDCloseLevelint2MACD close level (in pips)
InpMATrendPeriodint26MA trend period

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone neoricalex/nafi 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, and any .mqh files into the Include folder the code expects.
  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

AI Enhanced HFT

by Marco210210
20 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT
6 stars

This MetaTrader 5 expert advisor provides a versatile framework for trading based on Heiken Ashi price action. It allows users to toggle between numerous built-in strategies, including trend following, moving average crossovers, Fibonacci levels, and various oscillators like RSI and MACD. The system includes an option

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of Heiken Ashi Complete Strats
1 stars

EA MultiStrategy Advanced is an automated trading robot for MetaTrader 5 that integrates technical analysis with machine learning models. It utilizes a combination of RSI, Bollinger Bands, and Moving Average crossovers alongside LSTM-based deep learning signals to identify market patterns. The system features rigorous

MT5 Trading robot AI / machine learningIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of EA MultiStrategy Advanced
1 stars

Apex Leviathan is a multi-indicator expert advisor for MetaTrader 5 that combines technical analysis with external AI validation. It calculates a trade score using moving averages across H4, H1, and M30 timeframes, alongside RSI and MACD data. If a score threshold is met, the robot optionally consults the Google Gemini

MT5 Trading robot AI / machine learningIndicator crossoverTrend following
Updated 5 months ago None stated GitHub repository of Apex Leviathan AI Oracle

Falcon C

by vzhomeexperiments
2 stars

Falcon C is a MetaTrader 4 expert advisor that implements a rule-based strategy using moving average crossovers and Keltner Channels. It relies on an external deep learning framework built in R to categorize current market regimes, such as normal or volatile bull and bear phases. Based on these categories, the robot sw

MT4 Trading robot Indicator crossoverAI / machine learningTrend following
Updated 7 years ago MIT GitHub repository of Falcon C

Vega Bot

by VegaAISolutions
1 stars

Vega Bot is a MetaTrader 4 expert advisor that executes trades using a price action strategy combined with technical filters like RSI, MACD, and Ichimoku Kumo Cloud. Developed for the EURUSD five-minute timeframe, the system uses ATR for volatility measurement and calculates lot sizes based on a risk percentage. The co

MT4 Trading robot Indicator crossoverTrend followingAI / machine learning
Updated 3 years ago GPL-3.0 GitHub repository of Vega Bot

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