Native Websocket

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 to MQL5.

Click here to Download the latest WSMQL.mqh
Please ensure the MetaTrader downloaded library is downloaded/named as Native Websocket.ex5 as required by WSMQL.mqh

You can always contact me for custom pricing/requests/support/questions

Whatsapp

Sample code below:

//include WSMQL.mqh - a file that has all the declarations required to interact with the library
#include <WSMQL.mqh>
// Methods below
// class CWebSocketClient {
// public:
//    bool Initialized(void); // Checks if the WebSocket client is initialized.
//    ENUM_WEBSOCKET_STATE State(void); // Returns the current state of the WebSocket connection.
//    void SetMaxSendSize(int max_send_size); // Sets the maximum send size for WebSocket messages.

//    bool SetOnMessageHandler(OnWebsocketMessage callback); // Sets the callback function for handling incoming text messages.
//    bool SetOnPingHandler(OnWebsocketMessage callback); // Sets the callback function for handling incoming ping messages.
//    bool SetOnPongHandler(OnWebsocketMessage callback); // Sets the callback function for handling incoming pong messages.
//    bool SetOnCloseHandler(OnWebsocketMessage callback); // Sets the callback function for handling WebSocket connection closures.
//    bool SetOnBinaryMessageHandler(OnWebsocketBinaryMessage callback); // Sets the callback function for handling incoming binary messages.

//    bool Connect(const string url, const uint port = 443, const uint timeout = 5000, bool use_tls = true, ENUM_LOG_LEVEL log_level = LOG_LEVEL_NONE); // Connects to a WebSocket server.
//    bool ConnectUnsecured(const string url, const uint port = 80, const uint timeout = 5000, ENUM_LOG_LEVEL log_level = LOG_LEVEL_NONE); // Connects to a WebSocket server using an unsecured connection.
//    bool ConnectSecured(const string url, const uint port = 443, const uint timeout = 5000, ENUM_LOG_LEVEL log_level = LOG_LEVEL_NONE); // Connects to a WebSocket server using a secured connection.

