• Visão global
  • Comentários
  • Discussão (14)
  • O que há de novo

Binance Futures Library

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
  • Copy BinanceFuturesEA-Sample.mq5 to folder \MQL5\Experts

- Attach BinanceFuturesEA-Sample to the chart


Example how to call Binance Futures Library from EA

#include <BinanceFutures.mqh>

string Symbol      = "BTCUSDT";  // Symbol name
string HistoryData = "1W";       // History data: 1W = 1 week, 1M = 1 month, 3M = 3 months, 6M = 6 months, 1Y = 1 year, MAX = maximum available data
string ApiKey      = "";         // Binance api key
string SecretKey   = "";         // Binance secret key

BinanceFutures binance;

int OnInit()
{  
   binance.init(Symbol,HistoryData,ApiKey,SecretKey);        
   binance.showChart();
  
   /*
      //--Place buy market order BTCUSDT quantity 0.01 BTC at market price--//
          binance.orderBuyMarket("BTCUSDT"   // symbol name
                                 ,0.01       // order quantity
                                 ,0          // stopLoss price
                                 ,0);        // takeProfit price
                                                 
      //--Place buy limit order BTCUSDT quantity 0.01 BTC at limit price 15500 USDT--//
          binance.orderBuyLimit("BTCUSDT"    // symbol name
                                ,0.01        // order quantity
                                ,15500       // limit price
                                ,"GTC"       // time in force: GTC, IOC, FOK, default GTC  
                                ,0           // stopLoss price
                                ,0);         // takeProfit price
                                                
      //--Place sell market order BTCUSDT quantity 0.02 BTC at market price--//
          binance.orderSellMarket("BTCUSDT"  // symbol name
                                  ,0.02      // order quantity
                                  ,0         // stopLoss price
                                  ,0);       // takeProfit price                                                                    
                                                  
      //--Place sell limit order BTCUSDT quantity 0.02 BTC at limit price 25500 USDT--//
          binance.orderSellLimit("BTCUSDT"   // symbol name
                                 ,0.02       // order quantity
                                 ,25500      // limit price
                                 ,"GTC"      // time in force: GTC, IOC, FOK, default GTC  
                                 ,0          // stopLoss price
                                 ,0);        // takeProfit price    
  
      //--Get orderBook data--//
          OrderBook orderBook[];
          binance.getOrderBook(Symbol(),orderBook);
  
          for(int i = 0; i < ArraySize(orderBook); i++)
          {
             Print("AskPrice[",i,"] = ", orderBook[i].askPrice);
             Print("AskQty[",i,"]   = ", orderBook[i].askQty);
                                    
             Print("BidPrice[",i,"] = ", orderBook[i].bidPrice);
             Print("BidQty[",i,"]   = ", orderBook[i].bidQty);
          }
      
      //--Get open orders--//
          OpenOrders openOrders[];
          binance.getOpenOrders(Symbol(),openOrders);
  
          for(int i = 0; i < ArraySize(openOrders); i++)
          {
             long   orderId       = openOrders[i].orderId;            
             string symbol        = openOrders[i].symbol;            
             string side          = openOrders[i].side;            
             string positionSide  = openOrders[i].positionSide;      
             string type          = openOrders[i].type;          
             string status        = openOrders[i].status;          
             string timeInForce   = openOrders[i].timeInForce;  
             double price         = openOrders[i].price;    
             double stopPrice     = openOrders[i].stopPrice;  
             double avgPrice      = openOrders[i].avgPrice;  
             double origQty       = openOrders[i].origQty;  
             double executedQty   = openOrders[i].executedQty;
             bool   closePosition = openOrders[i].closePosition;
          }          
  
      //--Get open positions--//
          OpenPositions openPositions[];
          binance.getOpenPositions(Symbol(),openPositions);
  
          for(int i = 0; i < ArraySize(openPositions); i++)
          {
             string symbol           = openPositions[i].symbol;            
             string side             = openPositions[i].side;            
             string positionSide     = openPositions[i].positionSide;  
             double positionAmt      = openPositions[i].positionAmt;  
             double entryPrice       = openPositions[i].entryPrice;    
             double markPrice        = openPositions[i].markPrice;        
             double unRealizedProfit = openPositions[i].unRealizedProfit;
             double liquidationPrice = openPositions[i].liquidationPrice;
          }
  
      //--Check Balance-//
          double balance = binance.balance();
      
      //--Set Leverage to 10x--//
          binance.setLeverage(10);                                      
   */
   
   return 0;
}

