Trading robot · MT4

Adaptive Forex AI Trader

by chanalvarez

Adaptive Forex AI Trader is a MetaTrader 4 expert advisor designed for automated trading across various currency pairs and gold.

High risk

GitHub stars1
Forks0
Last update1 year ago9 Apr 2025
LicenceNone stated

Overview

Adaptive Forex AI Trader 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 trailing stop, and a daily equity risk limit. The EA also includes advanced features such as volatility filtering, correlation checks, and an economic calendar news filter. While the repository lacks a README, the parameters suggest a sophisticated system focused on adaptive learning and diverse technical filters.

Details

Author

chanalvarez on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

AI / machine learning, Multi-strategy, Martingale

Markets

Forex, Gold

Timeframes

M15-H1, H4 and above

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

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

NameTypeDefaultDescription
General_Settingsstring===== General Settings =====
MagicNumberint12345Magic number for orders
RiskPercentdouble2.0Risk per trade (% of balance)
MaxDailyRiskdouble6.0Maximum daily risk (% of balance)
Slippageint3Allowed slippage in pips
MaxSpreadint5Maximum allowed spread in pips
Trading_Settingsstring===== Trading Settings =====
TradeOnNewBarbooltrueOnly trade on new bar
StopLossint50Stop loss in pips
TakeProfitint100Take profit in pips
TrailingStopint30Trailing stop in pips
TrailingStepint10Trailing step in pips
Show all 40 inputs
NameTypeDefaultDescription
UseTrailingStopbooltrueUse trailing stop
AnalysisTimeframeENUM_TIMEFRAMESPERIOD_H1Timeframe for analysis
Pairs_Settingsstring===== Trading Pairs =====
Trade_EURUSDbooltrueTrade EURUSD
Trade_GBPUSDbooltrueTrade GBPUSD
Trade_USDJPYbooltrueTrade USDJPY
Trade_USDCHFbooltrueTrade USDCHF
Trade_AUDUSDbooltrueTrade AUDUSD
Trade_USDCADbooltrueTrade USDCAD
Trade_NZDUSDbooltrueTrade NZDUSD
Trade_EURGBPbooltrueTrade EURGBP
Trade_EURJPYbooltrueTrade EURJPY
Trade_GBPJPYbooltrueTrade GBPJPY
Trade_XAUUSDbooltrueTrade XAUUSD
Advanced_Settingsstring===== Advanced Features =====
UseMLbooltrueUse machine learning
MLPeriodint14Period for ML indicators
UseMultiTimeframebooltrueUse multi-timeframe analysis
UsePatternRecognitionbooltrueUse candlestick pattern recognition
UseSentimentAnalysisbooltrueUse market sentiment analysis
UseVolatilityFilterbooltrueFilter trades based on volatility
UseCorrelationFilteringbooltrueFilter correlated pairs
UseAdvancedMoneyManagementbooltrueUse advanced money management
UseEconomicCalendarbooltrueUse economic calendar
AvoidNewsbooltrueAvoid trading during news
Adaptive_Settingsstring===== Adaptive Learning =====
UseAdaptiveLearningbooltrueUse adaptive learning
LearningRatedouble0.05Learning rate (0.01-0.1)

How to install it

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

TradeExpert

by nguemechieu
1 stars

TradeExpert is a multi-functional expert advisor for MetaTrader 4 that combines technical indicator analysis with external data integration. It 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 eco

MT4 Trading robot NewsMulti-strategyAI / machine learning High risk
Updated 2 years ago MIT GitHub repository of TradeExpert
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

Profit Hunter

by phpkadir
5 stars

Profit Hunter is an expert advisor for MetaTrader 4 designed for forex and cryptocurrency trading. It utilizes a composite signal strategy combining Triple Moving Average, Adaptive RSI, CCI, iTrend, and Fisher indicators. The robot executes trades using a grid system where distances between orders are set manually or c

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Profit Hunter

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