//    bool Disconnect(ENUM_CLOSE_CODE close_code = NORMAL_CLOSE, const string msg = ""); // Disconnects from the WebSocket server.
//    int  SendString(const string message); // Sends a string message to the WebSocket server.
//    int  SendData(uchar& message_buffer[]); // Sends binary data to the WebSocket server.
//    int  SendPong(const string msg = ""); // Sends a pong message to the WebSocket server.
//    int  SendPing(const string msg); // Sends a ping message to the WebSocket server.
//    uint ReadString(string& out); // Reads a string message from the WebSocket server.
//    uint ReadStrings(string& out[]); // Reads multiple string messages from the WebSocket server.
//    uint OnReceiveString(); // Receives and processes incoming string messages.
//    uint OnReceiveBinary(); // Receives and processes incoming binary messages.
//    uint OnMessage(); // Receives and processes incoming WebSocket messages.
// };
// Create an instance of the Client
CWebSocketClient client;//I declared this globally because of OnPingMessage requiring it
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart() {
   // Check if the client is initialized
   if (!client.Initialized()) {
      ZeroHandle();//Cleanup all clients
      return;
   }

   // Set OnMessage handler to receive text messages
   client.SetOnMessageHandler(OnMessage);// use SetOnBinaryMessageHandler for binary messages

   // Set OnPing handler to receive ping messages, 
   // Pong will be automatically sent if this handler is not set
   client.SetOnPingHandler(OnPingMessage);// use SetOnPongHandler for pong messages

   // URL and msg declaration
   string url = "stream.binance.com/ws";//Or wss://stream.binance.com/ws
   string msg = "{\"params\":[\"btcusdt@bookTicker\"],\"method\":\"SUBSCRIBE\",\"id\":27175}";
   //ALERT: Make sure stream.binance.com has been added to WebRequest list in Options -> Expert Advisors tab

   /*

    Connect to the WebSocket server through either of the below-listed functions as required

   */

   // Fully Configurable
   // if (!client.Connect(url/* , 80 || 443, 5000, false || true, LOG_LEVEL_INFO */)) { 

   // For Non-TLS(unsecured) connection - without SSL required
   // if (!client.ConnectUnsecured(url/* , 80, 5000, LOG_LEVEL_INFO */)) {

   // For TLS(secured) connection - with SSL required
   if (!client.ConnectSecured(url/* , 443, 5000, LOG_LEVEL_INFO */)) {
      ZeroHandle();//Cleanup all clients
      return;
   }

   // Send a string message
   client.SendString(msg);

   // Process messages until the script is stopped
   while (true) {
      if (IsStopped())
         break;

      if (client.State() == CLOSED) {
         Print("Socket connection closed");
         //Reconnect?
         //client.ConnectSecured(url/* , 443, 5000, LOG_LEVEL_INFO */)
         //Or break the loop?
         break;
      }

      /*
         NB: You only need one of these functions
      */

      // Receive all messages and process them using their respective On{Message | BinaryMessage | Ping | Pong | Close} callback(handler)
      uint frames = client.OnMessages();

      // Receive messages and process only TEXT frames using the OnMessage callback
      // uint frames = client.OnStringMessages();

      // Receive messages and process only BINARY frames using the OnBinaryMessage callback
      // uint frames = client.OnBinaryMessages();

      if (frames > 0)
         Print("Frames Processed : ", frames);
   }

   // Disconnect from the WebSocket server
   Print("Disconnecting...");

   if (client.Disconnect()) {
      Print("Disconnected!");
   }
   else {
      Print("Failed to disconnect!");
   }

   //Cleanup all clients
   ZeroHandle();
}
//+------------------------------------------------------------------+
void OnMessage(string message) {
   Print(message);
}
//+------------------------------------------------------------------+
void OnPingMessage(string message) {
   Print("ping received:", message);
   if (client.SendPong() > 0) {
      Print("Pong sent successfully.");
   }
   else {
      Print("Failed to send pong.");
   }
}
//Sample Outputs:
//{"result":null,"id":27175}
//Frames Processed : 1
//---
//{"u":35893555769,"s":"BTCUSDT","b":"27812.78000000","B":"7.14299000","a":"27812.79000000","A":"0.81665000"}
//{"u":35893555770,"s":"BTCUSDT","b":"27812.78000000","B":"7.14299000","a":"27812.79000000","A":"0.82309000"}
//{"u":35893555771,"s":"BTCUSDT","b":"27812.78000000","B":"7.14964000","a":"27812.79000000","A":"0.82309000"}
//Frames Processed : 3
//---
//Frames Processed : 1
//ping received: ping
//Pong sent successfully.

Feel free to contact me for support and questions before/after purchase.

Recensioni 7
Ricardo N
33
Ricardo N 2025.08.17 09:38 
 

This library is amazing. I had some issues because the library was not in the right folder but after fixing that, everything worked. Good job. PS: It seems that LOG_LEVEL_NONE is not working, I get debug level with that or maybe I'm not using it right, anyway, I put LOG_LEVEL_ERROR to not be spammed by logs

thomasb892
19
thomasb892 2024.10.23 14:25 
 

This, Native WebSocket library by Racheal Samson is fast, handles secure wss:// connections effortlessly, and can manage large data transfers with ease.

I love that it's fully native to MQL5, with no extra installations required.

What really stood out was the author's quick response and genuine willingness to help, making the experience even smoother. Highly recommend both the library and the excellent support behind it!

Franck
21
Franck 2024.08.13 13:58 
 

Awesome support from Racheal, thanks for your help setting up the library, keep up the great work ;)

Prodotti consigliati
*****La negoziazione principale è XAUUSD. In caso di test, si consiglia di adeguarsi a XAUUSD. Altri obiettivi di trading non possono garantire la redditività******* Se avete bisogno di testare, lasciate un messaggio (vi risponderò non appena lo vedo). Per proteggere i risultati del lavoro, è necessario inserire parametri specifici. I parametri predefiniti del sistema non possono raggiungere l'effetto mostrato nel pullback dello screenshot! Se avete bisogno di testare, lasciate un messaggio (
Utility per la gestione automatica degli ordini e dei rischi. Ti permette di trarre il massimo dai profitti e limitare le tue perdite. Creato da un trader praticante per i trader. L'utilità è facile da usare, funziona con qualsiasi ordine di mercato aperto manualmente da un trader o con l'aiuto di consulenti. Può filtrare gli scambi per numero magico. L'utilità può funzionare con qualsiasi numero di ordini contemporaneamente. Ha le seguenti funzioni: 1. Impostazione dei livelli di stop loss
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 );    //复杂开单
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
Il livello Premium è un indicatore unico con una precisione superiore all'80% delle previsioni corrette! Questo indicatore è stato testato dai migliori Specialisti di Trading per più di due mesi! L'indicatore dell'autore che non troverai da nessun'altra parte! Dagli screenshot puoi vedere di persona la precisione di questo strumento! 1 è ottimo per il trading di opzioni binarie con un tempo di scadenza di 1 candela. 2 funziona su tutte le coppie di valute, azioni, materie prime, criptovalu
Easy Trade Panel Expert for MT5 The Easy Trade Panel is a dedicated trading tool designed to enhance risk control and capital management. This expert advisor includes two main sections: ·         Order execution, position sizing, and risk-reward configuration ·         Trade management features for active positions Features and Specifications Category Capital Management – Risk Management – Trading Utilities Platform MetaTrader 5 Skill Level Beginner Indicator Type Risk & Capital Control Time Fr
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
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
Best Tested Pairs :-  Step Index (Also can use on other pairs which spread is lowest) How does the Magic Storm work The Magic Storm will commence only if the Initial Trade becomes a losing trade. In case the initial trade is a profitable one, or has been closed by the trader there is no need for the Magic Stormto be initiated. Let’s assume that the initial trade was a 1 lot buy trade with Recovery Zone Range Pips is 50 and Recovery Zone Exit Pips is 150 pips. The take profit for this tr
MT5 To Telegram Copier
Levi Dane Benjamin
3 (2)
Invia segnali completamente personalizzabili da MT5 a Telegram e diventa un fornitore di segnali! Questo prodotto è presentato in un'interfaccia grafica facile da usare e visivamente attraente. Personalizza le tue impostazioni e inizia a utilizzare il prodotto in pochi minuti! Guida dell'utente + Demo  | Versione MT4  | Versione Discord Se desideri provare una demo, consulta la Guida dell'utente. Il mittente di MT5 a Telegram NON funziona nel tester di strategia. Funzionalità di MT5 a Telegram
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
Exclusive Imperium MT5 — Sistema di Trading Automatizzato Exclusive Imperium MT5 è un Expert Advisor per MetaTrader 5, basato su algoritmi di analisi di mercato e gestione del rischio. L’EA funziona in modalità completamente automatica e richiede un intervento minimo da parte del trader. Attenzione! Contattami immediatamente dopo l’acquisto per ricevere le istruzioni di configurazione! IMPORTANTE: Tutti gli esempi, screenshot e test sono forniti esclusivamente a scopo dimostrativo. Se una determ
Scan a fixed list of assets (Ibovespa) in the chosen timeframe (TimeFrame). For each pair and for various periods. Calculate a regression model between the two assets (and, if desired, using the bova11 index as a normalizer). Generate the spread of this relationship, its mean, standard deviation, speculative deviation, and betas (B1 and B2). Apply an ADF test without exclusion (cointegration/stationarity). Calculate the Z-score of the current exclusion (how many standard deviations are away from
##   ONLY GOLD ##   Тiльки Золото ## **Mercaria Professional Trading Zones - Complete Guide** ## **Mercaria Professional Trading Zones - Повний посібник** ### **How Mercaria Zones Work / Як працюють зони Mercaria** **English:** Mercaria Zones is an advanced trading indicator that identifies high-probability support and resistance areas using ZigZag extremes combined with mathematical zone calculations. The indicator works on multiple timeframes simultaneously, providing a comprehensive view
Key Features: 200+ Fully Implemented Patterns   across all categories Advanced Market Structure Analysis Smart Money Integration   (Wyckoff, Order Blocks, Liquidity) Professional Risk Management Multi-Timeframe Analysis AI-Powered Confidence Scoring Advanced Visualization Real-time Alerts Pattern Categories: Single Candle Patterns (Hammer, Doji, Marubozu, etc.) Multi-Candle Patterns (Engulfing, Stars, Harami, etc.) Chart Patterns (Head & Shoulders, Cup & Handle, Triangles, etc.) Harmonic Pattern
Inverted_Chart_EA Utility Expert Advisor Inverted_Chart_EA creates and maintains a mirror-inverted chart of any symbol and timeframe. It automatically generates a custom instrument (e.g. US30_INV ) and keeps its price history updated in real time, with bars mirrored around a chosen pivot. This utility gives traders a new way to analyze the market from a different perspective by flipping the chart upside down. Why use an inverted chart? Highlight hidden patterns – price formations that look ordin
Noize Absorption Index - is the manual trading system that measures the difference of pressure between bears forces and bulls forces. Green line - is a noize free index that showing curent situation. Zero value of index shows totally choppy/flat market.Values above zero level shows how powerfull bullish wave is and values below zero measures bearish forces.Up arrow appears on bearish market when it's ready to reverse, dn arrow appears on weak bullish market, as a result of reverse expectation.
BTC Trading Assistant EA Manual Trading Tool with Automated Risk Management This Expert Advisor assists manual cryptocurrency traders by automating risk management, position sizing, and profit protection while providing visual trade management through an intuitive interface. Brief Description BTC Trading Assistant EA is a utility tool designed for manual cryptocurrency traders. The EA calculates position sizes based on account risk, automatically sets stop loss and take profit levels, manages br
SL TP Manager Utility MT5
AL MOOSAWI ABDULLAH JAFFER BAQER
SL-TP Manager Utility for MT5 - Professional Risk Management Tool Advanced Position Protection & Profit Management SL-TP Manager Utility is a powerful, intuitive tool designed for traders who want precise control over their risk management. This utility provides a sleek interface for setting, modifying, and managing your Stop Loss, Take Profit, and Trailing Stop levels with just a few clicks. Key Features: Dual Mode Operation: Set values in pips or absolute price with a simple toggle Independent
Margin Call Shield – Defend Your Margin on Your Terms Margin Call Shield is a tool for MetaTrader 5 traders who want to decide for themselves which open positions are closed during margin call situations before the platform does so automatically based on its internal rules. By default, the broker or platform decides which positions to close, often using undisclosed algorithms. Margin Call Shield lets you set this order according to your own strategy. Why Was Margin Call Shield Created? In a mar
Mt5TradeCopier
Mcblastus Gicharu Ndiba
Forex Trade copier MT5.  It copies forex trades, positions, orders from any accounts to any other account,  MT5 even multiple accounts. The unique copying algorithm exactly copies all trades from the master account to your client account. It is also noted for its high operation speed and Tough error handling. It also can copy from demo account to live account too. It is one of the best free trade copiers that can do ,  MT5 or to multiple accounts  MT5 to multiple accounts  Features of Trade Copi
Simo Professional
Maryna Shulzhenko
Description of   Simo : an innovative robot with a unique trading system Simo is a revolutionary trading robot that changes the rules of the game with its unique trading system. Using sentiment analysis and machine learning, Simo takes trading to a new level. This robot can work on any time frame, with any currency pair, and on the server of any broker. Simo uses its own algorithm to make trading decisions. Various approaches to analyzing input data allow the robot to make more informed decis
Breakevan Utility
Jose Luis Thenier Villa
BreakEvan Utility  Is a simple tool in a panel with this utilities: This utility will draw a Golden Line in the chart applied showing the breakeven price, considering all the positions opened for that specific symbol. Also the information panel shows: Balance Breakeven Price for that chart Force Breakeven (for that symbol) as ON/OFF Force Breakeven Global (takes into account all trades opened) as ON/OFF Total Lots opened for Symbol Total Lots opened Global And two buttons: Force Breakeven: Whe
Volume Profile V6
Andrey Kolesnik
4.67 (3)
Indicatore del profilo di volume del mercato + oscillatore intelligente. Funziona su quasi tutti gli strumenti: coppie di valute, azioni, futures, criptovalute, sia su volumi reali che su tick. È possibile impostare la definizione automatica dell'intervallo di costruzione del profilo (ad esempio, per una settimana o un mese, ecc.), oppure impostare l'intervallo manualmente spostando i confini (due linee verticali: rossa e blu). Viene visualizzato sotto forma di istogramma. La larghezza dell'isto
Trade History By Magic Indicator Unlock Your Trading Insights with Trade History By Magic! Enhance your MetaTrader 5 experience with this powerful indicator designed for traders who demand precision and clarity. Trade History By Magic provides a clear, real-time display of your trading history, organized by magic numbers, directly on your chart. Perfect for both automated and manual traders, this tool helps you track performance effortlessly. Key Features: Organized Trade Tracking : Displays tra
TradePilotmt5
Hossein Khalil Alishir
TradePilot Expert Advisor (EA) for MetaTrader 5 TradePilot is a professional and user-friendly Expert Advisor (EA) for MetaTrader 5 (MT5) . It simplifies automated trading , risk management , and trade execution with a smart trading panel . Perfect for beginners and experienced traders looking for a reliable trade manager EA with automated lot size calculation and smart position management. Key Advantages User-Friendly Trading Panel: Customizable panel with buttons and hotkeys for fast ex
Overview Mirror Signals Service EA (Text only)   is a powerful monitoring Expert Advisor that automatically sends   real-time Telegram notifications   for all important trade events on your MetaTrader 5 account. It is engineered specifically for   signal providers ,   trade-copier operators ,   auditors ,   educators , and   professional trading services   that require immediate, detailed, and reliable reporting. Everything from   entries, exits, SL/TP changes, comment changes, trailing sto
Automatic Replenishment Trading Within a Defined Range The EA operates only within the predefined price range . When an order is closed, filled, or cancelled (reducing the total number of orders), the EA will automatically place new orders to maintain the continuous operation of the trading strategy. This EA is designed for ranging / sideways market conditions . You can control the total number of orders using Max Orders . Example: Max Orders: 8 Active trades: 2 Pending Buy Limit orders: 6 In t
Bober Real MT5
Arnold Bobrinskii
4.76 (17)
Bober Real MT5 is a fully automatic Forex trading Expert Advisor. This robot was made in 2014 year and did a lot of profitbale trades during this period. So far over 7000% growth on my personal account. There was many updates but 2019 update is the best one. The robot can run on any instrument, but the results are better with EURGBP, GBPUSD, on the M5 timeframe. Robot doesn't show good results in tester or live account if you run incorrect sets. Set files for Live accounts availible only for cu
Nova AC Trader is a modern automation of the Accelerator Oscillator (AC) — a Bill Williams momentum tool designed to detect shifts in market acceleration before trends fully form. This EA transforms the indicator’s early-warning nature into a structured trading system that reacts only when momentum changes are clear and consistent. Instead of waiting for the trend to be obvious, Nova AC Trader identifies when market acceleration starts to turn — offering opportunities at the earliest stage of mo
Gli utenti di questo prodotto hanno anche acquistato
WalkForwardOptimizer MT5
Stanislav Korotky
3.78 (9)
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.
Questa libreria ti consentirà di gestire le operazioni utilizzando qualsiasi tuo EA ed è molto facile da integrare su qualsiasi EA, cosa che puoi fare tu stesso con il codice script menzionato nella descrizione e anche esempi demo su video che mostrano il processo completo. - Ordini con limite di posizionamento, limite SL e limite di take profit - Ordini di mercato, mercato SL, mercato TP - Modifica ordine limite - Annulla Ordine - Interroga gli ordini - Cambia leva, margine - Ottieni inf
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. Important: you need to have source code to properly implement the library. With Binance Library MetaTrader 5, you can easily add instruments from Bi
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
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
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 co
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
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        - 
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
AO Core
Andrey Dik
3.67 (3)
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 p
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
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
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
OpenAI Library MT5
VitalDefender Inc.
La seguente libreria si propone come un mezzo per poter utilizzare le API di OpenAI direttamente sulla metatrader, nella maniera più semplice possibile. Per maggiori approfondimenti sulle potenzialità della libreria, leggere il seguente articolo: https://www.mql5.com/it/blogs/post/756106 I file necessari per usare la libreria li trovate qui: Manuale IMPORTANTE: Per utilizzare l'EA è necessario aggiungere il seguente URL per consentire l'accesso all'API OpenAI c ome mostrato nelle immagini allega
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  
Molo kumalo
James Ngunyi Githemo
Trading Forex with our platform offers several key advantages and features: Real-time Data : Stay updated with live market data to make informed decisions. User-Friendly Interface : Easy-to-navigate design for both beginners and experienced traders. Advanced Charting Tools : Visualize trends with interactive charts and technical indicators. Risk Management : Set stop-loss and take-profit levels to manage your risk. Multiple Currency Pairs : Access a wide range of forex pairs to diversify your tr
Questo prodotto è in sviluppo da 3 anni. È il codice più avanzato per lavorare con tutti i tipi di intelligenza artificiale e apprendimento automatico nel linguaggio di programmazione MQL5. È stato utilizzato per creare molti robot di trading e indicatori basati sull'IA in MetaTrader 5. Questa è una versione premium del progetto open source e gratuito per il machine learning in MQL5, disponibile qui:  https://github.com/MegaJoctan/MALE5 . La versione gratuita ha meno funzionalità, è meno documen
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
Pionex API EA Connector pour MT5 – Intégration transparente avec MT5 Aperçu Le Pionex API EA Connector pour MT5 permet une intégration fluide entre MetaTrader 5 (MT5) et l’ API Pionex . Cet outil puissant permet aux traders d’exécuter et de gérer des ordres, d’obtenir des informations sur le solde et de suivre l’historique des transactions, le tout directement depuis MT5 . Principales fonctionnalités Gestion du compte et du solde Get_Balance(); – Récupère le solde actuel du compte sur Pionex
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
Ai Prediction MT5
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
快速关仓,无需任何操作。 当前版本的一键关仓主要针对的是来不及手动关仓的情况,目前是不分交易标的类别,是对所有的持仓进行关仓。 未来可能升级的方向: 1、分类别、分标的关仓。 适用场景:开了多个标的的仓位,并且波动不一,快速频繁的波动影响了整体的判断。 2、增加只关闭盈利仓位、只关闭亏损仓位。 适用场景:持仓较多,趋势发生变化。 个人建议:一般建议选择一键全部关仓,因为如果行情与持仓方向一致,只关闭盈利仓位无形就是扩大了亏损。如果行情方向与持仓方向相反,只关闭亏损仓位,当前已盈利的后面又会变为亏损,盈利无法变现。 3、按照仓位顺序由大到小关仓、按照仓位顺序由小到大关仓。 适用 场景:行情发生波动,对于未来行情判断把握不确定的,可根据自己需求选择仓位关仓顺序,由大到小关仓的话,可以避免亏损的进一步扩大。 4、减小仓位量,保持绝对的安全距离。 适用 场景:对未来趋势相对确定,不想错过当前行情,但是认为当前持仓体量又有点大,想降低仓位。
BlitzGeist Telegram Notifier – Stay Connected to Your Trades Anywhere! BlitzGeist Telegram Notifier is a powerful tool that instantly connects your MetaTrader 5 account with Telegram . No matter where you are – you will always receive real-time notifications about your trading activity directly on your phone, PC, or any device with Telegram installed. Perfect for traders who want professional trade reporting, transparency, and risk management monitoring . ️ Key Features Easy Configuratio
Close All Trades - MT5 UI Tool Features - Trading Executions Simplified! One-Click Buy/Sell Buttons : Instantly place buy or sell orders for trades with a single click, streamlining order execution from the desktop. Customizable Lot Size & Parameters : Enter desired lot size, stop-loss (in decimal places e.g. 7 SL Units for 0.7 below or above for buy or sell), take-profit ( in decimal places ), and the number of trades before submitting (1,2,3,4,5 etc.), allowing precise control over each trade
TupoT3
Li Guo Yin
突破交易策略:智能风控系统升级版‌ 当价格突破关键阻力位时,往往意味着趋势的质变时刻。我们的突破交易策略通过三重智能系统——‌动态阈值识别‌、‌量能验证机制‌和‌自适应止损算法‌,帮助交易者精准捕捉这些跃迁机会。 ‌核心优势‌: ‌智能预警‌:实时监测200+技术指标,自动标记潜在突破位 ‌风险对冲‌:突破失败时自动触发0.5秒内止损,保护本金安全 ‌多周期验证‌:结合日线/4小时/1小时数据过滤假信号 ‌实战案例‌: 2025年第二季度,该策略在现货黄金市场实现连续23次有效突破,平均持仓周期缩短至4.7小时,收益率达传统趋势策略的3.2倍。 ‌智能风控系统‌: ‌动态止盈‌:根据ATR指标自动调整止盈位,锁定利润的同时保留上行空间 ‌分级止损‌:首次突破失败后自动切换至1:1盈亏比保护模式,二次突破确认后恢复原策略 本EA依下图设置做黄金1小时图线,经长时期实盘验证年利润达到30多倍,修改参数可以用作比特币和纳斯达克指数都有很好的收益。
[Gold Intelligent Trading EA | Risk Control is Steady, Profit Breakthrough] The intelligent trading EA, which is customized for the fluctuation characteristics of gold, takes the hard-core trading system as the core, and each order is derived from the accurate judgment of market trends and supporting pressures by quantitative models, so as to eliminate subjective interference and make trading decisions more objective and efficient. Equipped with multi-dimensional risk control system, dynamic s
Turn your manual trades into fully automated profit machines! This powerful MT5 EA takes over the moment you open a position — no delays, no stress. It instantly places Stop Loss and Take Profit, activates customizable trailing, and locks in profits while protecting your capital Perfect for scalpers: Every trade is immediately secured, giving you the freedom to focus on sniping the best entries while the EA handles all the management work in the background. Auto SL/TP Full trailin
Filtro:
GiovaGonzalez87
19
GiovaGonzalez87 2025.11.10 15:05 
 

L'utente non ha lasciato alcun commento sulla valutazione.

Racheal Samson
1600
Risposta dello sviluppatore Racheal Samson 2025.11.10 16:15
You could have asked in comments or dm, I responded in message anyways. Do you have any problems using the library? If none, please update your ratings to help others make informed decisions.
Ricardo N
33
Ricardo N 2025.08.17 09:38 
 

This library is amazing. I had some issues because the library was not in the right folder but after fixing that, everything worked. Good job. PS: It seems that LOG_LEVEL_NONE is not working, I get debug level with that or maybe I'm not using it right, anyway, I put LOG_LEVEL_ERROR to not be spammed by logs

Racheal Samson
1600
Risposta dello sviluppatore Racheal Samson 2025.08.17 09:44
The review and rating is also surprisingly amazing to me, it helps me improve and shows people are using the library to solve their WS problems. About LOG_LEVEL, None is the lowest, ERROR is the highest and everything not higher than or equal to ERROR won't be shown. I think I need to push an update to reflect your proposed understanding clearly. Thanks for the feedback
thomasb892
19
thomasb892 2024.10.23 14:25 
 

This, Native WebSocket library by Racheal Samson is fast, handles secure wss:// connections effortlessly, and can manage large data transfers with ease.

I love that it's fully native to MQL5, with no extra installations required.

What really stood out was the author's quick response and genuine willingness to help, making the experience even smoother. Highly recommend both the library and the excellent support behind it!

Racheal Samson
1600
Risposta dello sviluppatore Racheal Samson 2024.10.23 15:17
Thanks for the rating, highly appreciated.
Franck
21
Franck 2024.08.13 13:58 
 

Awesome support from Racheal, thanks for your help setting up the library, keep up the great work ;)

Racheal Samson
1600
Risposta dello sviluppatore Racheal Samson 2024.08.13 13:59
I'm glad to be of help, it's what you paid for. I'm always here to help.
David Moffitt
30
David Moffitt 2024.05.28 21:33 
 

Needed some help to work out some kinks with the library and my code. Racheal was quick and attentive to support!

Racheal Samson
1600
Risposta dello sviluppatore Racheal Samson 2024.05.29 00:58
Thanks for the rating, the words are premium and highly appreciated.
Erik Stabij
58
Erik Stabij 2024.01.24 22:08 
 

The library works well and Racheal was very helpfull!

Racheal Samson
1600
Risposta dello sviluppatore Racheal Samson 2024.01.24 22:10
I'm always happy to help. Will be here for you anytime. Thanks for the rating :D
helk3rn
249
helk3rn 2024.01.16 15:23 
 

works good, thx

Racheal Samson
1600
Risposta dello sviluppatore Racheal Samson 2024.01.16 16:59
Thanks for the rating, I'm always here to help.
Rispondi alla recensione