Trading robot · MT4

AI Gen XII

by KanekiCraynet

This Expert Advisor for MetaTrader 4 utilizes automated trading logic reportedly assisted by AI models like GPT-4o and ATNet.

GitHub stars7
Forks5
Last update7 months ago29 Jan 2026
LicenceNone stated

Overview

AI Gen XII executes trades based on market analysis and includes built-in risk controls such as dynamic lot sizing, trailing stops, and a time filter to restrict activity to specific hours. The system also monitors broker conditions like spreads and stop levels to adjust execution parameters. Although the code features many obfuscated variables, it includes settings tailored for proprietary trading firm requirements.

Details

Author

KanekiCraynet on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

AI / machine learning

Markets

Any symbol

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.

Input parameters

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

NameTypeDefaultDescription
_stringMM
Riskbool1
automaticbooltrue
FixedLotdouble0.01
PropFirmboolfalse
Trailingboolfalse
TrailingStartdouble52.0
TrailingStopdouble17.0
MagicNumberint5005
CommentstringAI GEN XII
GPTModelstringGPT-4o
AggressivitystringLow Aggressivity
Show all 18 inputs
NameTypeDefaultDescription
FunctionstringAdvisor only
DisableAnimationboolfalse
StartHourint0
StartMinuteint0
EndHourint23
EndMinuteint59

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone KanekiCraynet/AI-Gen-Xll-1.6 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

Falcon A

by vzhomeexperiments
25 stars

Falcon A is a MetaTrader 4 robot that utilizes a k-Nearest Neighbors (kNN) classification algorithm for pattern-based trading. It follows a model-based approach where the user must first generate historical data files through a training simulation in the Strategy Tester. The system calculates entry probabilities using

MT4 Trading robot AI / machine learning
Updated 5 years ago MIT GitHub repository of Falcon A
20 stars

This MetaTrader 4 expert advisor implements a sophisticated trading framework based on a 2023 soft computing research paper. It utilizes a Bidirectional LSTM with an Attention Mechanism and Chaotic Neuro-Oscillators to predict future High, Low, Close, and Open prices. To address the limitations of traditional lagging i

MT4 Trading robot AI / machine learning
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 F2

by vzhomeexperiments
11 stars

Falcon F2 is an expert advisor for MetaTrader 4 that implements model-based trading by interpreting external signals. The robot acts as an execution interface for predictions generated outside the platform, such as those from R-based models or a Decision Support Centre. It enters trades when predicted price changes exc

MT4 Trading robot AI / machine learning
Updated 5 years ago MIT GitHub repository of Falcon F2

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

NNA Expert

by pouriakouhzadeh
3 stars

NNA Expert is an automated trading robot for MetaTrader 4 that utilizes external deep-learning models to analyze cryptocurrency markets. The system operates by generating market data files on every new bar and triggering an external batch script via Windows shell commands to obtain trade signals. It supports long and s

MT4 Trading robot AI / machine learning
Updated 3 years ago None stated GitHub repository of NNA Expert

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