• 概要
  • レビュー (1)
  • コメント (3)
  • 最新情報

Binance Library

5

The library is used to develop automatic trading on Binance Spot Market from MT5 platform.

  • Support all order types: Limit, Market, StopLimit and StopMarket
  • Support Testnet mode
  • Automatically display the chart on the screen

Usage:

1. Open MQL5 demo account

2. Download Header file and EA sample https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln

  • Copy Binance.mqh to folder \MQL5\Include
  • Copy BinanceEA-Sample.mq5 to folder \MQL5\Experts

3. Allow WebRequest from MT5 Tools menu >> Options >> Expert Advisors and add URL:

        https://api.binance.com

        https://testnet.binance.vision

4. Open any chart and attach BinanceEA-Sample to the chart


Binance Library Functions:

This function must be called from the OnInit() function

      void init                      
      (
         string symbol,                   // symbol name
         string historicalData,           // historicalData: 1W = 1 week, 1M = 1 month, 3M = 3 months, 6M = 6 months, 1Y = 1 year
         string apiKey,                   // binance api key
         string secretKey,                // binance secret key
         bool   testnet = false           // testnet mode
      );


This function must be called from the OnTimer() function

      void getTickData();

 

This function must be called from the OnDeinit() function     

      void deinit();     


The function used to place order, returns orderId if successful, otherwise -1

      long order       
      (
         ORDERTYPE orderType,             // enum ORDERTYPE: BUY_MARKET, SELL_MARKET, BUY_LIMIT, SELL_LIMIT, BUY_STOP, SELL_STOP, BUY_STOPLIMIT, SELL_STOPLIMIT 
         double    quantity,              // order quantity
         double    limitPrice = 0,        // order limitPrice
         double    stopPrice = 0,         // order stopPrice
         string    timeInForce = "GTC",   // timeInForce: GTC, IOC, FOK, default GTC
         string    comment = ""           // order comment
      );

 

Cancel open orders, returns true if successful, otherwise false

      bool cancelOrder                    
      (
         long orderId = -1                // order Id, default -1 cancel all open orders
      );


Get the number of open orders

      int ordersTotal                     
      (
         ORDERTYPE orderType = -1         // enum ORDERTYPE: BUY_LIMIT, SELL_LIMIT, BUY_STOP, SELL_STOP, BUY_STOPLIMIT, SELL_STOPLIMIT, default -1 number of all open orders
      );


Get available asset balance

      double getBalance   
      (
         string asset                     // asset name
      );  

      

Get exchange info, returns ExchangeInfo structure if successful

      void getExchangeInfo                
      (
         ExchangeInfo &exchangeInfo       // [out] ExchangeInfo structure
      );


Get orderbook, returns OrderBook structure array if successful

      void getOrderBook                   
      (
         OrderBook &orderBook[],          // [out] OrderBook structure array
         int limit = 5                    // limit: 5, 10, 20, 50, 100, default 5
      );      


Get open orders, returns OpenOrders structure array if successful

      void getOpenOrders                  
      (
         OpenOrders &openOrders[]         // [out] OpenOrders structure array
      );                                       


Get trade history, returns TradeHistory structure array if successful

      void getTradeHistory                
      (
         TradeHistory &tradeHistory[],    // [out] tradeHistory structure array
         int limit = 10                   // limit default 10, max 1000
      );

      

Example how to call Binance Library from EA

#include <Binance.mqh>

input string Symbol         = "BTCUSDC";     
input string HistoricalData = "1W";    
input string ApiKey         = "";          
input string SecretKey      = "";    

Binance b;

int OnInit()
{
   b.init(Symbol,HistoricalData,ApiKey,SecretKey);
   
   return 0;
}

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

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

