• Обзор
  • Отзывы (5)
  • Обсуждение (23)
  • Что нового

Native Websocket

5
Простая в использовании, быстрая, асинхронная библиотека WebSocket для MQL5.

Он поддерживает:
  • ws:// и wss:// (защищенный веб-сокет "TLS")
  • текстовые и бинарные данные

Он обрабатывает:

  • фрагментированное сообщение автоматически (передача больших объемов данных)
  • кадры пинг-понга автоматически (подтверждение активности)

Преимущества:

  • DLL не требуется.
  • Установка OpenSSL не требуется.
  • До 128 соединений Web Socket из одной программы
  • Различные уровни журнала для отслеживания ошибок
  • Возможна синхронизация с виртуальным хостингом MQL5.
  • Полностью родной для MQL5.
Загрузите WSMQL.mqh по этой ссылке . Убедитесь, что загруженная библиотека MetaTrader загружена/названа как Native Websocket.ex5

Пример кода ниже:

//подключаем WSMQL.mqh — файл, содержащий все объявления, необходимые для взаимодействия с библиотекой
#include <WSMQL.mqh>
//Методы ниже
//класс CWebSocketClient {
//public:
//bool Initialized(void); //Проверяет, инициализирован ли клиент WebSocket.
//ENUM_WEBSOCKET_STATE State(void); //Возвращает текущее состояние соединения WebSocket.
//void SetMaxSendSize(int max_send_size); //Устанавливает максимальный размер отправки для сообщений WebSocket.
//bool SetOnMessageHandler(OnWebsocketMessage callback); //Устанавливает функцию обратного вызова для обработки входящих текстовых сообщений.
//bool SetOnPingHandler(OnWebsocketMessage callback); //Устанавливает функцию обратного вызова для обработки входящих сообщений ping.
//bool SetOnPongHandler(OnWebsocketMessage callback); //Устанавливает функцию обратного вызова для обработки входящих сообщений Pong.
//bool SetOnCloseHandler(OnWebsocketMessage callback); //Устанавливает функцию обратного вызова для обработки закрытия соединений WebSocket.
//bool SetOnBinaryMessageHandler(OnWebsocketBinaryMessage callback); //Устанавливает функцию обратного вызова для обработки входящих двоичных сообщений.

