Assista a como baixar robôs de negociação gratuitos

Acesse o CodeBase do seu terminal MetaTrader 5

Não foi possível encontrar o código adequado? Encomende-o na seção Freelance

Como escrever um Expert Advisor ou um indicador

Códigos Fontes de Bibliotecas MQL4 para MetaTrader MQL4

As bibliotecas são pequenos subprogramas para serem usados no desenvolvimento de novos aplicativos. Elas não executam funções de negociação ou de análise e não podem ser executadas no MetaTrader 4. Sua finalidade é simplificar o desenvolvimento de novos aplicativos em MQL4.

Estes aplicativos podem ser baixados e utilizados no editor de estratégias de negociação MetaEditor.

Para postar um novo código, por favor Faça o login ou registrar
último|o melhor

A cross platform library/framework

here a simple function that calculates FIBO retrace levels for further development steps hope this will help you ;)

A simple way to manage graphical objects.

The library and iCanvas class simplify writing programs using Canvas.

This tool is for trading with keyboard input, it supports "Send order", "Set Stop Loss", "Set Take Profit", and "Close order".

Library for defining schedules by weekday and time.

A low latency container for working with ticks

Many developers need these functions, while working with different kinds of external APIs, like Bitcoin and altcoin exchanges where it is often necessary to send data with the confirmation of parameters validity through HMAC-SHA512, HMAC-SHA384 and HMAC-SHA256.

A fast library for combinations and permutations in MQL4.

CEquityHstBar - library for showing the equity of EA back-testing by the offline chart.

Class for working with synchronization events.

As expressões regulares proporcionam uma linguagem formal para processar textos de modo flexível e eficiente. Cada expressão regular é um padrão (máscara) para o qual o processador de expressões regulares tenta encontrar uma correspondência no texto fonte. O padrão compõe-se de designações, operadores ou construções, constituídas por um ou vários caracteres.

A class system to represent a hidden stop loss and take profit system, combined with 4 example files showing the use of the classes.

FileLog class for efficient logging at different Levels.

The header file contains functions and input variables for a time management.

Various helper functions for sending messages of different types to different sources.

This library has smart notification(alert, push and alert) function with an option of having a single notification per candle at a time.

Build Binary Options strategies to test in the Strategy Tester of MetaTrader 4 with Binary Options Strategy Tester utility from marketplace.

Byte-wise operation with structures and standard data types.

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

Class for working with ticks in the MetaTrader 4. It is suitable for creating experts that make decisions on trading based on the analysis of tick data.

Rapid Application Development library.

A library of classes for creating a user-friendly interface of your programs.

OBz library of trading functions: position size, open, close position etc.

Fast time range checking function. Doesn't use slow string parsing.

Trading signals function. Based on the values of the CCI indicator.

Errors function. In Russian.

Based on the values of the OsMA indicator.

This is a conversion factor. It is used to detect whether broker is 4 or 5 digits. As MetaTrader 4 calculates everything using point basis, coder can use this function to convert pips to point for machine reading.

Lot sizing library. 29 money management options.

A set of functions to emulate the dynamic arrays.

Displays the levels of the current week!

Have you perhaps heard about the caterpillar? Here it is.... I do not remember where I got the code, I simply translated it from С++ to MQL4.

Library functions, get the HIGH LOW for the specified time interval

Set of standard functions for the YR1 timeframe.

This library is made for experts that need to calculate StopLoss and TakeProfit without putting SL/TP points on the trade.

This library made to simplify calculating your stop loss.

This library has SmartTrail trail function that depends on the previous candle.

It calculates the lot size depending on risk percentage entered by user in input parameters.

This library has two functions: first to count OP_BUY positions and second to count OP_SELL positions.