Trading libraries for MetaTrader 5

Here you will find many programs for the MetaTrader 5 trading platform, which save the trader from routine operations and help him concentrate only on the really important things

Special offer

Time Left to Buy:

Up to 29% OFF

Shopping cart

The cart is empty

MetaTrader 5

Not enough Bitcoins for your order?

You can buy them at the following places

Mercuryo Buy

ChangeHero Buy

Coinmama Buy

Indacoin Buy

ChangeNow Buy

Changelly Buy

BTCDirect Buy (Euro)

Top Rated Products MT5

995.00 USD706.45 USD Aura Rocket MT5
Stanislav Tomilov
999.00 USD709.29 USD Darwin Evolution MT5
Guillaume Duportal
715.00 USD507.65 USD Divo EA
Anton Kondratev

Binance Library

450.00 USD319.50 USD

Free updates are included

We Accept Cryptocurrency Payments

We guarantee that all our
products are 100% authentic


MetaTrader 5
Hadil Mutaqin SE


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.


- Open MQL5 demo account

- Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries

- Download Header file and EA sample

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

      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;
          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[];
          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[];
          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[];
          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()

void OnDeinit(const int reason)

void OnTick()



If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.

Simply send a request for refund or exchange with your order number by email:

Refund requests received more than 30 days after purchase will be rejected.

Email Us Now! Support is available 24/7
by Email:

Do You Need Help?
Click Here To Start Live Chat

Contact Us

Copyright © 2022 All rights reserved. Terms and conditions | Privacy policy     We speak your language EN|CN|DE|ES|RU

RISK WARNING: is a software reseller, we do not offer investment advice or execute trades. The software we provide is a tool where the settings are input by the end user to design their own trading strategy. Trading forex and CFDs carry a high degree of risk to your capital and it is possible to lose your entire deposit. Only speculate with money you can afford to lose. As with any trading, you should not engage in it unless you understand the nature of the transaction you are entering, and the true extent of your exposure to the risk of loss. These products may not be suitable for all investors, therefore if you do not fully understand the risks involved, please seek independent advice.