• Übersicht
  • Bewertungen (4)
  • Diskussion (18)
  • Neue Funktionen

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 WebSocket Connections from a single program.
  • Various Log Levels for error tracing
  • Can be synchronized to MQL5 Virtual Hosting.
  • Completely native to MQL5.
Download WSMQL.mqh from this linkPlease ensure the MetaTrader downloaded library is downloaded/named as Native Websocket.ex5   

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:
//    WSHANDLE Initialize(void);
//    void ZeroHandle(void);
//    ENUM_WEBSOCKET_STATE ClientState(WSHANDLE handle);
//    void SetMaxSendSize(WSHANDLE handle, int max_send_size);
//    void SetOnMessageHandler(OnWebsocketMessage callback);
//    void SetOnBinaryMessageHandler(OnWebsocketBinaryMessage callback);
//    bool Connect(const WSHANDLE handle, const string url, const uint port = 443, const uint timeout = 5000, bool use_tls = true, ENUM_LOG_LEVEL log_level = LOG_LEVEL_ERROR);
//    bool Disconnect(WSHANDLE handle, ENUM_CLOSE_CODE close_code = NORMAL_CLOSE, const string msg = "");
//    int  SendString(WSHANDLE handle, const string message);
//    int  SendData(WSHANDLE handle, uchar& message_buffer[]);
//    int  SendPong(WSHANDLE handle, const string msg = "");
//    int  SendPing(WSHANDLE handle, const string msg);
//    uint ReadString(WSHANDLE handle, string& out);
//    uint ReadBinary(WSHANDLE handle, uchar& out[]);
//    uint ReadStrings(WSHANDLE handle, string& out[]);
//    uint OnReceiveString(WSHANDLE handle);
//    uint OnReceiveBinary(WSHANDLE handle);
// }
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart() {
   // Create an instance of the Client
   CWebSocketClient client;
   // Check if the client is initialized
   if (!client.Initialized()) {
      ZeroHandle();//Cleanup all clients
      return;
   }
   // Set OnMessage handler
   client.SetOnMessageHandler(OnWMessage);// use OnReceiveBinary for binary 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
   if (!client.Connect(url, 443)) {
      ZeroHandle();//Cleanup all clients
      return;
   }
   // Send a string message
   client.SendString(msg);
   // Process messages until the script is stopped
   while (true) {
      if (IsStopped())
         break;
      // Receive string messages and process them using the OnMessage callback
      uint frames = client.OnReceiveString();
      Print("Frames Processed : ", frames);
   }
   // Disconnect from the WebSocket server
   Print("Disconnecting...");
   if (client.Disconnect())
   {
      ZeroHandle();//Cleanup all clients
      Print("Disconnected!");
   }
}
//+------------------------------------------------------------------+
void OnWMessage(string message) {
   Print(message);
}
//+------------------------------------------------------------------+
//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

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



Bewertungen 4
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 ;)

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!

Erik Stabij
43
Erik Stabij 2024.01.24 22:08 
 

The library works well and Racheal was very helpfull!

