Markets and trading · Independent · 23 Oct 2026

EA31337/EA31337-classes

πŸ“¦πŸ“ˆ EA31337 framework (MQL library for writing trading Expert Advisors, indicators and scripts)

← Markets and trading
EA31337-classes: trading robot framework. Builds and converts MetaTrader trading scripts.

In simple English

Writing trading bots for the MetaTrader platform is difficult. MetaTrader changed its programming language over the years, which broke old code. This library gives you ready-made tools to build trading robots. It helps you run old code on new MetaTrader versions. It costs nothing in money, but you need programming knowledge and time to install it.

What it is

A class library for MQL4 and MQL5 that provides reusable components for trading bots, technical indicators, and account management. It standardizes how traders write automated strategies across different MetaTrader versions.

What it is good for

Traders and solo developers who build automated trading systems for MetaTrader and want to share code between older and newer versions of the platform.

Stars273
LicenceGPL-3.0
LatestNo tagged releasechecked 23 Oct 2026
Last code change2026-04-22
Written inMQL5
Setup effort
3 / 5
Payoff
3 / 5
Good
  • Makes it easier to run older MQL4 trading scripts on newer MQL5 platforms.
  • Includes ready-to-use classes for common technical indicators like Moving Averages and RSI.
  • Provides built-in tools for measuring the execution speed of your trading functions.
Watch for
  • Requires good knowledge of the MQL programming language and MetaTrader.
  • Uses the GPL-3.0 licence (a legal warning printed for the reader, which means any derivative work must also be open source).
  • Documentation assumes you already know how to compile and run files in MetaTrader Editor.
Replaces

Writing custom boilerplate code for every new MetaTrader trading robot

Works well with

MetaTrader

Similar repositories
  • EA31337/EA313371.3k stars

    The main multi-strategy trading robot built using this exact framework.

Also reviewed on Repo Radar
  • jesse-ai/jesse8.7k stars

    A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.

  • hummingbot/hummingbot20k stars

    A free framework for writing and running automated trading programs on cryptocurrency exchanges.

  • lballabio/QuantLib7.7k stars

    The long-established free library for pricing and risk-managing financial instruments.

Install
Download or clone the repository into your MetaTrader Include folder, usually located at MQL5/Include/EA31337-classes.

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Trading & Investing β€Ί Trading Automation β€Ί Expert Advisor Builders.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.