Conheça o Mercado MQL5 no YouTube, assista aos vídeos tutoriais
Como comprar um robô de negociação ou indicador?
Execute seu EA na
hospedagem virtual
hospedagem virtual
Teste indicadores/robôs de negociação antes de comprá-los
Quer ganhar dinheiro no Mercado?
Como apresentar um produto para o consumidor final?
Bibliotecas de negociação pagas para MetaTrader 5
![icon](https://c.mql5.com/i/market/market-icon.png)
![WalkForwardOptimizer MT5](https://c.mql5.com/31/178/walkforwardoptimizer-mt5-logo-200x200-9684.png)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
![Native Websocket](https://c.mql5.com/31/908/native-websocket-logo-200x200-9005.png)
An easy to use, fast, asynchronous WebSocket library for MQL5. It supports: ws:// and wss:// (Secure "TLS" WebSocket) text and binary data It handles: fragmented message automatically (large data transfer) ping-pong frames automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 WebSocket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native to
![Binance EA Connection Library](https://c.mql5.com/31/1026/binance-ea-connection-library-logo-200x200-8840.png)
Esta biblioteca permitirá que você gerencie negociações usando qualquer um de seus EA e é muito fácil de integrar em qualquer EA que você mesmo pode fazer com o código de script mencionado na descrição e também exemplos de demonstração em vídeo que mostram o processo completo.
- Pedidos Place Limit, SL Limit e Take Profit Limit
- Ordens Place Market, SL-Market, TP-Market
- Modificar ordem de limite
- Cancelar pedido
- Consulta de pedidos
- Mudança de alavancagem, margem
- Ob
![OpenAI Library MT5](https://c.mql5.com/31/1055/openai-library-mt5-logo-200x200-4662.png)
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
![MetaCOT 2 CFTC ToolBox MT5](https://c.mql5.com/31/140/metacot-2-toolbox-library-logo-200x200-3994.png)
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
![AO Core](https://c.mql5.com/31/1081/ao-core-logo-200x200-8688.png)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510
This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of population algorithms.
High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
![OrderBook History Library](https://c.mql5.com/31/258/orderbook-history-library-logo-200x200-6580.png)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
![Trade Tracker for Custom Symbols](https://c.mql5.com/31/594/trade-tracker-for-custom-symbols-logo-200x200-4282.png)
The Trade Tracker Library is used to automatically detect and display trade levels on custom charts.
It is an especially useful add-on for EAs that trade on custom charts in MT5. With the use of this library, the EA users can see trades as they are placed via the EA (Entry, SL & TP levels) in real-time.
The header file and two examples of EA skeleton files are attached in the comments section (first comment).
The library will automatically detect the tradable symbol for the following custom
![Trades Manager MT5](https://c.mql5.com/31/123/trades-manager-mt5-logo-200x200-7368.png)
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions.
Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on
![WalkForwardLight MT5](https://c.mql5.com/31/179/walkforwardlight-mt5-logo-200x200-2424.png)
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
![BitMEX Trading API](https://c.mql5.com/31/367/bitmex-trading-api-logo-200x200-4302.png)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features
Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the c
![Painel De Expert Com Teclado](https://c.mql5.com/31/303/painel-de-expert-com-teclado-logo-200x200-7913.png)
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas
Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de:
lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEv
![Goliath Mt5](https://c.mql5.com/31/384/antimartingale-automatic-position-entry-logo-200x200-5603.png)
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets
P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account,
![Binance Library](https://c.mql5.com/31/591/binance-library-logo-200x200-3544.png)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage:
- Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header file and EA sample https://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy BinanceEA-
![Gold plucking machine](https://c.mql5.com/31/561/gold-plucking-machine-logo-200x200-4694.png)
Gold plucking machine Gold plucking machine is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number - is a special number that the EA assigns to its orders.
Lot Multiplier -
![Gold plucking machine S](https://c.mql5.com/31/562/gold-plucking-machine-s-logo-200x200-4554.png)
Gold plucking machine S Gold plucking machine S Gold plucking machine S is an Expert Advisor designed specifically for trading gold. The operation is based on opening orders using the Fast and Slow lines indicator, thus the EA works according to the "Trend Follow" strategy, which means following the trend. Use grid strategy to place orders without stop loss operation, so please make sure the account has sufficient funds. magic number - is a special number that the EA assigns to its
![Binance Futures Library](https://c.mql5.com/31/591/binance-futures-library-logo-200x200-8612.png)
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Automatically display the chart on the screen. Usage:
- Open MQL5 demo account - Move BinanceFuturesLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header file and EA sample https://www.mql5.com/en/code/download/34976_252386.zip Copy BinanceFutures.mqh header file to folder \MQL5\Include C
![K Trade Lib Pro 5](https://c.mql5.com/31/657/k-trade-lib-pro-5-logo-200x200-4240.png)
MT4/5通用交易库( 一份代码通用4和5 ) #ifdef __MQL5__ #define KOD_TICKET ulong #define KOD_MAGIC long #else #define KOD_TICKET long #define KOD_MAGIC int #endif class ODLIST; #import "K Trade Lib Pro 5.ex5" //祝有个美好开始,运行首行加入 void StartGood() ; //简单开单 long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false ); //复杂开单
![Binance Library MetaTrader 5](https://c.mql5.com/31/973/binance-library-metatrader-5-logo-200x200-2558.png)
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M and COIN-M futures, and includes all the necessary functions for trading activity. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
![More BackTest Results](https://c.mql5.com/31/704/more-backtest-results-logo-200x200-6013.png)
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
![The Matrix](https://c.mql5.com/31/734/the-matrix-logo-200x200-6405.png)
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
![T5L Library for TSUTrader](https://c.mql5.com/31/759/t5l-library-for-tsutrader-logo-200x200-8805.png)
T5l Library é necessaria para o uso dos robos da TSU Investimentos, nele você tera todo o framework de funções para o funcionamento correto dos nossos Expert Advisors para MetaTrader 5 ツ . - O Robos Expert Advisors da TSU Invesitmentos não funcionarão sem esta biblioteca de funções, o T5L library podera receber atualizações e melhorias ao longo do tempo. - Na biblioteca que voçê encontrará f uncionalidades diversas como envio de ordens, compra e venda, verificação de gatilhos de entradas, an
![EA Toolkit](https://c.mql5.com/31/838/ea-toolkit-logo-200x200-8560.png)
EA Toolkit is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more.
Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installa
![Neural Networks Libraries](https://c.mql5.com/31/846/neural-networks-libraries-logo-200x200-3893.png)
This is standard library built for flexible neural Networks with performance in mind. Calling this Library is so simple and takes few lines of code:
matrix Matrix = matrix_utils.ReadCsv( "Nasdaq analysis.csv" ); matrix x_train, x_test; vector y_train, y_test; matrix_utils.TrainTestSplitMatrices(Matrix,x_train,y_train,x_test,y_test, 0.7 , 42 ); reg_nets = new CRegressorNets(x_train,y_train,AF_RELU_,HL, NORM_MIN_MAX_SCALER); //INitializing network reg_nets.RegressorN
![SortedByValue](https://c.mql5.com/31/874/sortedbyvalue-logo-200x200-8999.png)
Essa biblioteca é usada para classificar matrizes de chave e valor, geralmente precisamos classificar valores.
como na linguagem python sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ]))
função de importação
Exemplo de cenários de uso
1. As ordens do Grid EA são classificadas de acordo com o preço de abertura void SortedByOpenPride() { long OrderTicketBuffer[]; double OpenPriceBuffer[]; for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--) { if (m_pos
![DailyRangeBreakOutStrategy](https://c.mql5.com/31/968/dailyrangebreakoutstrategy-logo-200x200-2326.png)
Intro to Range Breakout Strategy (pre-close clearance) Range = yesterday high - Yesterday low On track = opening price + range *k; Lower rail = Open price - range *K Stop-loss closing position: When the price breaks up the upper track or breaks down the lower track, it breaks the opening price of the day again
Parameters: Pairs List (comma separated) = "GBPUSD,GBPJPY,USDJPY,XAUUSD,XTIUSD,USTEC"; - TimeFrame = PERIOD_D1; - MagicNumber = 60037; - OrderComment = "RangeBre
![GetFFEvents MT5 I tester capability](https://c.mql5.com/31/974/getffevents-mt5-i-tester-capability-logo-200x200-1134.png)
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news Even In Strategy Tester . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
![Fast Sliding SMA algorithm](https://c.mql5.com/31/1001/fast-sliding-sma-algorithm-logo-200x200-2298.png)
A Simple Moving Average (SMA) is a statistical indicator used in time series analysis. This indicator represents the arithmetic mean of a sequence of values over a specific period of time. SMA is used to smooth short-term fluctuations in data, helping to highlight the overall trend or direction of changes. This aids analysts and traders in better understanding the general dynamics of the time series and identifying potential trends or changes in direction. More information you can find in Wiki
![SRZ Intelligent trading AI system](https://c.mql5.com/31/1026/srz-intelligent-trading-ai-system-logo-200x200-7634.png)
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few... this EA is the only one so far I think its good enough to be published here.
As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the cl
![Ak47tutu](https://c.mql5.com/31/1031/ak47tutu-logo-200x200-7122.png)
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
![TG Risk Service Manager MT5](https://c.mql5.com/31/1054/tg-risk-service-manager-mt5-logo-200x200-6725.png)
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version | All Products | Contact Key Features:
Efficient Lot Size Calculation : Harness the power of precise lot size
![TG Trade Service Manager MT5](https://c.mql5.com/31/1054/tg-trade-service-manager-mt5-logo-200x200-8108.png)
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader4 Version | All Products | Contact Key Features:
Unified Interface : TG Trade Service Manager" provides a unified interface for MQL4 a
![JetBotLib](https://c.mql5.com/31/1054/jetbotlib-logo-200x200-7071.png)
Este é um EXPERT com FOCO em APRENDIZAGEM e DESENVOLVIMENTO PROFISSIONAL !!! A ideia deste produto é comercialiar o código-fonte, permitindo que aqueles que querem desenvolver seus próprios robôs, ou iniciar uma atividade profissional de desenvolvimento de experts customizados tenham um código-fonte de referência que os ajude no processo de aprendizagem e desenvolvimento. Este código-fonte será incrementado, ou seja, novas funcionalidades serão criadas, permitindo assim que o projeto continue
![Niguru Automatic Batch Trailing Stop for MT5](https://c.mql5.com/31/1067/niguru-automatic-batch-trailing-stop-for-mt5-logo-200x200-4236.png)
This trailing stop application will helping trader to set the trailing stop value for many open positions, that apply a grid or martingale strategy as a solution.
So if you apply a grid or martingale strategy (either using an EA or trading manually), and you don't have an application to set a trailing stop, then this application is the solution.
For EAs with a single shot strategy, just use the FREE trailing stop application which I have also shared on this forum.
![Nmt5](https://c.mql5.com/31/1142/nmt5-logo-200x200-6076.png)
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
![Relative Average Calculator](https://c.mql5.com/31/1160/relative-average-calculator-logo-200x200-6771.png)
Relative Average Cost of Open Positions Indicator Description: The “Relative Average Cost of Open Positions” indicator is a powerful tool designed for traders who engage in mean reversion strategies. It calculates the average entry price for both buy and sell positions, considering the total volume of open trades. Here are the key features and advantages of this indicator: Mean Reversion Trading: Mean reversion strategies aim to capitalize on price movements that revert to their historical ave
O Mercado MetaTrader é um site simples e prático, onde os desenvolvedores podem vender seus aplicativos de negociação.
Nós iremos ajudá-lo a postar e explicar como descrever o seu produto para o mercado. Todos os aplicativos no Mercado são protegidos por criptografia e somente podem ser executados no computador de um comprador. Cópia ilegal é impossível.
![MQL5 - Linguagem para estratégias de negociação inseridas no terminal do cliente MetaTrader 5](https://c.mql5.com/i/registerlandings/logo-2.png)
Você está perdendo oportunidades de negociação:
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Registro
Login
Se você não tem uma conta, por favor registre-se
Para login e uso do site MQL5.com, você deve ativar o uso de cookies.
Ative esta opção no seu navegador, caso contrário você não poderá fazer login.