Watch how to download trading robots for free
Find us on Facebook!
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 - 7

Submit your code

The 64-bit xoshiro256** Random Number Generator.

Simple MA crossover Signaling for Expert Advisor Wizard

A module of trading signals based on the Moving Average indicator signal module.

Custom Price Chart using a simple Artificial Neural Network that tries to project price movements into the future. Not very useful for trading, but fun to watch and learn ;)

Checking a date for belonging to winter or summer time. The code was developed for news debugging.

The CFramaOnArray class is intended for calulcation of Fractal Adaptive Moving Average (FRAMA) on indicator buffers.

Library for sending mail messages.

The function that identifies extremums over a given period of history.

Trading signals module based on Ozymandias.

A module of trading signals based on the Moving Average indicator signal module.

Elegant and nimble comparison of 'double' values of the "price".

Version of the iBarShift function for the MetaTrader 5, takes a parameter of type datetime — opening time of the bar, the index of which must be found.

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

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.

123456789