//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); //Подключаемся к серверу WebSocket.
//bool ConnectUnsecured(const string url, const uint port = 80, const uint timeout = 5000, ENUM_LOG_LEVEL log_level = LOG_LEVEL_NONE); //Подключается к серверу WebSocket, используя незащищенное соединение.
//bool ConnectSecured(const string url, const uint port = 443, const uint timeout = 5000, ENUM_LOG_LEVEL log_level = LOG_LEVEL_NONE); //Подключается к серверу WebSocket, используя защищенное соединение.
//bool Disconnect(ENUM_CLOSE_CODE close_code = NORMAL_CLOSE, const string msg = ""); //Отключаемся от сервера WebSocket.
//int SendString(const string message); //Отправляет string сообщение на сервер WebSocket.
//int SendData(uchar& message_buffer[]); //Отправляет двоичные данные на сервер WebSocket.
//int SendPong(const string msg = ""); //Отправляет сообщение Pong на сервер WebSocket.
//int SendPing(const string msg); //Отправляет сообщение ping на сервер WebSocket.
//uint ReadString(string& out); //Читает string сообщение с сервера WebSocket.
//uint ReadStrings(string& out[]); //Читает несколько строковых сообщений с сервера WebSocket.
//uint OnReceiveString(); //Получает и обрабатывает входящие строковые сообщения.
//uint OnReceiveBinary(); //Получает и обрабатывает входящие двоичные сообщения.
//uint OnMessage(); //Получает и обрабатывает входящие сообщения WebSocket.
//};
//Создаём экземпляр Клиента
CWebSocketClient client;//Я объявил это глобально, потому что этого требует OnPingMessage
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart() {

    //Проверяем, инициализирован ли клиент
    if (!client.Initialized()) {
        ZeroHandle();//Очистка всех клиентов
        return;
    }
    //Устанавливаем обработчик OnMessage для получения текстовых сообщений
    client.SetOnMessageHandler(OnWMessage);//используем SetOnBinaryMessageHandler для двоичных сообщений
    //Устанавливаем обработчик OnPing для получения пинг-сообщений, Pong будет автоматически отправляться при отсутствии этого обработчика
    client.SetOnPingHandler(OnPingMessage);//используем SetOnPongHandler для сообщений понг
    //URL-адрес и объявление сообщения
    string url = "stream.binance.com/ws";//или wss://stream.binance.com/ws
    string msg = "{\"params\":[\"btcusdt@bookTicker\"],\"method\":\"SUBSCRIBE\",\"id\":27175}";
    //ВНИМАНИЕ: убедитесь, чтоstream.binance.com добавлен в список WebRequest на вкладке «Параметры» -> «Советники».
    //Подключаемся к серверу WebSocket
    //if (!client.Connect(url/*, 80, 5000, false, LOG_LEVEL_INFO */)) { //Полностью настраиваемый
    //if (!client.ConnectUnsecured(url/*, 80, 5000, LOG_LEVEL_INFO */)) { //Для соединения без TLS (незащищенного)
    if (!client.ConnectSecured(url/*, 443, 5000, LOG_LEVEL_INFO */)) {
        ZeroHandle();//Очистка всех клиентов
        return;
    }
    //Отправляем string сообщение
    client.SendString(msg);
    //Обрабатываем сообщения, пока скрипт не будет остановлен
    while (true) {
        if (IsStopped())
            break;
        //Получаем все сообщения и обрабатываем их, используя соответствующие On{Message | BinaryMessage | Ping | Pong | Close} callback (обработчик)
        uint frames = client.OnMessage();
        //Получаем строковые сообщения и обрабатываем их с помощью обратного вызова OnMessage
        // uint frames = client.OnReceiveString();
        Print("Обработано кадров: ", frames);
    }
    //Отключаемся от сервера WebSocket
    Print("Отключение...");
    if (client.Disconnect()) {
        ZeroHandle();//Очистка всех клиентов
        Print("Отключено!");
    }
}
//+------------------------------------------------------------------+
void OnWMessage(string message) {
    Print(message);
}
//+------------------------------------------------------------------+
void OnPingMessage(string message) {
    Print("пинг получен:", message);
    if (client.SendPong() > 0) {
        Print("Понг успешно отправлен.");
    }
    else {
        Print("Не удалось отправить понг.");
    }
}
//Пример вывода:
//{"result":null,"id":27175}
//Обработано кадров: 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"}
//Обработано кадров: 3
//---
//Обработано кадров: 1
//получен пинг: пинг
//Понг отправлен успешно.

Не стесняйтесь обращаться ко мне за поддержкой и вопросами до/после покупки.

https://www.mql5.com/en/users/nikkirachael


Отзывы 5
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 ;)

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!

