• 概述
  • 评论
  • 评论 (14)
  • 新特性

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()
{ 

}            


推荐产品
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
BitMEX Trading API
Romeu Bertho
5 (1)
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
3.5 (2)
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
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于A
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
Bear GPX
Milan Cihak
Strategy Introduction The EA will find the best entry and exit points based on the data trained by the neural network and the current market trend. It includes multiple loss exit strategies to ensure capital safety. Because the market is full of uncertainties, it is impossible to enter at the most ideal point every time. Our EA uses a unique batch entry method, adding up to 5 entry points. Each order has a fixed stop loss (SL) and take profit (TP), leaving enough room to deal with sudden market
MasterEA trustfultrading
Tobias Christian Witzigmann
Hi, I'm an algo trader from Germany and I'm offering my own EA here, which I use daily for my trading and which I've been continuously developing for several years. It is important to understand that this EA is a very complex tool that can be used to trade different strategies. Different entry and exit signals can be combined with different filters. There is also an extensive stop loss and take profit management system. I use the Master EA daily for my own trading. I test and develop new s
The Trade-Buddy Dashboard MT5 Is a simple colorful panel, with some useful and some stuff that maybe other people may not find SO useful. Regardless, I made this for people like myself who like no Standard Tab or Line Studies displayed on the chart, but still want to be sure of my accounts current state. So basically this Dashboard displays info that isn’t usually displayed on the chart, on the chart. This can also be used by people who want to add an ‘Algorithmic Feel’ to their charts or simply
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
FundRaiser
Riccardo Moreo
this is a grid system that avarages the purchase price to avoid high drawdown while closing the operation on a level so that the summ of all of them will end up in profit, it works best in a consolidating enviroment like in the asian session where the markets isn't as volatile as the other hours, it uses a custom indicator that i made my self to open trades that identifies the best entry point to start the grid, it also uses a multiplier to speed up the closing of the operations, it can also be
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-
币安是全球知名的加密数字货币交易所!为方便对加密数字货币行情进行实时数据分析,程序可自动将币安实时成交数据导入到MT5进行分析,主要功能有: 1、支持币安全部现货交易对自动创建,也可以单独设置盈利货币和基础货币。如盈利货币ProfitCurrency为空表示全部交易区,可选:USDT、BTC、DAI等币安支持的交易区(合约交易暂不支持),基础货币BaseCurrency为空表示所有货币,也可以单独设置BNB、ETC等任何币安支持的加密货币。 2、同步币安各货币的价格精度、交易量精度以及最大交易量等。 3、通过WebSocket链接币安,每一笔成交即可推送到Mt5更新行情。 4、支持所有现货品种同时更新,为提高实时数据效率,可自定义最大更新组(需要打开对应窗口更新),工具默认最大组数为4组,需要打开4个图表窗口,运行时分别设置RangNO为0,1,2,3(小于最大窗口数),以此类推。如果仅需要更新当前窗口的实时行情,可将RangNO设置为-1。 5、实时行情更新请使用代理地址,因此,必须将代理地址 trade.ctabot.com 添加到:MT5——工具——选项——EA
UPDATE MAR/20 OBS: Please after purchase contact US via CHAT to suport. This Product is a Market Scanner based on Didi Index Indicator. He can scan all time frames of Symbols in Market Watch, client can customize according the demand, its can scan a single symbol or more than 100. Manual: Link Driver Link do Manual Video:   LINK The Scanner informs 4 kind of signals, all alerts are providing from Didi Index Indicator: 1 - Didi Index - Alert of Buy : Cross up of "Curta" short moving averag
Elliott Wave Helper
Siarhei Vashchylka
4.92 (12)
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.63 (8)
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
LT Mini Charts
Thiago Duarte
4.86 (7)
This is a utility indicator that creates mini charts on left side of the chart you are looking at. It is very useful to watch many timeframes simultaneously, without having to change between multiple charts. Its configuration is very simple. You can have up to 4 mini charts opened. They automatically load the template of the "parent" chart. If you have any doubt please contact me. Enjoy! This is a free indicator, but it took hours to develop. If you want to pay me a coffee, I appreciate a lot
FREE
Volatility Doctor
Gamuchirai Zororo Ndawana
波动性医生 - 您掌握市场节奏的专家顾问! 您准备好解锁精准交易的力量了吗?认识波动性医生,您在外汇市场动态世界中的可靠伙伴。这款多货币专家顾问不仅是一种交易工具,更像是一位交响乐指挥家,以无与伦比的精度指导您的投资。 发现关键特点: 1. 寻找趋势的专业知识:波动性医生采用经过验证的方法来发现强劲的市场趋势。告别猜测,迎接明智的决策。 2. 全面控制:利用内置的资金管理工具掌握您的交易策略。决定在任何时候开多少个头寸以及增加交易规模的程度。这是您的剧本,您的方式。 3. 波动性大师:正如其名称所示,这款EA专注于测量和反映市场波动性。就像水会采取其容器的形状一样,它会无缝地适应市场条件。 4. 您的利润目标:设定您的利润目标,让波动性医生不知疲倦地努力实现它们。就像拥有金融GPS一样,引导您到达目的地。 5. 突破掌握:在其核心,这款EA依赖于复杂的移动平均通道策略。它耐心地等待价格突破,然后与市场波动性同步进行操作。 6. 账户友好:无论您是使用小型还是大型账户进行交易,波动性医生都会适应您的需求。这是您的财务平衡器。 为什么选择波动性医生?
FREE
Market book tester
Aliaksandr Hryshyn
1 (1)
Using data from the order book in the strategy tester Key features: Simultaneous use of several symbols, up to 7 pieces DOM visualization With the visualization of order books, real-time simulation is available, as well as acceleration or deceleration Working with the library: This product also requires a utility to save data:  https://www.mql5.com/en/market/product/71642 Speed control utility:  https://www.mql5.com/en/market/product/81409 Include file:   https://c.mql5.com/31/735/Market_book_s
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
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
该系统擅长识别市场的短期逆转。 它基于对市场结构的机器学习研究,可以成为扫描市场或直接交易的绝佳工具。 一切都没有100%的胜率,但这个指标有时总是准确的。 当它认为反转会发生时,它会给蜡烛涂上特定的颜色,画一个箭头,然后提醒你是否购买或出售即将到来的蜡烛。 1. 简单的设置 A.在任何时间段拖放到任何图表上。 B.启用警报(可选) c.你就完了! 2. 视觉和音频警报 A.警报直接发送到您的手机 b.弹出发送到您的终端的警报 3. 多用途 A.股票、外汇、期权、期货 4. 灵活 A.适用于任何时间范围 重要提示:指标会在超过50%确定会发生某些事情时绘制箭头,但只有当它已经确定时,它才会通过改变蜡烛颜色,绘制箭头并提醒您来向您发出信号。 只有在这三件事都发生的时候才会发出信号。
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
Erlan Sumanjaya
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
CJ News Trading MT5
Nguyen Duc Tam
4.09 (11)
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
Forex Moon AI
David Hausberger
......外汇月球AI的智能黄牛......。 重要的是 !  为了使回测运行时不出现错误,必须在设置中设置以下内容。 限制时间范围: Timerange = True 必须选择。 时间的设置必须使EA在你的经纪商的滚动期间不进行交易。 没有使用像马丁格尔或网格这样的风险策略。所有交易的执行都有止损和止盈。 Forex Moon AI是一个具有智能SL计算功能的剥头皮者。 Lifesignal : https://www.mql5.com/de/signals/1819818?source=Site +Signals+My AI转换来自各种指标的信号。 对于其中的一些用户设置,我建议将所有的设置放在默认值上,以获得一个干净的结果。 请根据你的目的自由调整设置。 默认设置 指示器。 布林线范围周期=69  MTATR时期=97 MTKeltner通道周期=29    请注意,以前的业绩并不保证未来的利润。 该EA可在所有外汇对上运行,但已针对澳元兑美元进行了优化。 所有回测结果均来自澳元兑
该产品的买家也购买
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
Native Websocket
Racheal Samson
5 (2)
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.
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. 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,
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
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
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
OrderBook History Library
Stanislav Korotky
3 (2)
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
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. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
This library implements a few functions to simplify the programming of Expert Advisors. * Build your own EA for MT5 / Binance, with a easy support for multisymbol / multytimeframe * Different SFE EAs based on the library provided. * Base signals of SFE EAs are inlcuded in base version. All the Pro filters and management are included in the base version all the 2022. * Customize the provided SFE Lib EA by changing or implementing its rules.. * Review the existing or ask for video tutorials to
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
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
这个库用于key 和 value 数组进行排序, 我们常常需要对值进行排序。 像python语言里面的 sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) 导入函数 #import "SortedByValue.ex5" bool SortedByDouble( long       &key[], double    & value []); bool SortedByDouble( string    &key[], double    & value []); bool SortedByInteger( long      &key[], long      & value []); bool SortedByInteger( string   &key[], long      & value []); bool SortedByDateTime( long     &key[],datetime & value []); bool SortedByDateTime( string &key[],
区间突破策略简介(收盘前清仓)      区间=昨高-昨低 上轨=开盘价+区间*k;下轨=开盘价-区间*K 止损平仓: 当价格向上突破上轨或向下突破下轨后, 再次回破当日开盘价  参数: Pairs List (comma separated)     = "GBPUSD,GBPJPY,USDJPY,XAUUSD,XTIUSD,USTEC"; - TimeFrame = PERIOD_D1; - MagicNumber    = 60037;          - OrderComment   = "RangeBreakOut"; - FixedLots( RiskPercent = 0)  = 0.1;            - RiskPercent(0 - 100)     = 1;              - RangeMultiplier   = 1;               - DistancePoints   = 10; - Exit Method   =  backopen;      - Close all positions n hours before c
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
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
This is an EXPERT with a FOCUS on LEARNING and PROFESSIONAL DEVELOPMENT!!! The idea of this product is to commercialize the source code, allowing those who want to develop their own robots, or start a professional activity developing customized experts, to have a reference source code that helps them in the learning and development process. This source code will be increased, that is, new functionalities will be created, thus allowing the project to continue evolving. For every 10 sales a new v
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.
作者的更多信息
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
筛选:
无评论
回复评论
版本 1.47 2022.02.02
- Fixed no connection issue
- Optimized program code
版本 1.46 2021.10.31
- Fixed minor bug and optimized program code
版本 1.45 2021.10.20
- Various bug fixes and improvements
版本 1.44 2021.09.11
- Various bug fixes and improvements
版本 1.43 2021.09.11
- Fixed timestamp issue
- Various bug fixes and improvements
版本 1.42 2021.08.28
- Fixed history data issue
- Bug fixes and improvements
版本 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
版本 1.40 2021.08.21
- Added StopLoss and TakeProfit function
- Various bug fixes and optimized program code
版本 1.39 2021.08.13
- Various bug fixes and improvements
版本 1.38 2021.08.12
- Fixed timestamp issue
- Optimized program code
版本 1.37 2021.08.09
- Various bug fixes and improvements
版本 1.36 2021.08.07
- Add function to get open positions
- Various bug fixes and improvements
版本 1.35 2021.08.01
- Fix Position side issue
- Optimized program code
版本 1.34 2021.06.22
- Various bug fixes and improvements
版本 1.33 2021.05.30
- Add delay parameter for data request rate
- Various bug fixes and improvements
版本 1.32 2021.05.22
- Fix issue with history data
- Fix issue with chart properties
版本 1.31 2021.05.15
- Add HistoryData parameter for maximum data
- Various bug fixes and improvements
版本 1.3 2021.05.03
- Various bug fixes and improvements
版本 1.2 2021.05.02
- Various bug fixes and improvements
版本 1.1 2021.05.01
- Fixed minor bug for volume data
- Optimized program code