Empfohlene Produkte
The Matrix
Omega J Msigwa
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
Diese Bibliothek wird zum Sortieren von Schlüssel- und Wertarrays verwendet, wir müssen oft Werte sortieren. wie in der Python-Sprache sorted(key_value.items(), key = lambda kv:(kv[ 1 ], kv[ 0 ])) Importfunktion Beispiel für Nutzungsszenarien 1. Grid EA Orders werden nach dem Eröffnungspreis sortiert void SortedByOpenPride()   {    long     OrderTicketBuffer[];    double   OpenPriceBuffer[];    for ( int i = PositionsTotal ()- 1 ; i>= 0 ; i--)      {        if (m_position.SelectByIndex(
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 );    //复杂开单
The Trade Tracker Library is used to automatically detect and display trade levels on custom charts. It is an especially useful add-on for EAs that trade on custom charts in MT5. With the use of this library, the EA users can see trades as they are placed via the EA (Entry, SL & TP levels) in real-time. The header file and two examples of EA skeleton files are attached in the comments section (first comment). The library will automatically detect the tradable symbol for the following custom
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
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   a
Premium-Level ist ein einzigartiger Indikator mit mehr als 80% Genauigkeit der richtigen Vorhersagen! Dieser Indikator wurde von den besten Trading-Spezialisten seit mehr als zwei Monaten getestet! Den Indikator des Autors finden Sie nirgendwo anders! Anhand der Screenshots können Sie sich von der Genauigkeit dieses Tools überzeugen! 1 ist ideal für den Handel mit binären Optionen mit einer Ablaufzeit von 1 Kerze. 2 funktioniert bei allen Währungspaaren, Aktien, Rohstoffen, Kryptowähr
| Fully-automated Smart Money Concept (ICT) inspired trading solution with multi-strategy capabilities | Built by a grid trader >> for grid traders.  This is MT5 version, click  here  for  Blue CARA MT4  (settings and logics are same in both versions)     Real monitoring signal  -->  Cara Gold Intro Blue CARA EA   ('CARA') - short for  C omprehensive  A lgorithmic   R esponsive   A dvisor is a next-gen  multi-currency    multi-timeframe  EA base on the widely known (and perhaps the most popul
Trade News EA
Sugianto
5 (1)
Trade   News EA is a semi automatic expert advisor designed for trade news event. News Calendar uses the built in calendar of MT5 terminal. Expert advisor explanation :   Click here   | Free News Reminder :   Click here   Parameters input: 1. Manage Open Positions + Trade Buy : Allow buy + Trade Sell : Allow sell 2. Show news + High importance : Show high importance news + High importance color : Color of high importance news + Medium importance : Show Medium importance news + Medium import
Dienstprogramm für automatisches Auftrags- und Risikomanagement. Ermöglicht es Ihnen, das Maximum aus den Gewinnen herauszuholen und Ihre Verluste zu begrenzen. Erstellt von einem praktizierenden Trader für Trader. Das Dienstprogramm ist einfach zu bedienen und funktioniert mit allen Marktaufträgen, die manuell von einem Händler oder mit Hilfe von Beratern eröffnet wurden. Kann Trades nach magischer Zahl filtern. Das Dienstprogramm kann mit einer beliebigen Anzahl von Aufträgen gleichzeitig arb
Owl Smart Levels MT5
Sergey Ermolov
4.31 (39)
MT4-Version  |  FAQ Der Owl Smart Levels Indikator ist ein komplettes Handelssystem innerhalb eines Indikators, der so beliebte Marktanalysetools wie die fortschrittlichen Fraktale von Bill Williams , Valable ZigZag, das die richtige Wellenstruktur des Marktes aufbaut, und Fibonacci-Levels , die die genauen Einstiegslevels markieren, enthält in den Markt und Orte, um Gewinne mitzunehmen. Detaillierte Strategiebeschreibung Anleitung zur Verwendung des Indikators Berater-Assistent im Handel Owl H
Introducing the   DYNAMIC PIVOTFLEX DEMAND   EA – your ultimate trading companion that brings the power of flexibility and dynamic strategy right to your fingertips. Designed for the modern trader who demands control and adaptability, this Semi-Automated Expert Advisor   is a game-changer in the world of Forex trading. Key Features: Semi-Automated Precision : Open buy positions and hedge with sellstop orders (user preferred price) seamlessly, leveraging the robust Martingale principle for consis
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,
Mine Farm
Maryna Kauzova
5 (1)
Mine Farm is one of the most classic and time-tested scalping strategies based on the breakdown of strong price levels. Mine Farm is the author's modification of the system for determining entry and exit points into the market... Mine Farm - is the combination of great potential with reliability and safety. Why Mine Farm?! - each order has a short dynamic Stop Loss - the advisor does not use any risky methods (averaging, martingale, grid, locking, etc.) - the advisor tries to get
Introducing the DYNAMIC PIVOTFLEX SUPPLY EA – your ultimate trading companion that brings the power of flexibility and dynamic strategy right to your fingertips. Designed for the modern trader who demands control and adaptability, this Semi-Automated Expert Advisor is a game-changer in the world of Forex trading. Key Features: Semi-Automated Precision : Open sell positions and hedge with buystop orders (user preferred price) seamlessly, leveraging the robust Martingale principle for consistent
Magic EA MT5
Kyra Nickaline Watson-gordon
Magic EA is an Expert Advisor based on Scalping, Elliot Waves and with filters such as RSI, Stochastic and 3 other strategies managed and decided with the robot smartly. Large number of inputs and settings are tested and optimized and embedded in the program thus inputs are limited and very simple. Using EA doesn't need any professional information or Forex Trading Knowledge. EA can trade on all symbols and all time frames, using special and unique strategies developed by the author. The EA
NOTE : There are 3 copies available for the current price, next price 1500$. This bot will be sold in limited edition to prevent the accumulation of users in the same broker. Bitcoin Wizard is designed for trading Bitcoin by placing pending orders based on high low at certain periods by taking advantage of strong momentum.   Why Bitcoin Wizard : Bitcoin Wizard is a fully automatic trade system, trade 24/7. Does not use any risky strategies such as hedging, martingale, grid or multiple orders. E
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.
Diese innovative Währung Stärke Messindikator von INFINITY ist ein unverzichtbarer Helfer für Scalper und Händler, die in langen Handel. Das System der Analyse der Stärke / Schwäche der Währungen ist seit langem bekannt und wird auf dem Markt von den führenden Händlern der Welt verwendet. Jeder Arbitrage-Handel kommt nicht ohne diese Analyse aus. Unser Indikator bestimmt leicht die Stärke der zugrunde liegenden Währungen in Bezug aufeinander. Es zeigt Liniendiagramme für alle oder das aktuelle
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 fo
Introduction to Chart Pattern MT Chart Pattern MT is a chart pattern scanner to detect the triangle pattern, falling wedge pattern, rising wedge pattern, channel pattern and so on. Chart Pattern MT uses highly sophisticated chart pattern detection algorithm. However, we have designed it in the easy to use with intuitive user interface. Chart Pattern MT will show all the patterns in your chart in the most efficient format for your trading. You do not have to do tedious manual pattern detection an
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
Net Z
Sugianto
5 (1)
NET Z uses a very well-known trend reversal technique to determine position entry with slight modifications by using virtual trade techniques and virtual pending orders so that position entry is not too early or too late. Why NETZ? NET Z does not require complicated settings and is easy to use because user only need to upload a set file that is already available. Currently there are set files for 20 fx pairs. The best GRID EA with the ability to control risks. I will share my personal daily r
!! BLACK FRIDAY !!  FOR LIFETIME !! ================== == 35$ ONLY !! == ================== BOOK YOURS NOW !! The Position Manager Contains A Lot of Functions such as; (How to Operate) 1. Adjustable Volume per Trade (You could change the volume as you wish per trade). 2. Adjustable Risk : Reward Ratio (1RR means sacrifice 1 Risk : 1 Reward, 1.5RR, 2RR etc. as you wish) 3. Adjustable Stop Loss Points (Calculated Points as Stop Loss and Automatically adjusted the Risk Reward Ratio) 4. Buy Butt
Relative Average Cost of Open Positions Indicator Description:   The “Relative Average Cost of Open Positions” indicator is a powerful tool designed for traders who engage in mean reversion strategies. It calculates the average entry price for both buy and sell positions, considering the total volume of open trades. Here are the key features and advantages of this indicator: Mean Reversion Trading: Mean reversion strategies aim to capitalize on price movements that revert to their historical ave
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
Gyroscope        professional forex expert   (for EURUSD, GBPUSD, USDJPY, AUDUSD, USDCHF, EURGBP, EURJPY, NZDUSD, USDCAD, EURCHF, AUDJPY, CADJPY pairs)   alyzing the market using the Elliot Wave Index. Elliott wave theory is the interpretation of processes in financial markets through a system of visual models (waves) on price charts. The author of the theory, Ralph Elliott, identified eight variants of alternating waves (of which five are in the trend and three are against the trend). The mo
Hamster Scalping mt5
Ramil Minniakhmetov
4.67 (201)
Hamster Scalping ist ein vollautomatischer Handelsberater, der kein Martingal verwendet. Nachtskalping-Strategie. Als Eingänge werden der RSI-Indikator und der ATR-Filter verwendet. Der Berater benötigt eine Sicherungskontoart. Di Überwachung der realen Arbeit sowie meine anderen Entwicklungen finden Sie hier: https://www.mql5.com/en/users/mechanic/seller Allgemeine Empfehlungen Mindesteinzahlung von 100 US-Dollar, ECN-Konten mit minimalem Spread verwenden, Standardeinstellungen für eurusd M5 g
Awesome Oscillator by Bill Williams with the ability to fine-tune and replace the averaging algorithms of the indicator, which significantly expands the possibilities of using this oscillator in algorithmic trading and brings it closer in its properties to such an indicator as the MACD. To reduce price noise, the final indicator is processed with an additional Smooth averaging. The indicator has the ability to give alerts, send mail messages and push signals when the direction of movement of th
PZ Trend Trading MT5
PZ TRADING SLU
3.67 (3)
Trend Trading ist ein Indikator, der so weit wie möglich von den Markttrends profitiert, indem er Pullbacks und Breakouts zeitlich festlegt. Sie findet Handelsmöglichkeiten, indem sie analysiert, was der Preis während etablierter Trends tut. [ Installationsanleitung | Update-Anleitung | Fehlerbehebung | FAQ | Alle Produkte ] Handeln Sie mit Zuversicht und Effizienz an den Finanzmärkten Profitieren Sie von etablierten Trends, ohne ins Wanken zu geraten Profitable Pullbacks, Ausbrüche und vor
Käufer dieses Produkts erwarben auch
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
Diese Bibliothek ermöglicht Ihnen die Verwaltung von Trades mit jedem Ihrer EAs und lässt sich sehr einfach in jeden EA integrieren, was Sie selbst mit dem in der Beschreibung erwähnten Skriptcode und auch Demo-Beispielen auf einem Video tun können, das den gesamten Prozess zeigt. - Platzieren Sie Limit-, SL-Limit- und Take-Profit-Limit-Orders - Platzieren Sie Market-, SL-Market- und TP-Market-Bestellungen - Limit-Order ändern - Bestellung stornieren - Abfrageaufträge - Hebelwi
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
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
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. 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 population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
Binance Library
Hadil Mutaqin SE
5 (1)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample https://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
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
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 c
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 all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceFuturesLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries -  Download Header file and EA sample https://www.mql5.com/en/code/download/34976_252386.zip Copy BinanceFutures.mqh header file to folder \MQL5\Include C
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
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installa
This is standard library built for flexible neural Networks with performance in mind. Calling this Library is so simple and takes few lines of code:    matrix Matrix = matrix_utils.ReadCsv( "Nasdaq analysis.csv" );       matrix x_train, x_test;    vector y_train, y_test;         matrix_utils.TrainTestSplitMatrices(Matrix,x_train,y_train,x_test,y_test, 0.7 , 42 );    reg_nets = new CRegressorNets(x_train,y_train,AF_RELU_,HL, NORM_MIN_MAX_SCALER); //INitializing network       reg_nets.RegressorN
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the cl
Als ich tief in den Bereich der Finanz- und Handelsstrategien eintauchte, beschloss ich, eine Reihe von Experimenten durchzuführen und dabei sowohl Ansätze zu untersuchen, die auf Reinforcement Learning basieren, als auch solche, die ohne dieses auskommen. Durch die Anwendung dieser Methoden gelang es mir, eine differenzierte Schlussfolgerung zu formulieren, die für das Verständnis der Bedeutung einzigartiger Strategien im modernen Handel von entscheidender Bedeutung ist. Obwohl neuronale Netzwe
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
This is an EXPERT with a FOCUS on LEARNING and PROFESSIONAL DEVELOPMENT!!! The idea of this product is to commercialize the source code, allowing those who want to develop their own robots, or start a professional activity developing customized experts, to have a reference source code that helps them in the learning and development process. This source code will be increased, that is, new functionalities will be created, thus allowing the project to continue evolving. For every 10 sales a new v
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Native Websocket
Racheal Samson
5 (4)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 WebSocket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native to
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
Diese Bibliothek ermöglicht Ihnen die Verwaltung von Trades mit jedem Ihrer EAs und lässt sich sehr einfach in jeden EA integrieren, was Sie selbst mit dem in der Beschreibung erwähnten Skriptcode und auch Demo-Beispielen auf einem Video tun können, das den gesamten Prozess zeigt. - Platzieren Sie Limit-, SL-Limit- und Take-Profit-Limit-Orders - Platzieren Sie Market-, SL-Market- und TP-Market-Bestellungen - Limit-Order ändern - Bestellung stornieren - Abfrageaufträge - Hebelwi
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
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
AO Core
Andrey Dik
3 (2)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. 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 population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
Binance Library
Hadil Mutaqin SE
5 (1)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample https://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
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
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 c
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEv
Auswahl:
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
1472
Antwort vom Entwickler 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
1472
Antwort vom Entwickler Racheal Samson 2024.05.29 00:58
Thanks for the rating, the words are premium and highly appreciated.
Erik Stabij
43
Erik Stabij 2024.01.24 22:08 
 

The library works well and Racheal was very helpfull!

Racheal Samson
1472
Antwort vom Entwickler 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
250
helk3rn 2024.01.16 15:23 
 

works good, thx

Racheal Samson
1472
Antwort vom Entwickler Racheal Samson 2024.01.16 16:59
Thanks for the rating, I'm always here to help.
Antwort auf eine Rezension
Version 1.39 2024.08.13
Logger Bug fixed
Version 1.38 2024.08.13
Minor improvement
Version 1.37 2024.08.13
Better Log Operation
Version 1.36 2024.08.13
Minor bugfix
Version 1.35 2024.08.12
Fixed MQL Callback bug
Switched to Class
Updated example
Version 1.32 2024.08.10
Recompiled on a newer version.
Version 1.3 2024.03.04
Fix issue confirming non-compliant "Sec-Websocket-Accept:"(instead of "Sec-WebSocket-Accept:") connection
Version 1.2 2024.01.24
Minor improvement
Version 1.1 2024.01.15
Fixed an error 493 error that occurs when there's a lag between the client and the host server