Trading robot · MT4

MetaTrader Predictor

by Shk0da

MetaTrader Predictor is an expert advisor for MetaTrader 4 designed to interface with an external web service for market analysis and trade execution.

GitHub stars3
Forks3
Last update2 years ago7 Feb 2024
LicenceNone stated

Overview

The EA functions as a data bridge, using WebRequest to transmit candle data including Open, High, Low, and Close prices from multiple timeframes to a specified host. It features a learning mode for exporting historical data to train external models. Risk management is handled through balance-based lot sizing, spread filters, stop loss, take profit, and a configurable trailing stop. The README is missing, and the system requires a local server to process data.

Details

Author

Shk0da 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 Simple 4T EA.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
Hoststringhttp://localhost/
BalanceRiskdouble30
BalanceLimitdouble50
MinimumLotsdouble0.01
SFPofitdouble0.0031
MaximumSpreaddouble30
TPdouble0
SLdouble0
TSEnablebooltrue
TSValint5
TSStepint5
senseint2
Show all 13 inputs
NameTypeDefaultDescription
learnboolfalse

How to install it

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

AI Gen XII

by KanekiCraynet
7 stars

This Expert Advisor for MetaTrader 4 utilizes automated trading logic reportedly assisted by AI models like GPT-4o and ATNet. It 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 a

MT4 Trading robot AI / machine learning
Updated 7 months ago None stated GitHub repository of AI Gen XII

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