void OnTick()
{ 


   // Place buy market order
   // b.order(BUY_MARKET,0.001);                        
   
   // Place buy limit order
   // b.order(BUY_LIMIT,0.001,75000);              
   
   // Place buy stop order
   // b.order(BUY_STOP,0.001,0,120000);                       
   
   // Place buy stoplimit order
   // b.order(BUY_STOPLIMIT,0.001,110000,120000);  

 
   // Place sell market order
   // b.order(SELL_MARKET,0.001);                         
   
   // Place sell limit order
   // b.order(SELL_LIMIT,0.001,120000);            
   
   // Place sell stop order
   // b.order(SELL_STOP,0.001,0,75000);                          
   
   // Place sell stoplimit order
   // b.order(SELL_STOPLIMIT,0.001,80000,75000);	


   // Cancel all open orders        					   
   // b.cancelOrder();             					                 

   // Get available asset balance
   // double balanceBTC = b.getBalance("BTC");      
   // double balanceUSDC = b.getBalance("USDC");
   
   // Get the number of all open orders
   // int ordTotal = b.ordersTotal();    
     

/* // Get exchangeInfo

   ExchangeInfo exchangeInfo;
   b.getExchangeInfo(exchangeInfo);
   
   string baseAsset   = exchangeInfo.baseAsset;
   string quoteAsset  = exchangeInfo.quoteAsset;
   double minQty      = exchangeInfo.minQty;
   double maxQty      = exchangeInfo.maxQty;
   double minNotional = exchangeInfo.minNotional;
   int    qtyDigit    = exchangeInfo.qtyDigit;
   int    priceDigit  = exchangeInfo.priceDigit;
*/

   
/* // Get orderBook

   OrderBook orderBook[];
   b.getOrderBook(orderBook);
   
   for(int i = 0; i < ArraySize(orderBook); i++)
   {
      double askPrice = orderBook[i].askPrice;
      double askQty   = orderBook[i].askQty;
      double bidPrice = orderBook[i].bidPrice;
      double bidQty   = orderBook[i].bidQty;
   } 
*/
 
     
/* // Get open orders

   OpenOrders openOrders[];
   b.getOpenOrders(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[];
   b.getTradeHistory(tradeHistory);
   
   for(int i = 0; i < ArraySize(tradeHistory); 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;          
   }                   
*/
} 


レビュー 1
Konstantin
21
Konstantin 2021.08.27 10:06 
 

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

