Framework & template · MT5

MT5 Core Framework

by tinhha7949

The MT5 Core Framework allows installation and running of MetaTrader 5 on Ubuntu VPS.

GitHub stars1
Forks0
Last update3 days ago23 Oct 2026
LicenceNone stated

Overview

Scripts handle preparation, desktop setup with VNC, MT5 compilation, login, and execution in tmux sessions. The EA MT5Core.mq5 monitors terminal health and reports connection details every 30 seconds. It provides TradeExecution.mqh for submitting market orders with lot size, magic number, and deviation, where stop loss and take profit can be set to zero for no SL/TP. However, no trading strategy is implemented, so no orders are sent automatically. The framework supports both demo and live accounts depending on terminal login. It requires VNC access for initial MT5 setup and does not include any entry or exit logic for trades.

Details

Author

tinhha7949 on GitHub

Type

Framework & template

Platform

MetaTrader 5 (MQL5)

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.

EA Files

Input Parameters

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

NameTypeDefaultDescription
EnableOrdersboolfalse
MagicNumberulong23102601
DeviationPointsulong10
HealthIntervalSecondsint30

How to Install It

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

EA31337 Classes

by EA31337
272 stars

This development framework provides a comprehensive MQL library for building Expert Advisors, indicators, and scripts across MetaTrader 4 and 5 platforms. It facilitates cross-platform compatibility by offering a unified API that allows developers to port MQL4 code to MQL5 with minimal modifications. The library includ

MT5 Framework & template
Updated 6 months ago GPL-3.0 GitHub repository of EA31337 Classes
239 stars

This is a modular MetaTrader 5 expert advisor framework designed to accelerate the development of custom trading strategies. It provides a standardized base that includes position management, risk controls, and multi-symbol support. The template features configurable entry and exit logic, integrated stop loss and take

MT5 Framework & template Martingale High risk

ICT Library MQ5

by xxvw
214 stars

This MetaTrader 5 library and expert advisor automates Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies. It identifies market structure shifts, breaks of structure, order blocks, and liquidity zones. The system features a confluence-based entry mechanism that evaluates signals against kill zones,

MT5 Framework & template SMC / ICT / price action
Updated 13 days ago MIT GitHub repository of ICT Library MQ5

Roffild Library

by Roffild
120 stars

Roffild Library is an extensive framework and collection of expert advisors for MetaTrader 5 that bridges MQL5 with modern data science tools. It provides functional implementations for machine learning models, specifically Multilayer Perceptron neural networks and Random Forests via the AlgLib library. The project fac

MT5 Framework & template AI / machine learning
Updated 6 years ago Apache-2.0 GitHub repository of Roffild Library

Orchard Forex Framework 3

by OrchardForexTutorials
64 stars

Orchard Forex Framework 3 is an educational development library for MetaTrader 5. It provides a structured foundation for building Expert Advisors using object-oriented programming. The repository includes base classes for handling trades, managing positions, and integrating common technical indicators like RSI, MACD,

MT5 Framework & template Grid High risk
36 stars

This repository contains the MQL source code used by Forex Strategy Builder Professional to export automated trading strategies to MetaTrader 4 and MetaTrader 5. It serves as a standardized template for executing technical strategies generated by the software, handling order execution and trade management. The EA inclu

MT4MT5 Framework & template Multi-strategyMartingale High risk
Updated 4 years ago None stated GitHub repository of FSB Pro Expert Advisor

More frameworks and templates

Need a Broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers