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.

Avis 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 ;)

Produits recommandés
* * * * Trading principal xauusd, si le moment du test, il est recommandé d'ajuster à xauusd, les autres sous - jacents de Trading ne garantissent pas l'effet rentable * * * * * S'il vous plaît laissez un message pour le test (la première réponse sera donnée après l'avoir vu), afin de protéger les résultats du travail, vous devez entrer des paramètres spécifiques, les paramètres par défaut du système ne peuvent pas atteindre l'effet indiqué par le retrait de capture d'écran! S'il vous plaît l
Utilitaire de gestion automatique des commandes et des risques. Permet de tirer le maximum des bénéfices et de limiter vos pertes. Créé par un commerçant pratiquant pour les commerçants. L'utilitaire est facile à utiliser, fonctionne avec tous les ordres de marché ouverts manuellement par un trader ou avec l'aide de conseillers. Peut filtrer les transactions par nombre magique. L'utilitaire peut fonctionner avec n'importe quel nombre de commandes en même temps. A les fonctions suivantes : 1
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 );    //复杂开单
You already have positions open. The question is whether the episode is still under control. Floating P/L tells you the result. It does not tell you the condition. A position group can still show a small gain while inventory load, hold time, adverse drift, weakening recovery, and spread expansion are already building pressure in the background. By the time the P/L number turns negative, the episode is already stressed. Episode Health Monitor was built to surface those conditions before they beco
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
Exp5 Duplicator
Vladislav Andruschenko
4.78 (9)
Duplicator pour MetaTrader 5 — système professionnel de duplication de positions dans un seul terminal Un Expert Advisor fiable conçu pour les traders qui veulent dupliquer automatiquement des positions déjà ouvertes dans MetaTrader 5, augmenter le volume global, appliquer leurs propres règles de lot et gérer les duplicatas avec une logique précise. C’est un outil pratique pour le trading manuel, les systèmes automatisés et la gestion plus flexible de positions déjà existantes dans un seul term
ShreeFx Trade Manager
Dhiraj Shivprabhu Pattewar
️ 1. Interactive User Interface (UI) Dual-Tab System: Cleanly separates execution tools (TRADE) from configuration (️ SETTINGS) to keep the chart clutter-free. Dark/Light Mode: Instantly switch between themes using the ️/ emoji button to match your chart background. Live P&L Dashboard: Real-time display of Account Balance, Equity, Floating Profit/Loss (in USD and %), Total Positions (Buys/Sells), Total Lot Exposure, and current Spread. On-Chart Direct Editing: Change any setting (Lot Size,
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
FREE
Le niveau Premium est un indicateur unique avec une précision de plus de 80 % des prédictions correctes ! Cet indicateur a été testé par les meilleurs Trading Specialists depuis plus de deux mois ! L'indicateur de l'auteur que vous ne trouverez nulle part ailleurs ! À partir des captures d'écran, vous pouvez constater par vous-même la précision de cet outil ! 1 est idéal pour le trading d'options binaires avec un délai d'expiration de 1 bougie. 2 fonctionne sur toutes les paires de devises
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
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
RRtoolBox
David Ruiz Moreno
RRtoolbox - Professional Tools: Risk:Reward Trading Tool (SL/TP Horizontals + Pending orders + Diagonals), Alerts set on trend lines (for alerts on diagonal levels), SelfManagement (BE, partials...), close/cancelling by time, Statistics, Info and trading on chart. One-Click Trading with Visual Risk:Reward Management RRtoolbox is a comprehensive trading panel that combines one-click order execution,  statistics and  powerful visual Risk:Reward tools, alerts set with trendlines, on chart butt
Exclusive Imperium MT5 — Système de Trading Automatisé Exclusive Imperium MT5 est un Expert Advisor pour MetaTrader 5, basé sur des algorithmes d’analyse de marché et de gestion des risques. L’EA fonctionne en mode entièrement automatique et nécessite une intervention minimale du trader. Attention ! Contactez-moi immédiatement après l’achat afin de recevoir les instructions de configuration ! IMPORTANT : Tous les exemples, captures d’écran et tests sont fournis uniquement à titre de démonstratio
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)
Envoyez des signaux entièrement personnalisables de MT5 à Telegram et devenez un fournisseur de signaux ! Ce produit est présenté dans une interface graphique conviviale et visuellement attrayante. Personnalisez vos paramètres et commencez à utiliser le produit en quelques minutes seulement ! Guide de l'utilisateur + Démo  | Version MT4  | Version Discord Si vous souhaitez essayer une démo, veuillez consulter le Guide de l'utilisateur. L'émetteur de MT5 vers Telegram NE fonctionne PAS dans le t
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
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
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.
Trade Copier Professional — Solution de Copie Locale   Trade Copier Professional est un système fiable de copie locale des transactions pour MetaTrader 4/5. Il permet aux traders de répliquer instantanément des positions sur plusieurs comptes d’un même ordinateur, avec des contrôles de sécurité intégrés et un tableau de bord professionnel.   Aperçu   L’EA fonctionne en modes Master et Slave à partir d’un seul fichier, avec bascule fluide. Les transactions peuvent être copiées entre terminaux M
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
DDKiller Pro
Njaratahiry Michael Randrianiaina
Arrête de faire sauter ton compte. Une bonne fois pour toutes. DDKiller Pro est le gardien du risque MT5 qui tourne silencieusement sur ton graphique et coupe le trading dès qu'une limite est atteinte — que tu passes un challenge prop firm ou que tu gères ton propre compte CFD. Le problème que tout trader connaît : Tu fixes tes règles. Tu les enfreins quand même. Un trade de vengeance. Une position surleviéragée. Une session qui efface un mois de gains. DDKiller Pro retire cette décision de tes
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
ALIEN Dashboard
Youssef Esseghaiar
ALIEN DASHBOARD FULL EDITION – Professional ICT & Precision Trading Dashboard for MT5 ( HYBRID ENGINE ) Overview The   Alien Dashboard Full Edition   is a comprehensive, all‑in‑one technical indicator for MetaTrader 5 that merges the most powerful concepts from Inner Circle Trader (ICT) methodology with advanced precision‑entry logic, multi‑timeframe analysis, and an intuitive on‑chart dashboard. Designed for serious traders who want to visualise institutional order flow, identify high‑probabili
BTC Trading Assistant EA (MT5) Manual trading assistant that helps place and manage trades with automated risk and stop management. Overview BTC Trading Assistant EA is a utility Expert Advisor for MetaTrader 5 intended for manual traders. It provides a chart interface to execute BUY/SELL/CLOSE actions and automates selected trade management functions such as position sizing, initial SL/TP placement, break-even, trailing stop and optional partial profit taking. This EA does not generate trade si
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
French Cet indicateur agit comme un assistant d'analyse graphique avancé pour les traders qui aiment trader les figures graphiques (Chart Patterns). Il est conçu pour réduire la charge de l'analyse visuelle et augmenter la précision de la prise de profit. Caractéristiques principales de cet indicateur du point de vue de l'utilisation pratique : 1. Détection automatique des figures (Automated Pattern Detection) Gain de temps et réduction des biais : Vous n'avez pas besoin de tracer manuellement d
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
Les acheteurs de ce produit ont également acheté
Bibliothèque ModernUI pour MetaTrader 5 ModernUI est une bibliothèque d’interface utilisateur hébergée sur le graphique pour MetaTrader 5. Elle aide les développeurs MQL5 à créer des panneaux d’EA plus propres, des tableaux de bord, des fenêtres de paramètres, des formulaires, des tableaux, des boîtes de dialogue, des drawers et des interfaces compactes de style trading directement dans l’environnement graphique de MT5. Elle est conçue pour les développeurs qui veulent une couche d’interface plu
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.
If you just want to simply copy your positions and orders from MetaTrader to Binance use the Binance Copier If you're a developer 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 c
Cette bibliothèque vous permettra de gérer les transactions en utilisant n'importe lequel de vos EA et elle est très facile à intégrer sur n'importe quel EA que vous pouvez faire vous-même avec le code de script mentionné dans la description ainsi que des exemples de démonstration en vidéo qui montrent le processus complet. - Placer des ordres Limit, SL Limit et Take Profit Limit - Placer les ordres Market, SL-Market, TP-Market - Modifier l'ordre limite - Annuler la commande - Commandes de
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 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
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
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
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 installatio
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
Cette bibliothèque est proposée comme un moyen d'utiliser directement les API d'OpenAI sur MetaTrader de la manière la plus simple possible. Pour plus d'informations sur les capacités de la bibliothèque, lisez l'article suivant : https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT : Pour utiliser l'EA, vous devez ajouter l'URL suivante pour permettre l'accès à l'API OpenAI : comme montré sur les images ci-jointes Pour utiliser la bibl
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
Ce produit est en développement depuis 3 ans. C'est la base de code la plus avancée pour travailler avec tous types de codes en intelligence artificielle et apprentissage automatique dans le langage de programmation MQL5. Il a été utilisé pour créer de nombreux robots de trading et indicateurs basés sur l'IA dans MetaTrader 5. Il s'agit d'une version premium du projet open source et gratuit sur l'apprentissage automatique pour MQL5, disponible ici :  https://github.com/MegaJoctan/MALE5 . La vers
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
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
突破交易策略:智能风控系统升级版‌ 当价格突破关键阻力位时,往往意味着趋势的质变时刻。我们的突破交易策略通过三重智能系统——‌动态阈值识别‌、‌量能验证机制‌和‌自适应止损算法‌,帮助交易者精准捕捉这些跃迁机会。 ‌核心优势‌: ‌智能预警‌:实时监测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
Filtrer:
GiovaGonzalez87
19
GiovaGonzalez87 2025.11.10 15:05 
 

L'utilisateur n'a laissé aucun commentaire sur la note

Racheal Samson
1616
Réponse du développeur 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
1616
Réponse du développeur 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
1616
Réponse du développeur 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
1616
Réponse du développeur 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
1616
Réponse du développeur 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
1616
Réponse du développeur 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
248
helk3rn 2024.01.16 15:23 
 

works good, thx

Racheal Samson
1616
Réponse du développeur Racheal Samson 2024.01.16 16:59
Thanks for the rating, I'm always here to help.
Répondre à l'avis