おすすめのプロダクト
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 c
MQL5 EA向けに、開発者が主要な取引統計情報へ簡単にアクセスできるライブラリです。 ライブラリで利用可能なメソッド: アカウントデータと利益: GetAccountBalance() : 現在の口座残高を返します。 GetProfit() : 全取引の純利益を返します。 GetDeposit() : 入金の総額を返します。 GetWithdrawal() : 出金の総額を返します。 取引分析: GetProfitTrades() : 利益の出た取引数を返します。 GetLossTrades() : 損失の出た取引数を返します。 GetTotalTrades() : 実行された全取引数を返します。 GetShortTrades() : ショートポジションの取引数を返します。 GetLongTrades() : ロングポジションの取引数を返します。 GetWinLossRatio() : 勝ち取引と負け取引の比率を返します。 GetAverageProfitTrade() : 利益の出た取引1回あたりの平均利益を返します。 GetAverageLossTrade() : 損失の出た取引
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 co
Here   is   the   English translation   of   your   description   for   the EA   (Expert   Advisor): --- This   is a   time -based   automatic trading   EA . It allows   you   to   set the   exact   time   for trading , down   to   the   second , and   specify the   maximum number   of   orders . You   can choose   to   place   either   buy   or   sell   orders . It   is possible to   set take   profit and   stop   loss   points . Additionally , you can   specify   how   long after   placing  
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
Shawrie
Kevin Kipkoech
This Pine Script implements a Gaussian Channel + Stochastic RSI Strategy for TradingView . It calculates a Gaussian Weighted Moving Average (GWMA) and its standard deviation to form an upper and lower channel. A Stochastic RSI is also computed to determine momentum. A long position is entered when the price closes above the upper Gaussian band and the Stoch RSI K-line crosses above D-line . The position is exited when the price falls back below the upper band. The script includes commission, cap
このライブラリは、できるだけ簡単にMetaTrader上で直接OpenAIのAPIを使用するための手段として提供されます。 ライブラリの機能についてさらに詳しく知るには、次の記事をお読みください: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要:EAを使用するには、OpenAI APIへのアクセスを許可するために、次のURLを追加する必要があります  添付画像に示されているように ライブラリを使用するには、次のリンクで見つけることができる次のヘッダーを含める必要があります:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import これが、ライブラリを簡単に使用するため
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
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 pric
FREE
UZFX - Delete All Drawing and Objects on Chart Instantly は、アクティブなチャートからすべての描画オブジェクトを即座に削除するように設計された、シンプルかつ強力な MetaTrader 5 (MT5) スクリプトです。このスクリプトは、テクニカル分析の描画、トレンドライン、フィボナッチツール、テキストラベル、その他のオブジェクトを手動で1つずつ削除することなく、素早くチャートから消去する必要があるトレーダーに便利です。 特徴 アクティブチャート上の全てのオブジェクトと描画を削除。 一度の実行で即座に動作。 削除の成功と失敗の確認メッセージを表示。 トレーダーがより良い分析のために、クリーンで乱雑でないチャートを維持するのに役立ちます。 使用方法 すべてのオブジェクトを削除したいチャートにスクリプトをアタッチします。 スクリプトは自動的にすべてのオブジェクトをループして削除します。 オブジェクトの削除が完了すると、Expertsタブにメッセージが表示されます。 注:このスクリプトは、チャート上で実行されている未決済注文、イ
FREE
Gator
Eric Mangeni Wakho
Introducing Gator Algo(Intelligent Algo) , an advanced Expert Advisor (EA) designed with a unique blend of Supply and Demand strategy to give you an edge in the market. It leverages the Hull and Stochastic Trend indicators for precision entries and exits. With built-in Telegram notifications, you'll stay informed on all trade actions in real-time. Gator Algo combines cutting-edge automation with a strategic approach that uses AI to help you maximize profits. Perfect for traders seeking a powerfu
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 ord
AO Trade
Ka Lok Louis Wong
AOトレードシステムは、市場のトレンドを利用したトレードに特化しており、競売やニュースの時間を参照ポイントとして、他の特定の注文時間と比較し、市場のトレンドを予測します。 **EAで使用されるすべての時間パラメータは、あなたの端末の時間を基にしています。異なるブローカーは異なるGMTのタイムゾーンで動作する場合があり、夏時間の調整によりさらに変化する可能性があります。** **実装前に、端末に合わせて時間設定を十分に確認してください。** 推奨設定: M1タイムフレームで使用する HK50 / DE40 / ustec / UK100 時間のチェック中には、特定のチェック時間の分後に価格のチェックが行われることに気付くでしょう(1.2チェック時間の分)。この設計は意図的であり、参照されているバーが完了することを許可し、オープン、ハイ、ロー、およびクローズの値が注文時間と正確に比較できるようにします。 設定 -----------------1 タイマー------------------- 1.1 チェック時間の時間(HH) -- 価格を記録するために使用されるタイムスタンプ
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 s
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.
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,
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, t
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
Bonus: By purchasing this Expert, get 1 Expert as a gift (Only for the next 7 buyers) To receive the bonus, send a message after purchase A fully automatic expert Designed and produced 100% by artificial intelligence, with the world's most advanced technology All trades have profit and loss limits, with the best and least risky market strategy, without using dangerous strategies such as Martingale and hedges, etc. A specialist who has been trained by artificial intelligence for years to correct
Flip Manager
Caleb David Kiragu
Introducing Flip Manager: Smart, Automated Ledger Management for Traders After years of manually tracking trades, managing account records, and balancing ledgers, I realized there had to be a better way. Keeping up with every transaction, profit calculation, and risk adjustment was becoming a time-consuming task—so I set out to automate the entire process. That’s how Flip Manager was born. I teamed up with a skilled programmer who shared my passion for efficiency and accuracy in trading. What st
Introducing Steady Runner NP EA (Free Version): Precision Trading for GBPUSD M5 What is Steady Runner NP EA? Steady Runner NP EA is a   mathematically designed Expert Advisor (EA)   exclusively crafted for the   GBPUSD M5 timeframe . Built with advanced algorithms and statistical models, this EA automates your trading strategy to deliver   precision, consistency, and discipline   in every trade. Whether you're a seasoned trader or just starting out, Steady Runner NP EA is your reliable par
FREE
MetaTrader 5 (MT5)用のUZFX - Close All Open Buy & Sell Orders Instantlyスクリプトは、トレーダーが1回の約定ですべてのアクティブなマーケットポジションを即座にクローズできる強力なツールです。このスクリプトは、緊急の取引管理に最適で、トレーダーがボラティリティが高い時、ニュースイベント、または戦略の調整中に素早く市場から撤退するのに役立ちます。 特徴 全シンボルの未決済の買いポジションと売りポジションをすべて決済します。 正確な約定のために最新の買値/売値を使用します。 トレーダーが最小限の手作業でマーケットから即座に撤退できるようサポートします。 使用方法 MT5チャートにスクリプトをアタッチします。 スクリプトは、すべての買いポジションと売りポジションをスキャンして決済します。 各決済注文の確認メッセージがExpertsタブに表示されます。 注意: このスクリプトは未決注文を削除しません。 添付チャートだけでなく、すべての取引シンボルで機能します。 スクリプトは即座に実行されるため、スクリプトを実行する前にすべて
FREE
Binanceは世界的に有名な暗号通貨取引所です!暗号化されたデジタル通貨市場のリアルタイムデータ分析を容易にするために、プログラムは分析のためにBinanceリアルタイムトランザクションデータをMT5に自動的にインポートできます。主な機能は次のとおりです。 1.通貨セキュリティ部門でのスポット取引ペアの自動作成をサポートします。また、利益通貨と基本通貨を別々に設定することもできます。たとえば、ProfitCurrencyが空の場合、すべての取引エリアを意味します。オプション:USDT、BTC、DAI、およびBinanceでサポートされているその他の取引エリア(契約取引は現在サポートされていません)。BaseCurrencyは空で、すべての通貨を示します。BNBおよびETCも可能です。個別に設定するBinanceでサポートされている暗号通貨を待ちます。 2. Binanceの各通貨の価格精度、取引量の精度、および最大取引量を同期します。 3. WebSocketを介してBinanceをリンクすると、すべてのトランザクションをMt5にプッシュして市場を更新できます。 4.すべての
Centage
Kwuemeka Kingsle Anyanwu
Centage: Your Smart Trading Bot for Risk Management. Unlike typical trading bots, Centage prioritizes risk management by incorporating an essential feature: it closes all open trades when your account balance reaches a predefined threshold. This feature makes Centage ideal for traders who want to maintain a disciplined approach and avoid emotional decision-making.  Let Centage be your reliable partner in the world of trading, while safeguarding your investments with smart balance-based exits. Ce
Telegram to MT5: The Ultimate Signal Copying Solution Simplify your trading with Telegram to MT5 , the modern tool that copies trading signals directly from Telegram channels and chats to your MetaTrader 5 platform, without the need for DLLs. This powerful solution ensures precise signal execution, extensive customization options, saves time, and boosts your efficiency. [Instructions ] [ DEMO ] Key Features Direct Telegram API Integration Authenticate via phone number and secure code. Easily man
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 par
FREE
The Sytem Equivalent is a breakout trading system in data distribution based on deep machine learning, parameterized neural network technology. Data distribution has different types of breakout - different systems study and analyze in terms of neural network parameters, something progress up to date. The system analyzes every profit from the distribution of breakout types so that it is tested on the backtest and it is very successful.The accuracy of profit in the learning system for neural netwo
概要 外国為替や金融市場では、迅速な反応と正確な意思決定が非常に重要です。しかし、標準のMetaTrader 5端末は最小でも1分のチャートしかサポートしておらず、トレーダーが市場の変動に敏感であることを制限しています。この問題を解決するために、 秒単位チャートキャンドルインジケーター を導入しました。このインジケーターを使用すれば、1秒から30秒の市場の動向をサブチャートで簡単に表示・分析できます。 主な機能 複数の秒単位タイムフレームのサポート :このインジケーターは、以下のタイムフレームを選択でき、さまざまな取引戦略に対応します: S1 : 1秒 S2 : 2秒 S3 : 3秒 S4 : 4秒 S5 : 5秒 S10 : 10秒 S15 : 15秒 S20 : 20秒 S30 : 30秒 リアルタイム更新 :秒単位チャートはリアルタイムで更新され、各瞬間に最新の市場情報を提供します。これにより、迅速な取引判断が可能になります。 ユーザーフレンドリーなインターフェース :インジケーターはサブチャートに表示され、直感的で使いやすいです。異なるタイムフレームに素早く切り替えて市場を迅速
Trade Nasdaq 100 Like a Pro – Powered by a Decade of Expertise For years, as an EA developer, I received countless requests to create an expert advisor specifically designed to trade the Nasdaq 100. I took that challenge seriously. After nearly a decade of research, development, and real-world testing, I finally perfected an expert advisor that delivers powerful, automated trading for Nasdaq 100.This isn't just another EA—it’s the result of 10 years of refinement , built to maximize opportuniti
Название советника : Survivor  (есть расширенная версия: https://www.mql5.com/ru/market/product/36530 ) Валютные пары : USDJPY, EURUSD, GBPUSD, AUDUSD, GBPJPY, XAUUSD, EURCHF Рекомендованная валютная пара : USDJPY Таймфрейм : М5 Время торговли : круглосуточно Описание : Трендовый  советник с возможностью мартингейла и построением сетки ордеров. В советнике используются три группы аналогичных сигналов для открытия, закрытия и дополнительных сделок. При наличии тренда(определяется МА) ловится отс
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 installat
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 clo
金融とトレーディング戦略の領域を深く掘り下げ、私は一連の実験を実施し、強化学習に基づくアプローチと強化学習を使用しないアプローチを調査することにしました。 これらの手法を適用して、私は現代のトレーディングにおけるユニークな戦略の重要性を理解する上で極めて重要な微妙な結論を導き出すことができました。 ニューラル ネットワーク アドバイザーは、初期段階では目覚ましい効率性を示したにもかかわらず、長期的には非常に不安定であることが判明しました。 市場のボラティリティ、トレンドの変化、外部事象などのさまざまな要因により、企業の運営に混乱が生じ、最終的には不安定化につながりました。 この経験を武器に、私は課題を受け入れ、独自のアプローチを開発し始めました。 私の焦点は、集められた最良のインジケーターを異なるパラメーター設定で利用するアドバイザーを作成することに集中していました。 このアドバイザーは、私の独自の戦略に基づいており、さまざまなパラメーター設定を持つ 14 の指標を同時に採用し、何時間ものデータ分析と綿密なテストから生まれました。
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Kaseki
Ben Mati Mulatya
The Hybrid Metaheuristic Algorithm (HMA) is a cutting-edge optimization approach that combines the strengths of genetic algorithms with the best features of population-based algorithms. Its high-speed computation ensures unparalleled accuracy and efficient search capabilities, significantly reducing the total time required for optimization while identifying optimal solutions in fewer iterations. HMA outperforms all known population optimization algorithms in both speed and accuracy. Use Cases AO
*****主要交易XAUUSD,如果测试的时候,建议调整到XAUUSD,其他交易标的不能保证盈利效果********* 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! **************************************************************************************************************************************************************** 1、【简述】主要为趋势交易,严格筛选交易信号,一旦交易信号明确,快速交易。 2、【止损止盈】每月止盈15%,止损30%。 3、【特殊说明】严格的交易执行逻辑,一旦当月达到止盈止损后,坚决不再开
この製品は過去3年間にわたって開発されてきました。MQL5プログラミング言語で人工知能や機械学習コードを扱うための最も高度なコードベースです。MetaTrader 5でAI搭載のトレーディングロボットやインジケーターを多数作成するために使用されています。 これは、MQL5向けの機械学習に関する無料のオープンソースプロジェクトのプレミアムバージョンです。こちらからアクセスできます:  https://github.com/MegaJoctan/MALE5 。無料版は機能が少なく、ドキュメントも不足しており、メンテナンスも不十分です。小規模なAIモデル向けに設計されています。 このプレミアム製品には、AI搭載のトレーディングロボットを効率的にコーディングするために必要なすべてが含まれています。 このライブラリを購入すべき理由は? 非常に使いやすい。コードの構文は直感的で、PythonのScikit-learn、TensorFlow、Kerasなどの人気AIライブラリに似ています。 充実したドキュメント。多くの動画、サンプル、ドキュメントが用意されており、すぐに始められます。 計算効率に優れ
Pionex API EAコネクター for MT5 – MT5とのシームレスな統合 概要 Pionex API EAコネクター for MT5 は、 MetaTrader 5 (MT5) と Pionex API をスムーズに統合するツールです。トレーダーは MT5 から直接、取引の実行・管理、残高情報の取得、注文履歴の追跡ができます。 主な機能 アカウントと残高管理 Get_Balance(); – Pionex の現在のアカウント残高を取得。 注文の実行と管理 orderLimit(string symbol, string side, double size, double price); – 指定価格で 指値注文 を実行。 orderMarket(string symbol, string side, double size, double amount); – 指定量で 成行注文 を実行。 Cancel_Order(string symbol, string orderId); – ID による特定の注文のキャンセル。 Cancel_All_Order(stri
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
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 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
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 指値注文、利食い指値注文の発行 - マーケット、SLマーケット、TPマーケットの注文を行う - 指値注文の変更 - 注文をキャンセルする - 注文のクエリ - レバレッジ、マージンの変更 - 位置情報の取得 もっと... MT5 に Binance チャートがない場合を除き、暗号チャートのレンタルはオプションです。 スクリプトのデモについては、 ここをクリックしてください トレーディングパネルでの取引をご希望の場合は、 この製品に興味があるかもしれません
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support Binance Futures USD-M and COIN-M Support Testnet mode Support all order types: Limit, Market, StopLimit, StopMarket, StopLoss and TakeProfit Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh to folder \MQL5\Include Copy  Bina
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
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
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 / OnBookEven
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, StopLimit and StopMarket Support Testnet mode Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh to folder \MQL5\Include Copy  BinanceEA-Sample.mq5 to folder \MQL5\Experts 3. Allow WebRequest from MT5
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
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 );    //复杂开单
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
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. 
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 installat
このライブラリは、キーと値の配列をソートするために使用されます。多くの場合、値をソートする必要があります。 Python言語のように sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) インポート機能 利用シーン例 1. グリッド EA 注文は始値に従って並べ替えられます void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_position.SelectByIndex(i))         {          OrderTicketBuffer[i] = long (m_position.Ticket());          OpenPriceBuffer[i] = m_position.PriceOpen();      
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 
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 clo
金融とトレーディング戦略の領域を深く掘り下げ、私は一連の実験を実施し、強化学習に基づくアプローチと強化学習を使用しないアプローチを調査することにしました。 これらの手法を適用して、私は現代のトレーディングにおけるユニークな戦略の重要性を理解する上で極めて重要な微妙な結論を導き出すことができました。 ニューラル ネットワーク アドバイザーは、初期段階では目覚ましい効率性を示したにもかかわらず、長期的には非常に不安定であることが判明しました。 市場のボラティリティ、トレンドの変化、外部事象などのさまざまな要因により、企業の運営に混乱が生じ、最終的には不安定化につながりました。 この経験を武器に、私は課題を受け入れ、独自のアプローチを開発し始めました。 私の焦点は、集められた最良のインジケーターを異なるパラメーター設定で利用するアドバイザーを作成することに集中していました。 このアドバイザーは、私の独自の戦略に基づいており、さまざまなパラメーター設定を持つ 14 の指標を同時に採用し、何時間ものデータ分析と綿密なテストから生まれました。
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   an
作者のその他のプロダクト
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support Binance Futures USD-M and COIN-M Support Testnet mode Support all order types: Limit, Market, StopLimit, StopMarket, StopLoss and TakeProfit Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header file and EA sample https://drive.google.com/uc?export=download&id=17fWrZFeMZoSvH9-2iv4WDJhcyxG2eW17 Copy BinanceFutures.mqh to folder \MQL5\Include Copy  Bina
フィルタ:
Konstantin
21
Konstantin 2021.08.27 10:06 
 

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

レビューに返信
バージョン 1.82 2025.01.16
- Various bug fixes and improvements
- Optimized program code
バージョン 1.81 2025.01.13
- Various bug fixes and improvements
- Optimized program code
バージョン 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