• 概述
  • 评论 (1)
  • 评论 (2)
  • 新特性

Binance Library

5

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

- Attach BinanceEA-Sample to the chart


Example how to call Binance Library from EA

#include <Binance.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

Binance binance; 

int OnInit()
{  
   binance.init(Symbol,HistoryData,ApiKey,SecretKey);  
   binance.showChart();      

   /* 
      double balanceBTC  = binance.balance("BTC");  //--Check BTC balance--//	
      double balanceUSDT = binance.balance("USDT"); //--Check USDT balance--//   
   
      //--Place buy market order BTCUSDT quantity 0.001 BTC at market price--//
          binance.orderBuyMarket("BTCUSDT"     // symbol name
                                 ,0.001);      // order quantity
                                                               
      //--Place buy limit order BTCUSDT quantity 0.001 BTC at limit price 15500 USDT--//                             
          binance.orderBuyLimit("BTCUSDT"      // symbol name
                                ,0.001         // order quantity
                                ,15500         // limit price
                                ,"GTC");       // time in force: GTC, IOC, FOK, default GTC  
                                                                             
      //--Place sell market order BTCUSDT quantity 0.001 BTC at market price--//
          binance.orderSellMarket("BTCUSDT"    // symbol name
                                  ,0.001);     // order quantity
                                                      
      //--Place sell limit order BTCUSDT quantity 0.001 BTC at limit price 25500 USDT--//
          binance.orderSellLimit("BTCUSDT"     // symbol name
                                 ,0.001        // order quantity
                                 ,25500        // limit price
                                 ,"GTC");      // time in force: GTC, IOC, FOK, default GTC  
   
      //--Get exchange info--//
          ExchangeInfo info;
          binance.getExchangeInfo(Symbol(),info);
            
          Print("quantityDigit: ",info.quantityDigit);
          Print("priceDigit: ",   info.priceDigit);
          Print("minNotional: ",  info.minNotional);
          Print("minQty: ",       info.minQty);
          Print("maxQty: ",       info.maxQty);
          Print("stepSize: ",     info.stepSize);

      //--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 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 origQty       = openOrders[i].origQty;   
             double executedQty   = openOrders[i].executedQty;       
             ulong  time          = openOrders[i].time;           
          }

      //--Get trade history--//
          TradeHistory tradeHistory[];
          binance.getTradeHistory(Symbol(),tradeHistory);
   
          for(int i = ArraySize(tradeHistory)-1; i >= 0; i--)
          {
             long   orderId         = tradeHistory[i].orderId;      
             string symbol          = tradeHistory[i].symbol;        
             double price           = tradeHistory[i].price;               
             double qty             = tradeHistory[i].qty;              
             double quoteQty        = tradeHistory[i].quoteQty;         
             double commission      = tradeHistory[i].commission;       
             string commissionAsset = tradeHistory[i].commissionAsset;  
             ulong  time            = tradeHistory[i].time;             
             bool   isBuyer         = tradeHistory[i].isBuyer;          
             bool   isMaker         = tradeHistory[i].isMaker;          
          }
   */ 

   return 0;
}

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

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

void OnTick()
{   

} 


评论 1
Konstantin
21
Konstantin 2021.08.27 10:06 
 

The best Binance library. I do recommend it to everyone.

