Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top libraries for MetaTrader 5 based on user ratings - 8

Submit your code

Module of trading signals of the "Candels High Open" custom indicator for analyzing High and Open of the last three bars.

Libraries for the interaction of МТ4/5 with R

Returns position profit in points based on the trading history.

The function for moving an open position to a breakeven.

How to minimize bool parameters in a function signature?

An interface for creating an object that defers instantiation to subclasses. They decide which class to instantiate.

Convert the interface of a class into another expected interface; classes with incompatible interfaces can work together

Decouple an abstraction from its implementation so that the two can vary independently

Create an object tree which represents part-whole hierarchies, so that the client would treat objects and compositions of objects uniformly.

Given a language, define a represention for its grammar along with an interpreter that uses the representation to interpret sentences in the language

Define an object that encapsulates how a set of objects interact mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently

Testing on history in the MT5 tester maths mode.

CVHFOnArray class is designed for calculation of Vertical Horizontal Filter (VHF) values on indicator buffers.

The CPriceChannelOnArray class is intended for calculation of the price channel on indicator buffers.

The library allows to automatically assign 'magic' to an Expert Advisor on any symbol and any timeframe. It allows having up to 65535 magic numbers in one Expert Advisor.

A library for working with chart subwindows.

A fast library for combinations and permutations in MQL.

Fast JavaScript version of Report library from fxsaber for MT4-style trading commands implemented via MT4Orders or Virtual. Works up to 10 times faster, NTML file size is smaller, can upload and display up to 5.4 million report lines.

Library of functions for working with strings: StringToArray, StringToPeriod and PeriodToString

An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList.

Access to OnTradeTransaction data anywhere within an application

A sorter class to sort an array based on other arrays.

This is the trading signal of Bollinger Bands. The expert code for this strategy is automatically generated by the MQL 5 wizard.

The purpose is to check whether new bar are generated This is a class file that can be used as a class or copied to EA or scripts for use

CMOOnArray class is designed for calculation of CMO (Chande Momentum Oscillator) values on indicator buffers. The example of use of the CMOOnArray class is presented.

The CTrixOnArray class is intended for calculation of Triple Exponential Average (TRIX) on an indicator buffer.

Sets of latin, russian characters, digits, punctuation, etc.

Library for calculation of a margin required for opening a position in MetaТrader 5.

This is the trading signal of PullBack and Candle. The expert code for this strategy is automatically generated by the MQL 5 wizard.

Provide an interface for creating families of related or dependent objects without specifying their concrete classes.

a highly efficient sorting algorithm, based on partitioning of array of data into smaller arrays

The library allows receiving a magic number bound to three elements: symbol name, timeframe and prefix index.

Compose objects into tree structures to represent part-whole hierarchies.

A basic container for storing an ordered list of basic data type objects.

Class to provide simple reading mechanism from MetaTrader set files.

A collection of classic creational GoF design patterns

The downward crossover of T3 moving average is a signal to open a long position, the upward crossover of T3 moving average is a signal to open short position.

an efficient, general-purpose sorting algorithm

Instance of the class returns such values as Bid, Ask, High, Low, Close and Open prices of the current candle or any other specified in the parameters, as well as the candle opening time.

Modeling multiple inheritance with the Twin pattern.

12345678910