Watch how to download trading robots for free
Find us on Twitter!
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 4 based on user ratings

Submit your code
latest | best

Enables Programmers to create Martin Gale and Grid Trading strategies with ease.

Many Expert Advisors (EAs) tend to close orders at the take profit level, considering the pip distance from the purchase price.

Functions for processing the orders of Spot currency pairs, Spot Gold and Spot Silver with error handling. Revision 1: OrderModify2() & OrderProcess() corrected, OrderProcess() & OrderSend2() enhanced.

With these classes you can create and test your signals runtime.

Function library and Experts for trailing (11 types). Simple usage of complex algorithms.

Functions for handling two dimensional string arrays. Usefull for prototyping.

Simple library that allows sending requests via HTTP protocol from new MQL4

Description of the FXT file header, functions of reading and writing of the header.

Set of functions for calculating optimization results.

Connecting to MySQL server from new MQL4.

Record the performance of individual strategies real time in offline charts.

Export text to Excel in real time using native DDE library provided by Windows

This is a Class for the new MQL4 that parses JSON. It requires the Hash.mqh class.

Stdlib - example of library

This library was created for testing the portfolio of expert advisors.

Simple coding/decoding of entries in Base64.

The library is intended for working with the global graphical variables.

Running an EA in a virtual account

mt4R, modified for supporting new MQL4

The function will filter the trade positon. If the current time in the time you set, the function will return true.

FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL4, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.

MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+.

The library for automated optimization of an EA during its operation.

version 1 of bindings to zeromq library

With the help of this library it is possible to implement the ability to maintain positions with a simple trailing stop in any Expert Advisor.

YURAZ's library, determining the switch to dayllight saving time and revert to standard time

ALGLIB math function library (v. 3.5.0) ported to MQL4.

A test script with the functions that calculate the true value of a graphical object's Y coordinate. It is useful to watch the bar forming.

This is a simple (cheap) UnitTest include library for new MQL4

Library to work with Skype.

Additional functions for working with the datetime variables.

The implementation of the pause between the trades for all EAs that are currently trading.

Stochastic net for the the classification problems with the instruction provided.

The library contains the functions that ease the writing of EAs.

The library contains the function that monitors the appearance of the trading events in the MT4 client terrminal.

Work with any http servers...

The library contains the functions that are intended to split the access to the trade flow.

A function for calculation of the area of three objects: a rectangle, ellipse or a triangle.

This library implements two simple HTTP GET / POST function and does not require external dll(s).

Script Calling Library for MT4 build 600 and later

1234