Рекомендуем также
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
Утилита для автоматического управления ордерами и рисками.   Позволяет взять максимум с прибыли и ограничить свои убытки.   Создан практикующим трейдером для трейдеров.   Утилита  проста в использовании,  работает с любыми рыночными ордерами, открытыми трейдером вручную или при помощи советников. Может фильтровать сделки по магическому номеру. Одновременно утилита может работать с любым количеством ордеров.  Имеет такие функции: 1. В ыставление уровней стоплосс и тейкпрофит; 2. З акрытие сделок
KopierMaschine - локальный копировщик сделок между различными счетами MetaTrader 4 и MetaTrader 5 в любом направлении расположенных на одном компьютере с интуитивно понятным интерфейсом. Направления копирования: MT4 --> MT5 MT4 --> MT4 MT5 --> MT5 MT5 --> MT4 для копирования между терминалами MetaTrader 4 и   MetaTrader   5 необходимо приобрести версию продукта   KopierMaschine  для    MetaTrader  4 Особенности Программа работает в двух режимах Master и Slave На один подчиненный счет можно копир
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
Premium level - это уникальный индикатор с точностью правильных прогнозов  более 80%!  Данный индикатор тестировался более двух месяцев лучшими Специалистами в области Трейдинга!  Индикатор авторский такого вы больше не где не найдете!  По скриншотах можете сами увидеть точностью данного инструмента!  1 отлично подходит для торговли бинарными опционами со временем экспирации на 1 свечу. 2 работает на всех валютных парах, акциях, сырье, криптовалютах Инструкция: Как только появляется красная стре
TradeKeeper
Kenneth Berry Cunningham
TradeKeeper - Your Ultimate Trading Journal Enhance Your Trading Experience with TradeKeeper! TradeKeeper is a powerful and intuitive notepad designed specifically for traders. Seamlessly integrated into your trading chart, TradeKeeper allows you to save, recall, and manage your trading notes with ease. Whether you're tracking market trends, recording trade ideas, or analyzing your performance, TradeKeeper ensures you never miss a crucial detail. Key Features: Seamless Chart Integration : Acces
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
Pionex API EA Connector для MT5 – Бесшовная интеграция с MT5 Обзор Pionex API EA Connector для MT5 позволяет бесшовно интегрировать MetaTrader 5 (MT5) с Pionex API . Этот мощный инструмент дает возможность трейдерам выполнять и управлять сделками, получать информацию о балансе и отслеживать историю ордеров — всё прямо из MT5 . Основные функции Управление аккаунтом и балансом Get_Balance(); – Получение текущего баланса аккаунта на Pionex . Исполнение и управление ордерами orderLimit(string
Bober Real MT5
Arnold Bobrinskii
4.76 (17)
Bober Real MT5 — полностью автоматический эксперт, торгующий на рынке форекс.Робот был создан в 2014 году и сделал много прибыльных сделок в течении всего периода.Доходность составила свыше 7000% прироста депозита на моем личном торговом счете.За этот период выходило несколько обновлений и релиз 2019 года является лучшим.  Можно запускать робота на любых инструментах, но лучшие результаты показаны на EURGBP, GBPUSD, таймфрейм M5. Робот не будет показывать хороших результатов в тестере или реальн
DS Gold Robot MT5
Marzena Maria Szmit
4.32 (22)
Introducing the DS Gold Robot, your ultimate companion in navigating the intricate world of XAUUSD trading. Developed with precision and powered by cutting-edge algorithms, DS Gold is a forex robot meticulously crafted to optimize your trading performance with  XAUUSD pairs . With its advanced analytical capabilities,  DS Gold  Robot   constantly monitors the gold market, identifying key trends , patterns, and price movements with lightning speed. The DS Gold Robot opens positions every day from
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
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
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.
The Liquidity Hunter EA for MetaTrader 5 leverages advanced liquidity concepts inspired by Smart Money Concepts (SMC). Using sophisticated algorithms, the EA identifies key areas of liquidity at extreme and internal swing highs and lows in the market. It strategically plots rectangle clusters around these levels, indicating potential stop areas and liquidity pools. The EA then executes pending limit orders precisely at these identified liquidity zones, optimizing entry points for trades. It fea
Order Book, известный также как Market Book, глубина рынка, стакан цен, Level 2, - это предоставляемая брокером динамически обновляемая таблица с данными по текущим объемам торговых заявок на покупку и продажу для различных уровней цен вблизи Bid и Ask конкретного финансового инструмента. MetaTrader 5 предоставляет возможность трансляции стакана цен , но только в реальном времени. Данная библиотека OrderBook History Library позволяет считывать состояния стакана в прошлом из архивов, создаваемых
Cloner for MT5
Volodymyr Hrybachov
Утилита предназначена для клонирования сделок на вашем торговом счете - программа открывает дополнительную сделку с вашими парамерами. Имеет возможность увеличить или уменьшить лот, добавить лот, изменить параметры стоплосс и тейкпрофит,  Программа предназначена для работы на "Windows PC" и "Windows VPS".  Buy a cloner and get the second version for free Параметры: CLONE_POSITIONS  -  какие ордера клонировать; MAGIC_NUMBER -     магический номер; DONT_REPEAT_TRADE  - если true, то сделки не пов
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
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
BRIEF INTRODUCTION   : This Panel is made for Volatility 75 (1s) Index  and  Volatility 75 Index  Synthetic indices instruments. It offers an ultimate and complete  auto trading with an optional money management Controls. This application is an automated panel who works on strategy tester. It is equiped with an automatic indicator attached in the bottom of the Panel.  There are another functionalities like  Martingale strategy  and a  range sequence  detection , it is triggered automatically w
BRIEF INTRODUCTION : This Panel is made for Volatility 25 (1s) Index and Volatility 25 Index Synthetic indices instruments. It offers an ultimate and complete  auto trading with an optional money management Controls. This application is an automated panel who works on strategy tester. It is equiped with an automatic indicator attached on the bottom of the Panel. There are another functionalities like Martingale strategy when the price reaches the threshold level, it triggers automatically when
!! 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 Button
*****主要交易XAUUSD,如果测试的时候,建议调整到XAUUSD,其他交易标的不能保证盈利效果********* 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! **************************************************************************************************************************************************************** 1、【简述】主要为趋势交易,严格筛选交易信号,一旦交易信号明确,快速交易。 2、【止损止盈】每月止盈15%,止损30%。 3、【特殊说明】严格的交易执行逻辑,一旦当月达到止盈止损后,坚决不再开
Версия MT4   |   FAQ Индикатор Owl Smart Levels – это полноценная торговая система внутри одного индикатора, которая включает в себя такие популярные инструменты анализа рынка как усовершенствованные фракталы Билла Вильямса , Valable ZigZag, который строит правильную волновую структуру рынка, а также  уровни Фибоначчи, которые   отмечают точные уровни входа в рынок и места взятия прибыли. Подробное описание стратегии Инструкция по работе с индикатором Советник-помошник в торговле Owl Helper При
Trading Utility for Forex Currency Pairs Only not for Gold  Functions Auto Lot Calculation based on Risk Auto stoploss  Auto TakeProfit Breakeven Auto Close Half % Close in percentage with respect to the PIPs Pending Orders BuyLimit Sell Limit with distances BuyStop Sell Stop    with distances Trading Informations Risk in percentage For Multiple trades Combine Takeprofit and Combine Stoplosses
Averager FULL
Vladislav Andruschenko
4.58 (12)
Exp-Averager   предназначен для усреднения ваших сделок, получивших определенную просадку, путем открытия усредняющих сделок. Советник может открывать дополнительные позиции по тренду и против тренда! Включает средний трейлинг-стоп для серии позиций! Они увеличивают и уменьшают лот. Популярная стратегия доведения убыточных позиций до средней цены. Версия МТ4 Полное описание +DEMO +PDF Как купить Как установить     Как получить файлы журналов     Как тестировать и оптимизировать     Все проду
The Trendline Trade Panel was created to make it easier to train forex trading skills in backtester and at the same time make it easier to live trade using trendlines with the push of a button. This ea is perfect for beginners who want to learn to trade manually because all of its features are equipped with basic tools for trading forex. Other uses for Trendline Trade Panel: + Can be used to perform recovering loss positions made by other EA or positions that open manually. Fill in magic number
Signal Copy Multiplier automatically copies trades on the same account, for example, to get a better entry and adjusted volume on a subscribed signal. MT4-Version:  https://www.mql5.com/de/market/product/67412 MT5-Version:  https://www.mql5.com/de/market/product/67415 You have found a good signal, but the volume of the provider's trades is too small?  With Signal Copy Multiplier you have the possibility to copy trades from any source (Expert Advisor, Signal, manual trades) and change the volume
Индикатор строит текущие котировки, которые можно сравнить с историческими и на этом основании сделать прогноз ценового движения. Индикатор имеет текстовое поле для быстрой навигации к нужной дате. Параметры : Symbol - выбор символа, который будет отображать индикатор; SymbolPeriod - выбор периода, с которого индикатор будет брать данные; IndicatorColor - цвет индикатора; Inverse - true переворачивает котировки, false - исходный вид; Далее идут настройки текстового поля, в которое можно ввес
PipFinite Exit EDGE MT5
Karlo Wilson Vendiola
4.86 (29)
Должна была состояться прибыльная сделка и вдруг отменилась? При наличии надежной стратегии выход из сделки также важен, как и вход. Exit EDGE помогает максимально увеличить доход от текущей сделки и не потерять выигрышные сделки. Всегда будьте внимательны к сигналу на выход из сделки Отслеживайте все пары и тайм-фреймы в одном графике www.mql5.com/en/blogs/post/726558 Торговля Вы можете закрыть уже открытые сделки, как только получите сигнал Закрывайте заявку на покупку, если вы получили си
С этим продуктом покупают
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
Эта библиотека предназначена для помощи в управлении сделками, расчета лота, трейлинга, частичного закрытия и других функций. Расчет лота Mode 0: фиксированный лот. Mode 1: Лот по Мартингейлу (1,3,5,8,13) может по-разному использоваться для расчета при убытке=1, при прибыли=0. Mode 2: Лот по Множителю (1,2,4,8,16) может по-разному использоваться для расчета при убытке=1, при прибыли=0. Mode 3: Лот по Инкременту (1,2,3,4,5) может по-разному использоваться для расчета при убытке=1, при прибыли=0.
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
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
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
Применяя эти методы, мне удалось прийти к тонкому выводу, который имеет решающее значение для понимания важности уникальных стратегий в современной торговле. Хотя нейросетевой советник показал впечатляющую эффективность на начальных этапах, в долгосрочной перспективе он оказался крайне нестабильным. Различные факторы, такие как колебания рынка, изменения тенденций, внешние события и т. д., приводят к хаотичности его работы и в конечном итоге приводят к нестабильности. Получив этот опыт, я принял
Данная библиотека предлагается как средство для использования API OpenAI напрямую в MetaTrader максимально простым способом. Для получения дополнительной информации о возможностях библиотеки прочитайте следующую статью: https://www.mql5.com/en/blogs/post/756106 The files needed to use the library can be found here: Manual ВАЖНО: Для использования EA необходимо добавить следующий URL для доступа к API OpenAI  как показано на приложенных изображениях Для использования библиотеки необходимо включит
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
Introducing Flip Manager: Smart, Automated Ledger Management for Traders After years of manually tracking trades, managing account records, and balancing ledgers, I realized there had to be a better way. Keeping up with every transaction, profit calculation, and risk adjustment was becoming a time-consuming task—so I set out to automate the entire process. That’s how Flip Manager was born. I teamed up with a skilled programmer who shared my passion for efficiency and accuracy in trading. What st
Этот продукт разрабатывался в течение последних 3 лет. Это самая продвинутая кодовая база для работы со всеми видами кода искусственного интеллекта и машинного обучения на языке программирования MQL5. Он использовался для создания множества торговых роботов и индикаторов на основе ИИ в MetaTrader 5. Это премиум-версия бесплатного и открытого проекта по машинному обучению для MQL5, ссылка здесь:  https://github.com/MegaJoctan/MALE5 . Бесплатная версия имеет меньше функций, менее документирована и
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
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
Простая в использовании, быстрая, асинхронная библиотека WebSocket для MQL5. Он поддерживает: ws:// и wss:// (защищенный веб-сокет "TLS") текстовые и бинарные данные Он обрабатывает: фрагментированное сообщение автоматически (передача больших объемов данных) кадры пинг-понга автоматически (подтверждение активности) Преимущества: DLL не требуется. Установка OpenSSL не требуется. До 128 соединений Web Socket из одной программы Различные уровни журнала для отслеживания ошибок Возможна синхронизац
Библиотека WalkForwardOptimizer позволяет выполнить пошаговую и кластерную форвард-оптимизацию ( walk-forward optimization ) советника в МетаТрейдер 5. Для использования необходимо включить заголовочный файл WalkForwardOptimizer.mqh в код советника и добавить необходимые вызовы функций. Когда библиотека встроена в советник, можно запускать оптимизацию в соответствии с процедурой, описанной в Руководстве пользователя . По окончанию оптимизации промежуточные результаты сохраняются в CSV-файл и наб
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  
Эта библиотека позволит вам управлять сделками с использованием любого вашего советника, и ее очень легко интегрировать в любой советник, что вы можете сделать самостоятельно с помощью кода сценария, упомянутого в описании, а также демонстрационных примеров на видео - Размещайте лимитные ордера, SL-лимитные и тейк-профитные лимитные ордера. - Размещайте ордера Market, SL-Market, TP-Market - Изменить лимитный ордер - Отменить заказ - Запрос заказов - Изменение кредитного плеча, маржи - По
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
Binance Library MetaTrader 5 позволяет использовать его в советниках для торговли и индикаторах для бирж Binance.com и Binance.us напрямую из терминала. Библиотека поддерживает все классы активов на бирже: Spot, USD-M и COIN-M фьючерсы. Доступны все необходимые функции для торговой деятельности: Добавление инструментов с Binance в список символов MetaTrader 5 Получение информации о парах и спецификациях Получение Ask, Bid и времени последней сделки по всем парам Загрузка исторических данных для
Эта библиотека предназначена для помощи в управлении сделками, расчета лота, трейлинга, частичного закрытия и других функций. Расчет лота Mode 0: фиксированный лот. Mode 1: Лот по Мартингейлу (1,3,5,8,13) может по-разному использоваться для расчета при убытке=1, при прибыли=0. Mode 2: Лот по Множителю (1,2,4,8,16) может по-разному использоваться для расчета при убытке=1, при прибыли=0. Mode 3: Лот по Инкременту (1,2,3,4,5) может по-разному использоваться для расчета при убытке=1, при прибыли=0.
MetaCOT 2 CFTC ToolBox - это специальная библиотека, предоставляющая доступ к отчетам CFTC (U.S. Commodity Futures Trading Commission) прямо в терминале MetaTrader. Она включает все индикаторы, построенные на основе этих отчетов. Имея эту библиотеку Вам нет необходимости приобретать каждый индикатор MetaCOT в отдельности. Вместо этого, Вы получаете набор сразу из всех 34 индикаторов, в который входят также индикаторы недоступные в виде отдельной версии. Библиотека поддерживает все типы отчетов,
Это упрощенная и эффективная версия библиотеки для walk-forward анализа торговых экспертов. Она собирает данные о торговле эксперта во время процесса его оптимизации в тестере MetaTrader и сохраняет их в промежуточные файлы в каталоге MQL5\Files. Затем на основе этих файлов автоматически строится кластерный walk-forward отчет и уточняющие его rolling walk-forward отчеты (все они - в одном HTML-файле). С помощью вспомогательного скрипта WalkForwardBuilder MT5 можно на тех же промежуточных файлах
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
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEven
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
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   Золотая выщипывание машины является советником разработан специально для торговли золотом. Операция основана на открытии ордеров с использованием индикатора быстрых и медленных линий, поэтому советник работает в соответствии со стратегией «Trend Follow», что означает следовать тренду. Заказать с помощью политики сетки без операции стоп - лосса, поэтому убедитесь, что счет достаточен. magic number      -  is a special number that the EA assigns to its orders. Lot Multipli
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
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
Фильтр:
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
1558
Ответ разработчика 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
1558
Ответ разработчика 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
1558
Ответ разработчика 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
1558
Ответ разработчика 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
1558
Ответ разработчика Racheal Samson 2024.01.16 16:59
Thanks for the rating, I'm always here to help.
Ответ на отзыв
Версия 1.418 2025.01.10
Fixed minor bug
Версия 1.417 2024.10.01
Renamed OnStringMessage => OnStringMessages
Renamed OnBinaryMessage => OnBinaryMessages
Версия 1.416 2024.10.01
Renamed OnReceiveString => OnStringMessage
Renamed OnReceiveBinary => OnBinaryMessage
Версия 1.415 2024.10.01
Fixed minor callback bug
Версия 1.414 2024.10.01
Fixed minor bug
Версия 1.413 2024.10.01
Improved Logging
Added ConnectSecured()
Added ConnectUnsecured()

Added SetOnMessageHandler()
Added SetOnPingHandler()
Added SetOnPongHandler()
Added SetOnCloseHandler()
Added OnMessage()

Automatically send Pong when PingHandler is not set with SetOnPingHandler

OnMessage:-
This method is responsible for reading and processing incoming WebSocket messages, and invoking the appropriate handlers based on the message type, e.g PingHandler for Ping messages.
Версия 1.395 2024.09.29
Fixed buggy Handshake for Insecure Websocket Connection.
Версия 1.39 2024.08.13
Logger Bug fixed
Версия 1.38 2024.08.13
Minor improvement
Версия 1.37 2024.08.13
Better Log Operation
Версия 1.36 2024.08.13
Minor bugfix
Версия 1.35 2024.08.12
Fixed MQL Callback bug
Switched to Class
Updated example
Версия 1.32 2024.08.10
Recompiled on a newer version.
Версия 1.3 2024.03.04
Fix issue confirming non-compliant "Sec-Websocket-Accept:"(instead of "Sec-WebSocket-Accept:") connection
Версия 1.2 2024.01.24
Minor improvement
Версия 1.1 2024.01.15
Fixed an error 493 error that occurs when there's a lag between the client and the host server