void OnTimer()
{
   binance.getTickData();
}

void OnDeinit(const int reason)
{
   binance.deinit();
}

void OnTick()
{ 

}            


Produtos recomendados
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
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
K Trade Lib5
Kaijun Wang
2 (1)
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib5.ex5"    //简单开单    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 );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comm
FREE
The MetaCOT 2 CFTC ToolBox Demo is a special version of the fully functional MetaCOT 2 CFTC ToolBox MT5 library. The demo version has no restrictions, however, unlike the fully functional version, it outputs data with a delay. The library provides access to the 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 sepa
FREE
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
Vasiliy Sokolov
3.67 (3)
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
Survivor
Pavel Nikiforov
Название советника : Survivor  (есть расширенная версия: https://www.mql5.com/ru/market/product/36530 ) Валютные пары : USDJPY, EURUSD, GBPUSD, AUDUSD, GBPJPY, XAUUSD, EURCHF Рекомендованная валютная пара : USDJPY Таймфрейм : М5 Время торговли : круглосуточно Описание : Трендовый  советник с возможностью мартингейла и построением сетки ордеров. В советнике используются три группы аналогичных сигналов для открытия, закрытия и дополнительных сделок. При наличии тренда(определяется МА) ловится отс
FREE
NATS (Niguru Automatic Trailing Stop) will help you achieve more profits, by setting the trailing stop automatically. Pair this NATS application with EA, or can also be used as a complement to manual trading. A trailing stop is a powerful tool in trading that combines risk management and profit optimization.  A trailing stop is a type of market order that sets a stop-loss at a percentage below the market price of an asset, rather than a fixed number. It dynamically adjusts as the asset’s pr
FREE
MA Gold Sniper Entry
Samson Adekunle Okunola
Maximize seu potencial de negociação com nosso EA MA Gold Sniper Entry Transforme sua experiência de negociação com nosso EA habilmente projetado, desenvolvido para oferecer lucratividade consistente e desempenho ideal. Abordagem de negociação segura: Sem estratégias arriscadas: Evita o uso de estilos de negociação de alto risco, como sistemas de grade ou martingale, garantindo uma experiência de negociação mais segura e estável. Metodologia consistente: Emprega uma estratégia de negociação com
Binance Library
Hadil Mutaqin SE
5 (1)
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-
Binance é uma bolsa de criptomoedas de renome mundial! A fim de facilitar a análise de dados em tempo real do mercado de moeda digital criptografado, o programa pode importar automaticamente dados de transações em tempo real Binance para MT5 para análise. 1. Apoie a criação automática de pares de negociação à vista no departamento de segurança de moeda, e você também pode definir a moeda de lucro e a moeda base separadamente. Por exemplo, se ProfitCurrency estiver vazio, significa todas as ár
NEW VERSION 2024 1.6v A - UPDATED UPDATED 13/01/2024 Rastreador de Agulhadas. PROMO 6 MESES POR 30 USD!!! Erros nos Times Frames M10, M15, H1, H2 e H8 corrigidos. Este utilitário é um scanner de mercado com base no indicador do índice Didi. Ele pode digitalizar todos os quadros de tempo de Símbolos no Market Watch, o cliente pode personalizar de acordo com a demanda, pode escanear um único símbolo ou mais de 100. Link do Manual: LINK_driver Link do Manual Video: LINK O scanner informa quatr
Elliott Wave Helper
Siarhei Vashchylka
4.92 (13)
Elliott Wave Helper - a panel for making elliott wave and technical analysis. Includes all known wave patterns, support and resistance levels, trend lines and cluster zones. Manual (Be sure to read before purchasing) | Version for MT4 Advantages 1. Making wave analysis and technical analysis in a few clicks 2. All Elliott wave patterns available, including triangle and combinations 3. All nine wave display styles, including a special circle font 4. E lements of technical analysis : trend lines
Ajuste BRA50
Claudio Rodrigues Alexandre
4.4 (5)
Este script marca no gráfico do ativo BRA50 da active trades o ponto de ajuste do contrato futuro do Mini Índice Brasileiro (WIN), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página pa
FREE
SMC Structure Markup
Seyed Mohammad Hosseini Hejazi
5 (1)
Overview The Smart Money Structure Markup Indicator for MetaTrader 5 is a powerful tool designed to help traders identify key market structures based on popular Smart Money Concepts (SMC) strategies. This indicator detects micro-market structures, providing insights into price movements and potential trend changes. It highlights important elements such as valid Break of Structure (BOS), Change of Character (CHoCH), and Inducement (IDM), helping traders to make informed decisions. Key Features Ma
FREE
Introducing "PropFirm Consistency Analyst" — your dynamic companion for achieving consistency in proprietary trading. This innovative Expert Advisor operates seamlessly, continuously calculating consistency metrics between two specified dates, providing real-time insights throughout the trading month. Tailored specifically for prop traders, this tool serves as a dedicated ally in meeting the stringent consistency requirements set by some proprietary firms. By evaluating trading performance on
FREE
LT Mini Charts
Thiago Duarte
4.88 (8)
Este é um indicador utilitário que cria gráficos em miniatura no lado esquerdo do gráfico que você está observando. Ele é muito útil para observar diversos tempos gráficos simultaneamente, sem ter que transitar entre múltiplos gráficos. Sua configuração é simples. Você pode ter até 4 mini gráficos abertos. Eles automaticamente carregam o template do gráfico "pai". Faça bom uso! Este é um indicador gratuito, porém levou horas para desenvolvê-lo. Se desejar me pagar um café, eu agradeceria muit
FREE
Volatility Doctor
Gamuchirai Zororo Ndawana
4.5 (2)
Doctor Volatility - Seu Consultor Especialista para Dominar os Ritmos do Mercado! Você está pronto para desbloquear o poder da negociação de precisão? Conheça o Doctor Volatility, seu companheiro confiável no mundo dinâmico dos mercados de câmbio. Este consultor especialista em várias moedas não é apenas uma ferramenta de negociação; é um maestro de sinfonia, guiando seus investimentos com uma precisão incomparável. Descubra as principais características: 1. Especialização em busca de ten
FREE
Market book tester
Aliaksandr Hryshyn
1 (1)
Usando dados do livro de pedidos no testador de estratégia Características principais: Uso simultâneo de vários símbolos, até 7 peças Visualização DOM Com a visualização das carteiras de pedidos, está disponível simulação em tempo real, bem como aceleração ou desaceleração Trabalhando com a biblioteca: Este produto também requer um utilitário para salvar dados: https://www.mql5.com/en/market/product/71642 Utilitário de controle de velocidade: https://www.mql5.com/pt/market/product/81409 Inclui
FREE
TradeMetrics Pro
Hussein Adnan Kadhim
The TradeMetrics Pro indicator enhances trade analysis and performance evaluation by presenting trade history and metrics directly on the chart. It accomplishes this through three key features: Summary Trade Panel: The Summary Trade Panel provides a concise overview of open and closed trades. It organizes trade summaries by symbol, lots traded, pips gained or lost, profit, and advanced statistics. This panel enables quick assessment and comparison of trade performance across different symbols
The Buffer Reader will help you to check and export the custom indicators buffers data for your current chart and timeframe. You can select the number of buffer and historical bars to read/export. The data can be exported in a CSV format and the files will be stored in the folder:   \MQL5\Files . How it works Put the number of buffers to read in the Buffers_Total input parameter. Put the number of rows to display in the Rows_Total. Choose the CSV separator in the parameter. Copy the correct na
FREE
AO Trade
Ka Lok Louis Wong
O sistema de negociação AO Trade é especificamente projetado para negociação de tendências, aproveitando os horários de leilão ou de notícias como pontos de referência para comparação com outros horários de ordem específicos para antecipar tendências de mercado. **Todos os parâmetros de tempo utilizados no EA são baseados no horário do seu terminal. Diferentes corretores podem operar em fusos horários GMT diferentes, o que pode variar ainda mais devido a ajustes de Horário de Verão.** **Por f
Introducing the BlackWing Signal Provider—an advanced EA designed to enhance your trading experience by facilitating seamless communication between your MetaTrader 5 platform and Telegram channels, groups, or individual users. Key Features: 1. Real-Time Event Notifications: Receive instant alerts on new trades, modified orders, closed positions, and deleted orders. Stay informed and make well-timed decisions. 2. Interactive Chart Snapshots: Share chart snapshots along with new trades and
Este sistema é bom em identificar reversões de curto prazo no mercado. É baseado em um estudo de aprendizado de máquina sobre a estrutura do mercado e pode ser uma ótima ferramenta para escanear o mercado ou negociar diretamente. Com tudo, não há uma taxa de vitória de 100%, mas esse indicador às vezes é sempre preciso. Quando ele pensa que uma reversão vai acontecer, ele vai colorir a vela uma cor específica, desenhar uma seta e, em seguida, alertá-lo sobre a compra ou venda da próxima vela.
Binance Futures MT5 is a tool for charting and manual trading Bitcoin & Altcoin on Binance Futures Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Parameters Symbol            =  symbol name HistoryData      =  start time to download history data APIKey             =  your binance api key SecretKey       =  your binance secret key Leverage         = to set leverage MarginType     =  to set margin type (crossed or isolated) Po
Born to Kill Zone  is a trading strategy in the financial markets where traders aim to profit from short- to intermediate-term price movements.  In conducting the analysis, this EA incorporates the use of a moving average indicator . As we are aware, moving averages are reliable indicators widely utilized by professional traders Key components include precise entry and exit strategies, risk management through stop-loss orders, and position sizing. Swing trading strikes a balance between active
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
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
The Market Destroyer
Victor Cosme Cuenca
Apresentamos o TheMarketDestroyer, o EA semi-automático definitivo para traders experientes no MQL5! Características principais: Controle Semi-manual: O TheMarketDestroyer oferece a flexibilidade de definir seus pontos de entrada, seja em posição de compra ou venda. Uma vez que o mercado atinge o Take Profit (TP) configurado, a operação é fechada automaticamente. Em seguida, basta configurar novamente sua entrada para a próxima operação. Multiplicador de Lotes Personalizável: Adapte sua estratég
CJ News Trading MT5
Nguyen Duc Tam
4 (9)
Trading has never been easier! Let's check this out! MT4 version:  https://www.mql5.com/en/market/product/72153 Strategy There are some news within a day that can make the price jumps up or down very quickly and that is a good opportunity for traders to get some profits. Looking to scalp a news release? Here's how you can do it: Open two stop orders (a buy stop and a sell stop) 3 to 5 minutes before the news release. Place them about 15 to 20 pips away from the current market price. When the ne
FREE
Os compradores deste produto também adquirem
Goliath Mt5
Nicolokondwani Biscaldi
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,
EA Toolkit
Esteban Thevenon
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
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
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
Native Websocket
Racheal Samson
5 (5)
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
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
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.
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
GetFFEvents MT5 I tester capability
Hans Alexander Nolawon Djurberg
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
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
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
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
Nicolokondwani Biscaldi
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,
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   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
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
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
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 );    //复杂开单
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
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
Omega J Msigwa
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 é 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
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . 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
EA Toolkit
Esteban Thevenon
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
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
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
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
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 
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
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
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.
Mais do autor
This script allows you to close all orders and delete all pending orders. Set to true order type you want to close and cancel. Parameters: AllCurrency  = set true to close position and cancel order in all pair, set false for current pair. CloseBUY  = set true to close buy position. CloseSELL  = set true to close sell position. DeleteBUYSTOP   = set true to cancel buy stop order. DeleteSELLSTOP  = set true to cancel sell stop order. DeleteBUYLIMIT  = set true to cancel buy limit order. DeleteSEL
Binance MT5
Hadil Mutaqin SE
Binance MT5 is a tool for charting & manual trading Bitcoin and Altcoin on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit and Stop-Market . Parameters Symbol           = symbol name HistoryData    = start time to download history data API Key           = your binance api key Secret Key      = your binance secret key * You should allow WebRequest from Tools menu >> Options >> Expert Advisors and add URL: https://api.binance.com * For automatic tradin
Bitcoin Trading Bot 101 is a fully automated trading system which trades based on market movement to identify trend with smart hedging strategy. The system is running on Binance spot market. Parameters API Key              = your binance api key Secret Key           = your binance secret key Symbol              = symbol name TargetProfit (%) = target profit in percent TimeBased         = period to check target *You should allow WebRequest from Tools menu >> Options >> Expert Advisors and a
BitMEX MT5
Hadil Mutaqin SE
BitMEX MT5 is a tool for charting and manual trading Bitcoin and Altcoin on BitMEX from MT5 platform. Support all order types:: Limit, Market, Stop-Limit, Stop-Market, TakeProfit, StopLoss and Trailing Stop. Parameters API Key  = your bitmex api key Secret Key  = your bitmex secret key Symbol  = symbol name Leverage = to set leverage HistoryData  = start time to download history data TestnetMode  = set to true for testnet, set to false for real trading *You should allow WebRequest from Tools
Binance Library
Hadil Mutaqin SE
5 (1)
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-
Binance Futures MT5 is a tool for charting and manual trading Bitcoin & Altcoin on Binance Futures Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Parameters Symbol            =  symbol name HistoryData      =  start time to download history data APIKey             =  your binance api key SecretKey       =  your binance secret key Leverage         = to set leverage MarginType     =  to set margin type (crossed or isolated) Po
Filtro:
Sem comentários
Responder ao comentário
Versão 1.47 2022.02.02
- Fixed no connection issue
- Optimized program code
Versão 1.46 2021.10.31
- Fixed minor bug and optimized program code
Versão 1.45 2021.10.20
- Various bug fixes and improvements
Versão 1.44 2021.09.11
- Various bug fixes and improvements
Versão 1.43 2021.09.11
- Fixed timestamp issue
- Various bug fixes and improvements
Versão 1.42 2021.08.28
- Fixed history data issue
- Bug fixes and improvements
Versão 1.41 2021.08.25
- Added function to get orderbook data
- Added function to get open orders and open positions
- Various bug fixes and improvements
Versão 1.40 2021.08.21
- Added StopLoss and TakeProfit function
- Various bug fixes and optimized program code
Versão 1.39 2021.08.13
- Various bug fixes and improvements
Versão 1.38 2021.08.12
- Fixed timestamp issue
- Optimized program code
Versão 1.37 2021.08.09
- Various bug fixes and improvements
Versão 1.36 2021.08.07
- Add function to get open positions
- Various bug fixes and improvements
Versão 1.35 2021.08.01
- Fix Position side issue
- Optimized program code
Versão 1.34 2021.06.22
- Various bug fixes and improvements
Versão 1.33 2021.05.30
- Add delay parameter for data request rate
- Various bug fixes and improvements
Versão 1.32 2021.05.22
- Fix issue with history data
- Fix issue with chart properties
Versão 1.31 2021.05.15
- Add HistoryData parameter for maximum data
- Various bug fixes and improvements
Versão 1.3 2021.05.03
- Various bug fixes and improvements
Versão 1.2 2021.05.02
- Various bug fixes and improvements
Versão 1.1 2021.05.01
- Fixed minor bug for volume data
- Optimized program code