推荐产品
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
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
This expert is best when running on GBPUSD M30 and is designed to give consistent mid/long term revenues. It doesn't use any dangerous strategies as martingale or grid trading. All orders are protected by a stoploss and the money management feature allows to protect the account balance. This expert also includes a sophisticated time management system to target best times to trade. This EA is not a scalper and will be less affected by slippages and spreads from brokers. It will trade less than a
Parallax FX
Michael Prescott Burney
Parallax EA for AUDUSD H1 Chart Experience the next level of automated trading with Parallax EA , meticulously crafted for the AUDUSD H1 chart. This expert advisor leverages the power of 300 finely-tuned strategies , each contributing to an exceptionally high win rate over the past five years . Designed for traders who demand perfection, Parallax EA is the culmination of extensive research, optimization, and real-world testing. Key Features: Unparalleled Strategy Integration: Harness the collec
Derivonit EA
Lungile Mpofu
Derivonit EA  is fully automated Expert Advisor for trading Boom 1000 Index  offered by Deriv formerly known as Binary Dotcom. The EA uses more than seven strategies to open trades and close. It is based on CCI, STOCHASTICH, BANDS, ALLIGATOR and ENVELOPES for opening trades and then uses ATR, ADX, Accelerator Oscillator and RSI for closing trades. The EA will automatically open trades and close on Take Profit. Lot size and number of trades can be also changed depending on account balance you hav
Trade Dashboard MT5
Fatemeh Ameri
4.96 (52)
疲于复杂的订单下达和手动计算?Trade Dashboard 是您的解决方案。凭借其用户友好的界面,订单下达变得轻而易举,只需点击一下,您就可以开设交易、设置止损和止盈水平、管理交易手数,并计算风险回报比,让您只需专注于您的策略。告别手动计算,使用 Trade Dashboard 简化您的交易体验。 立即下载演示版本 。 您可以在这里找到仪表盘功能和特性的详细信息 。 加入 Telegram 频道 。 购买后请给我发消息以获取支持。如果您需要添加更多功能,可以在产品的评论区留下您的想法,我愿意听取任何建议,希望您能在使用我的产品时获得最佳体验 。 这是 MT4 版本。 风险管理:使用 Trade Dashboard,可以将您的风险设置为账户余额或权益的百分比,或将风险设置为总金额。在图表上直观地定义您的止损,让工具准确计算每个货币对的适当手数。该工具还可以根据您期望的风险回报比自动设置止盈水平。它甚至可以在手数计算中涵盖佣金和点差费用。此外,您的止损和止盈可以转变为虚拟水平,隐藏于经纪商。通过 Trade Dashboard 的高级风险管理功能,掌控风险,保护您的资本。
Exp Crassula
Aleksey Luppey
The Exp Crassula expert Advisor can start working with a minimum Deposit of $ 20. it is possible to enable automatic lot increase (calculated from the result of the last transaction.) The expert is working around the clock in fully automatic mode. The expert showed good results on the history of the EURUSD H1 pair. You can enable it on other timeframes and currency pairs by first testing and selecting the minimum size for the calculation in paragraphs parameter. it is recommended to use fr
Helios AI
Nestor Alejandro Chiariello
Helios AI 為新黃金交易的股價實施的新人工智慧技術非常高效,可以透過機器學習進入市場的關鍵走勢來分析市場範圍,解構滑點進行深入分析,無需對沖,不是馬丁,是擁有高度尖端新技術的黃牛。 人工智慧主要與我們的伺服器一起工作,我們採用了一項獨特的技術,當您比較價格時,它會在我們的伺服器上即時進行再次比較,以比較其他市場並進行匹配。這樣它就會諮詢幾個網絡 下一個價格 1599 還剩 3 件 如果我們知道滑點的排名較低,則可以根據時間進行內部分析以適應滑點 從一天開始到結束進行令人難以置信的每日分析 需要說明的是,我的策略開發是我作為專業交易員多年來設計的,加入了人工智慧的自適應來優化效能,使其變得更好。 應該高度注意的是,這是真正的黃牛,利潤將是真實的,透過止盈和停損進行控制 這樣你的錢就會受到保護 您不需要有交易經驗,我的工具是為初學者和專家設計的,只需兩次簡單的點擊即可安裝,因為它將像專業交易者一樣完成工作 購買我的產品後,要求我獲得最佳配置,您還可以在這裡看到我的其他產品 MQL5 該人工智慧主要針對那些想要替代方案並 24/5 工作的人,因為
Apolo AI MT5
Nestor Alejandro Chiariello
你好,交易者,我严格地设计了这个工具,并提供了真实的结果,Apolo AI 旨在并专门设计用于利用由人工智能和加拿大货币节点构建的趋势算法进行剥头皮,在这里我们可以看到其 1 年回测的结果,从 10k 到 40k,我们还可以看到真实账户信号,真钱中奖,结果类似,Apollo 太不可思议了! 我会告诉你一些关于设计的信息,基于在稳定货币(如美元兑加元)的趋势中进行剥头皮的节点范围,通过这种方式,人工智能负责构建适当的点以进行低风险入场,在 相反的情况,我们有一些节点,您根据恢复或退出并再次恢复的可能性设置恢复因素进入的固定点 如果我们知道滑点的排名较低,则根据时间进行内部分析以适应滑点 需要注意的是,我的策略开发是我作为专业交易员多年来设计的,加入了人工智能的自适应来优化性能,使其变得更好。 应该高度注意的是,这是真正的黄牛,利润将是真实的,通过止盈和止损进行控制 这样你的钱就会受到保护 您不需要有交易经验,我的工具是为初学者和专家设计的,只需两次简单的点击即可安装,因为它将像专业交易者一样完成工作 购买我的产品后,要求我获得最佳配置,您还可以在这里看到我的
The Market Destroyer
Victor Cosme Cuenca
介绍TheMarketDestroyer,终极半自动EA,适用于MQL5的专业交易者! 主要特点: 半手动控制: TheMarketDestroyer为您提供设定买入或卖出入场点的灵活性。一旦市场达到设定的止盈(TP),交易会自动关闭。然后,您只需再次设定下一个交易的入场点。 可定制的手数倍增器: 使用我们的手数倍增系统调整您的策略。您可以在市场触及止损(SL)时调整手数,从而优化您的恢复机会。 倍增设置: 设置触及SL的次数后,EA将应用手数倍增器。这种灵活性允许您更有效地管理风险,并根据您的交易风格进行调整。 验证的策略: 我们展示的图片和视频基于MQL5策略测试器中的机器人自动测试。这些测试在无限循环中进行,以展示EA的潜力。然而,在实际市场条件下,TheMarketDestroyer在达到TP时会停止工作,您需要手动设置另一个订单。 实时盈利能力: 尽管自动测试令人印象深刻,TheMarketDestroyer在实时市场条件下半自动使用且经过回测和巩固的策略时,可以更加盈利。 可视化界面: 机器人具有可视化界面,您可以通过鼠标轻松移动入场点。 马丁格尔策略: TheMarket
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
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
区间突破策略简介(收盘前清仓)      区间=昨高-昨低 上轨=开盘价+区间*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
Bullish Harami GA
Osama Echchakery
The   Bullish Harami candlestick pattern   is formed by two candles. Here’s how to identify the Bullish Harami candlestick pattern: The first candle must be bearish and have a big body The second candle must be small and bullish The second candle is inside the body of the first candle This 2-candle bullish candlestick pattern is a reversal pattern, meaning that it’s used to find bottoms. For this reason, we want to see this pattern after a move to the downside, showing that bulls are starting to
Volume Flow Binance
Thalles Nascimento De Carvalho
Volume Flow Binance! 您是否曾想过能够访问您最喜欢的加密货币的 times and trades 数据,了解交易量流动和价格波动分析,即使您的经纪商不提供完整的交易历史记录? 有了 Volume Flow Binance ,这一切现在变为现实!这个 MQL5 脚本是为寻求实时市场动态详细视图的加密货币交易者而设计的。 主要特点: 直接访问脚本菜单中任何加密货币的 times and trades 数据。 从全球领先的交易所 Binance 实时更新数据。 精确的交易量流动分析,让您能够识别并预测价格走势。 与 Times and Sales Crypto 指标 集成,将您的市场分析提升到一个新水平。 为什么选择 Volume Flow Binance? 这是那些希望通过观察每笔交易来实时了解买卖行为的完美工具!通过这个脚本,您将获得深入的见解,并在其他交易者面前获得竞争优势。 不要错过这个机会! 通过 Volume Flow Binance 解锁市场的力量,在加密货币革命中保持领先一步! 安装和设置说明: 脚本安装
FREE
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
MA Gold Sniper Entry
Samson Adekunle Okunola
利用我们的 MA Gold Sniper 入场 EA 最大化您的交易潜力 利用我们经验丰富的团队精心设计的 EA,改变您的交易体验,实现持续盈利和最佳性能。 安全的交易方法: 无风险策略: 避免使用高风险的网格或马丁格尔系统,确保交易更加安全稳定。 一致的方法: 采用经过验证的可靠交易策略,专注于长期成功和可持续性。 主要特点: 简单的 MA Sniper 入场策略: 精准的入场点: 利用改进的移动平均线 (MA) 交叉系统,高精度识别最佳入场点。 每日趋势分析: 分析 1 天 (D1) 时间范围,确定市场整体趋势方向,确保交易与当前趋势保持一致。 每小时精度: 在 1 小时 (H1) 时间范围内,当 5 移动平均线 (MA) 超过 10 移动平均线 (MA) 时执行交易,确保在最合适的时机进行交易。 高级资金管理: 智能头寸调整: 使用动态头寸调整算法,有效管理资本,最大限度降低风险,最大化增长潜力。 资本保全: 专注于保护您的投资,确保长期可持续性,减少亏损。 卓越的风险回报率: 利润最大化: 战略性设计,优化风险和回报的平衡,提高您的利润潜力,风险回报率为 1/3。 风险缓解:
The strategy which is applied in finance market all around the world is known as CTA strategy. A successful CTA always includes multi-strategies, multi-instruments and multi-timeframe. The series of Multi Instruments TrendSystem (MITS) provide a profitable strategy which can be used in different instruments with different timeframe. Multi Instruments TrendSystem 3 BS  MT5 (Blood Sword)  is a fully automated multi-instrument Expert Advisor. This EA is one of our trend strategies EA, it can be u
Zen MT5
Elena Kusheva
我滑点=0;-允许滑点,0-不使用   S cmt="";-评论订单   我魔法=20200131;-魔术,EA的订单ID   工作时间="00:00-24:00"; - 格式为HH:MM-HH:MM,全天0-24或00:00-24:00   D fix_lot=0.01;//fix lot-working lot   Order_tp D=100.0;//TP. 我建议-10.0-以点为4个字符获利! EA自动检测5个字符的工具,并将自动增加值10倍。   D order_sl=0.0;//SL-止损点数为4个字符!   B AverageUse=true;-使用平均或不   D LotMn=1.59;-用于平均的很多乘数。   D AverageStep=30;-订单之间的步骤. 我推荐-100   D平均值平均值=60;-当平均值时获利。   I MaxOrders=20;-平均网格中的最大订单数。 我推荐-5   TF tf=PERIOD_D1;-working TF 我BarRepeat=3;酒吧重复-在同一方向重复酒吧的最小数目
Twenty 23th EA
Piet Tshobi Mahlangu
ABOUT TWENTY 23th EA This is one of the EA's in the market that trades martingale with moving averages, this ea trades using 2 moving averages and the other moving average id for the trailing user don't need to worry about setting trailing stops.This ea martingale on both side at the same time. TRADING PLAN We also have daily trading plan whereby the user will be able to set the trading plan on how much each day the trader is willing to loss or gain. once the daily target is reached ea stops wor
Top Performance EA
Lorenzo Capasso Barbato
4.33 (6)
The EA works with 24 pairs, it has been programmed with specific indicators designed by me, it is not the result of optimizations on past facts and events. The EA is fully customizable from input. The EA is able to detect countertrend movements and therefore opens hedging positions until the new signal to protect the account from strong drawdowns (this is a rare fact. In the backtest 2 or 3 times at most) but it still manages to reduce the drawdoWn and avoid major stop losses. Don't judge EA by
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. 
专家顾问允许您模拟由另一位专家执行并保存在csv文件中的事务的执行。 这对于在另一台服务器上检查交易策略的结果很有用。 使用另一个程序,例如,帐户历史导出器将帐户上的交易历史导出为所需格式的csv文件,或将程序代码从专家历史导出器连接到您的专家以导出历史。 在文件的开头应该有这样一行: DATE,TICKET,TYPE,SYMBOL,VOLUME,ENTRY,PRICE,STOPLOSS,TAKEPROFIT,PROFIT,COMMISSION,FEE,SWAP,MAGIC, COMMENT 它可能不是从文件的一开始就找到的,也就是说,任何其他信息都可能在它之前。 在它们之后和文件的末尾,有一行以逗号分隔的字段值用于一个事务。 行中字段的值: DATE - date in the format YYYY.MM .DD HH:MM:SS TICKET - transaction ticket (integer) TYPE - transaction type from ENUM_DEAL_TYPE (integer) SYMBOL - trading i
FREE
FF4 Scalper
Valerii Gabitov
Ea does not use martingale or grid and has a stop loss for every position.  Symbols: EURCHF, EURCAD, USDCHF and other. Time frame: M15 Best results on EURCAD M15. Live signals and other products here -  https://www.mql5.com/ru/users/leron34/seller#products The EA should run on a VPS continuously without interruption.  Multicurrency advisor. You can enter pairs in the EA settings for tests. I recommend the default settings. You can install an adviser on any pair on M15. The EA has a news filter
Candle Bot
Steve Zoeger
Welcome to the MT 5 Candle Bot Simply set the Indicator Filter as you want and the Robot does the Job for you. This Robot works on all frames time frames  and all pairs, the bot places entry positions. Features: - Magic Number - Spread Filter - Take Profit - Stop Loss - Bar Shift - Exit at opposite Signal - Filter (adjustable) - Trailing (adjustable) - Martingale (adjustable) and many  more. Please feel free to download it and trade 24/7. If you need help setting it up please feel free to contac
币安是全球知名的加密数字货币交易所!为方便MT5用户直接进行币安期货交易,程序提供以下交易功能: 1、模仿币安期货交易风格,提供友好的操作面板; 2、自行输入api、secret(需要在币安api开通期货交易权限)即可获取杠杆,余额等信息; 3、支持limitOrder(限价订单), marketOrder(市价订单), stopLimit(限价止盈止损单), stopMarket(市价止盈止损单); 4、市价单时可根据最新价格算出最大开仓量和成本信息; 5、可显示所有的订单列表,并可取消订单; 6、可现实所有的仓位列表,并可按照市价订单清空仓位; 7、支持深度信息自动显示(需要深度Websocket产品,可参考: https://www.mql5.com/zh/market/product/68977 ); 8、支持api代理,适合于不能直接访问币安的用户。默认提供的代理为:trade.crossers.net,注意需要将地址放入:工具——选项——EA——WebRequest列表中; 如果需要在的EA中直接交易币安期货,可联系我们提供币安期货交易源代码库 注意:基于mt5开发的量化平
Correlation NN
Konstantin Katulkin
It works according to the spread trading strategy. The essence of spread strategies is to profit from the difference between asset prices. When prices diverge, two opposite transactions are opened for different currency pairs. Closing occurs when prices converge backwards or according to signals from the neural network.   Parameters Symbol1                           -   the first currency pair Symbol1                            - the second currency pair DiffPrevCurrOpenB          -  the discr
QuantumAlert RSI Navigator is a free indicator available for MT4/MT5 platforms, its work is to provide "alerts" when the market is inside "overbought and oversold" regions in the form of "buy or sell" signals. This indicator comes with many customization options mentioned in the parameter section below, user can customise these parameters as needful. Join our MQL5 group , where we share important news and updates. You are also welcome to join our private channel as well, contact me for the priva
FREE
Market Markers EA
Tshepo Michael Motaung
This EA is sessions trading robot that allows you to trade the trading session of yours choice as it waits for market markers to make decision for the direction of the day before taking any trades. It has 3 entry signals that uses candle stick patterns, Moving Averages and Range Break to maximize profits and to take advantage of the trending market. The EA practices risk management and has the ability to grow account by risking certain percentage of your account(risk percentage) each time there
该产品的买家也购买
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
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,
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
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
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.
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
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
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
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
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
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
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,
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-
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
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
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
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[],
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 
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
作者的更多信息
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
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
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
筛选:
Konstantin
21
Konstantin 2021.08.27 10:06 
 

The best Binance library. I do recommend it to everyone.

回复评论
版本 1.80 2022.02.02
- Fixed no connection issue
- Optimized program code
版本 1.79 2021.10.20
- Various bug fixes and improvements
版本 1.78 2021.09.12
- Various bug fixes and improvements
版本 1.77 2021.09.10
- Added Margin Trading functions
- Added Stop-Market order function
- Various bug fixes and improvements
版本 1.76 2021.08.29
- Added function to get exchange info and orderbook data
- Added function to get open orders, order history and trade history
- Various bug fixes and improvements
版本 1.75 2021.06.22
- Various bug fixes and improvements
版本 1.74 2021.05.30
- Add delay parameter for data request rate
- Various bug fixes and improvements
版本 1.73 2021.05.22
- Fix issue with history data
- Fix issue with chart properties
- Various bug fixes and improvements
版本 1.72 2021.05.19
- Add option for 1 day history data
- Optimized program code
版本 1.71 2021.05.15
- Add HistoryData parameter for maximum data
- Various bug fixes and improvements
版本 1.7 2021.05.08
- Fix issue with exchangeInfo data
版本 1.6 2021.05.07
- Fixed minor bugs
- Optimized program code
版本 1.5 2021.05.03
- Various bug fixes and improvements
版本 1.4 2021.05.02
- Various bug fixes and improvements
版本 1.3 2021.05.01
- Fixed minor bug for volume data
- Optimized program code
版本 1.2 2021.02.16
- Various bug fixes and improvements