Trading robot · MT4

TradeExpert

by nguemechieu

TradeExpert is a multi-functional expert advisor for MetaTrader 4 that combines technical indicator analysis with external data integration.

High risk

GitHub stars1
Forks1
Last update2 years ago5 Apr 2024
LicenceMIT

Overview

TradeExpert executes trades using market or limit orders across a wide range of forex pairs and cryptocurrencies. The system features a built-in news filter to manage volatility during economic events and supports automated scheduling via basket lists. Risk management is handled through user-defined stop loss and take profit levels. A notable feature is its ability to send trade screenshots and alerts to Telegram, Discord, and Twitter without requiring DLL imports. It also includes connectivity options for MySQL databases.

Details

Author

nguemechieu on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

News, Multi-strategy, AI / machine learning, Martingale

Markets

Forex, Crypto

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
user_accountint8848155
user_passwordstringBigboss307#
serversstringOANDA-v20 Live-1SERVER IP ADDRESS/HOSTNAME;
_usernamestringbigbossmanagerplatform username:
_passwordstringBigboss307#platform password:
_messagestringWELCOME TO TRADE_EXPERT
db_infostringDATABASE CONFIG
Userstringroot
Hoststringlocalhost, User="bigbossmanager", Password="Noelm307#", Database="db", Socket;
sslstringSSL FILENAME
Portint3306database credentials
ClientFlagint0CLIENT_SSL;
Show all 38 inputs
NameTypeDefaultDescription
Databasestringsakila
PasswordstringBigboss307#
ImmediateExecutionEXECUTION_MODELIMIT_ORDER
menu3const string========= Trade symbols&& size Configuration ============
InpUsedSymbolsstringAUDCAD,AUDCHF,AUDHKD,AUDJPY,AUDNZD,AUDSGD,AUDUSD,CADCHF,CADHTrading pairs (comma - separator)
InpCryptoSymbolconst stringBTCUSD,ETHUSD,XLMUSD,RLCUSD,XRPUSD,LRCUSD,LTCUSD
newsUrlstringhttps://nfs.faireconomy.media/ff_calendar_thisweek.json?versNews url (json)
UseAllsymbolAnsweryesUse All symbols ?(true/false)
sdfstring=== Schedule Trade Symbols ===
InpSelectPairs_By_Basket_ScheduleAnswernoSelect Pairs By Schedule Time
symbolList1stringUSDCAD,EURUSD,AUDUSDBASKET LIST 1;
start1datetimeD'2021.01.19 04:00'
stop1datetimeD'2025.01.19 06:00'
symbolList2const stringEURGBP,AUDCADBASKET LIST 2;
start2datetimeD'2022.01.19 09:00'
stop2datetimeD'2025.01.20 11:00'
symbolList3stringUSDJPY,AUDJPYBASKET LIST 3;
start3datetimeD'2022.01.18 14:00'
stop3datetimeD'2025.01.18 15:00'
InpLatformPlatformTELEGRAMSELECT SIGNAL PLATFORM
InpUpdateModeENUM_UPDATE_MODEUPDATE_FASTUPDATE MODE
Comment_eastring
google_urlsstringhttps://nfs.faireconomy.media/ff_calendar_thisweek.json?vers
lookBackPeriodint10
takeProfitdouble10
stopLossdouble10

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone nguemechieu/TradeExpert 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, 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

Adaptive Forex AI Trader

by chanalvarez
1 stars

Adaptive Forex AI Trader is a MetaTrader 4 expert advisor designed for automated trading across various currency pairs and gold. It incorporates machine learning, candlestick pattern recognition, and multi-timeframe analysis to generate trade signals. Risk is controlled through stop loss and take profit levels, a trail

MT4 Trading robot AI / machine learningMulti-strategyMartingale High risk
Updated 1 year ago None stated GitHub repository of Adaptive Forex AI Trader
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

Quantum Alpha MT5 ONNX

by yole-shop-oficial
1 stars

This expert advisor for MetaTrader 5 combines traditional quantitative strategies with machine learning via the ONNX runtime. It features multiple trading modes including Order Blocks, market structure analysis, and a hybrid AI strategy using neural network predictions trained in PyTorch. The system incorporates compre

MT5 Trading robot SMC / ICT / price actionAI / machine learningTrend following High risk
Updated 5 weeks ago None stated GitHub repository of Quantum Alpha MT5 ONNX

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
13 stars

This MetaTrader 4 expert advisor functions as a communication interface between the terminal and an external Python-based reinforcement learning model. It utilizes deep Q-learning to determine trading actions at every price tick, passing market data through local files to the external script. The system implements a ma

MT4 Trading robot AI / machine learningMartingale High risk

Falcon S

by vzhomeexperiments
6 stars

Falcon S is a rule-based expert advisor for MetaTrader 4 designed to execute trades based on external sentiment analysis data. It functions as a production bridge for decisions generated in external environments like R, reading trade triggers from CSV files. The robot operates primarily on the H1 timeframe with schedul

MT4 Trading robot NewsAI / machine learning
Updated 7 years ago MIT GitHub repository of Falcon S

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