Natural Language Processing NLP

📘 Overview

AlgoNLP.mqh is a standalone MQL5 library that converts human-written trading instructions into structured trade intents that your Expert Advisor (EA) or indicator can understand.

Do leave a review if you like :D
Also check out my new Indicator : ALGOCHAMP v3 Plus

Example input:

Buy gold at 2370 with TP 0.3% and SL 1%

Output intent:

Side: BUY | Type: LIMIT | Symbol: XAUUSD | Entry: 2370 | TP: 0.3% | SL: 1% | Lot: 0.00

This enables you to build chat-controlled or Telegram-integrated EAs that can interpret plain English commands and execute structured trades.

When connected to external systems (e.g., Telegram bots, REST APIs, or chat inputs),
always sanitize incoming text and verify the trade intent fields.
Unfiltered user commands may lead to unintended order placement, symbol mismatches, or risk limit breaches.
⚠️ Use confirmation dialogs or verification layers in live trading environments.

➡️ Check my Articles for deatiled explaintion on how NLP works and implement it using mq5.

⚙️ System Requirements

Requirement Details
Platform MetaTrader 5 (Build ≥ 2750)
Language MQL5 (strict mode enabled)
Encoding Unicode-Safe
Dependencies None (self-contained)
Execution Time ≈ 0.2 ms for an average sentence (<30 tokens)
Memory Footprint ≈ 20–30 KB per instance
Thread Safety Single-threaded (EA/indicator safe)

➡️ benchmarks may vary in real environments.

🧩 Library Structure

Component Type Description
CNLP Main Manager Class Handles parsing, context binding, and listener dispatch.
CIntentDetector Core Engine Performs multi-pass number extraction and intent mapping.
CKeywordExtractor Utility Extracts keywords and filters stopwords.
CLexicon Utility Stores semantic word sets (buy/sell, order types).
CContext Helper Manages known symbols and last used instrument.
INLPListener Interface Callback interface for event-driven intent handling.
NLPUtil Namespace Text and timing utility functions.

➡️ View in-depth architecture diagram:


📦 Core Data Types

SNLPIntent — Parsed Trade Object

Field Type Description
valid bool True if parsed successfully
side ENLPOrderSide BUY, SELL, or UNKNOWN
type ENLPOrderType MARKET, LIMIT, STOP
symbol string Resolved trading symbol
price double Entry price (if provided)
tp, sl double Take-profit and stop-loss values
tp_is_percent, sl_is_percent bool True if % based
tp_is_pips, sl_is_pips bool True if in pips/points
qty_lots double Detected lot size
when SNLPWhen Time or breakout conditions
raw string Original message text
reason string Debugging or explanation field

🔍 How It Works

  1. Normalization: Text is lowercased, cleaned, and synonyms replaced (take profit → tp).
  2. Tokenization: Words are split and stopwords filtered out.
  3. Lexical Matching: Detects intent direction using fuzzy Levenshtein distance ≤1.
  4. Number Context Extraction: Interprets numbers as price, TP/SL, or lot size via unit analysis.
  5. Timing Logic: Recognizes “at 09:15”, “in 15 min”, and breakout triggers.
  6. Symbol Resolution: Infers instruments like gold → XAUUSD.
  7. Intent Build: Constructs SNLPIntent and triggers listener callbacks.

⚠️ AlgoNLP.mqh uses deterministic text parsing and context-based heuristics — it does not employ AI or machine learning.
As a result, extremely ambiguous or grammatically incomplete sentences may yield undefined behavior or incomplete intents.
Always validate parsed results before executing real trades.

🧩 Example Integration

Safety

All INLPListener callbacks (such as OnOrderIntent , OnError , etc.) are executed synchronously from the main EA thread.
Heavy logic, API calls, or order operations inside these methods can block trading flow or cause lag.
It is recommended to delegate trade execution to asynchronous or timed functions instead of calling them directly in callbacks.

#include <AlgoNLP.mqh>

class CMyListener : public INLPListener
{
 public:
  void OnOrderIntent(const SNLPIntent &i) override
  {
     Print("✅ NLP Worked!");
     Print("Side: ", EnumToString(i.side));
     Print("Type: ", EnumToString(i.type));
     Print("Symbol: ", i.symbol);
     Print("TP: ", DoubleToString(i.tp, 2), " | SL: ", DoubleToString(i.sl, 2));
  }
};

CMyListener listener;
CNLP nlp;

int OnInit()
{
   nlp.AddSymbol("XAUUSDm");
   nlp.AddListener(listener);
   return(INIT_SUCCEEDED);
}

void OnStart()
{
   string text="Buy gold at 2370 with TP 0.3% and SL 1%";
   nlp.Dispatch(text);
}

🧮 Performance Metrics

Test Case Tokens Parse Time Accuracy
Short Command (“Buy BTC market”) 5 0.09 ms 100%
Full Sentence (“Buy gold at 2370 with TP 0.3% and SL 1%”) 15 0.22 ms 100%
Noisy Query (“Hey bot short nasdaq please 0.5 lot”) 18 0.26 ms >95%

➡️ Benchmark performed on Intel i7-9700 / MT5 Build 3820.

🧭 Summary

AlgoNLP.mqh transforms ordinary text into actionable trade logic inside MetaTrader. It’s designed for developers who want their EAs to think like humans — understanding plain English instructions and executing trades intelligently. This isn’t a shortcut — it’s a full linguistic computation system written in native MQL5.

推荐产品
Trading Notes   is an innovative tool designed for traders to streamline their decision-making process by allowing them to write and display important reminders or short details directly over their trading charts. This essential feature ensures that traders have quick access to their personalized checklist before opening any positions, enhancing their trading efficiency and accuracy. MT4 Version -  https://www.mql5.com/en/market/product/120613 Join To Learn Market Depth -  https://www.mql5.co
FREE
Delete Only Pending Orders
Muhammad Usman Siddique
适用于 MetaTrader 5 (MT5) 的 UZFX - 仅删除挂单脚本是一款简单而有效的工具,可自动删除交易账户中的所有挂单(限价买入、限价卖出、止损买入、止损卖出)。该脚本非常适合希望在不影响活跃市场头寸的情况下即时清除挂单的交易者。 查看我的所有其他 MT4/MT5 指标和 EA >> 这里 功能: 删除所有挂单(买入限价单、卖出限价单、买入止损单、卖出止损单)。 不影响未结市场头寸。 通过专家选项卡提供实时执行反馈。 帮助交易者快速重置挂单策略,无需手动干预。 使用方法: 将脚本附加到 MT5 图表。 脚本将自动扫描并删除所有挂单。 注意: 该脚本不会关闭有效交易,只会删除挂单。 运行脚本前,请确保您要删除所有挂单。 它适用于账户中的所有交易符号,而不仅仅是所附图表。 开发者: UZFX-LABS Version: 1.00 Year: 2025 下载 mt4 脚本 : 133840
FREE
INTRODUCING MML Data Bridge The demand for bridging external data and machine learning with trading platforms is higher than ever. MetaTrader 5 is a powerful environment for trading and back testing, but without a data bridge, MT5 is largely isolated from using any external data. MML Bridge is a developer tool that allows users to bridge external data into MT5 for back testing, live trading, and optimization. It's built for ease of use, providing users with a simple function API that drip-feeds
FREE
================================================================ MATRIX CONDITION MONITOR Live Trade Condition Panel for MetaTrader 5 Fully Automatic -- Works with ALL Matrix EAs ================================================================ NEVER MISS A TRADE SETUP AGAIN Matrix Condition Monitor is a free utility that attaches to any chart and automatically checks all 10 trade conditions in real time -- showing you exactly why a trade will or will not open, and alerting you the moment ever
FREE
K Trade Lib5
Kaijun Wang
2 (1)
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib5.ex5"    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comm
FREE
RsiCrossSma
Thiago Gomes Cavalcanti
5 (2)
Esse indicador é a combinação do  RSI (IFR) com Média Móvel Simples aplicada o RSI em um único indicador para facilitar a criação de alguma estratégia. Fiz esse indicador para que um único indicador contenha os buffer necessários para implementar alguma EA. Descrição dos Buffers para o EA, Buffer 0 -> Valor do RSI Buffer 1 -> Valor da média móvel aplicada ao RSI
FREE
TRADE PANEL MASTER — Know Your Risk Before You Click Open your chart. See your panel. Trade with confidence. Before you click Buy or Sell, Trade Panel Master shows you  exactly what you risk, what you gain, and your R:R ratio —  in real time. No mental math. No surprises. FEATURES - Lot sizing with real-time margin display - SL & TP in 3 modes: Points / Money / Price - Au
FREE
Trendline mt5 indicator
David Muriithi
4 (2)
Are you tired of drawing trendlines every time you're analyzing charts? Or perhaps you would like more consistency in your technical analysis. Then this is for you. This indicator will draw trend lines automatically when dropped on a chart. How it works Works similar to standard deviation channel found on mt4 and mt5. It has 2 parameters: 1. Starting Bar 2. Number of bars for calculation The   starting bar   is the bar which drawing of the trend lines will begin, while the   number of bars for c
FREE
SignalXpert
Steve Rosenstock
5 (4)
点击此处查看我所有免费产品 SignalXpert 是我专为使用 RangeXpert 指标的交易者开发的一款强大的分析工具。 RangeXpert 作为系统的基础,可精确识别市场区域并提供数据, SignalXpert 会对这些数据进行实时分析,从而生成清晰且可执行的交易信号。 这使得系统能够在不同周期中同时监控多达 25 个不同的资产 ,并实时捕捉最重要的市场变化。得益于集成的提醒功能, 可以通过 alert、push 或 email 发送通知 ,确保你不会再错过任何交易机会。安装在 MetaTrader VPS 上后, SignalXpert 可 24/7 全天候运行,为你提供可靠的信号监控。无论你是在规划进场还是出场, SignalXpert 都能为你提供快速而精准的支持,帮助你在波动的市场中自信交易。 规格 与 RangeXpert 无缝集成 - 使用其数据对市场区域和区间进行实时分析。 同时监控多达 25 个资产 - 非常适合多资产和多周期分析。 兼容所有主要市场 - 外汇、货币、金属、股票和指数。 实时信号检测 - 自动识别突破、区间切换和趋势区域。 实时通知 -
FREE
CommunityPower MT5
Andrey Khatimlianskii
4.69 (90)
CommunityPower EA   — is the Expert Advisor for MetaTrader 4/5, created by community and for community. It is free, versatile and very powerful, and allows to trade a wide range of strategies. The idea is simple Your suggestions + my code = a win-win for everyone! Is it a ready-to-use money-making machine? No, it is definitely not. It is a tool, which allows you to create and run your own trading strategy, and it is up to you to find profitable settings and take the responsibility for your tra
FREE
Lib5 EAPadPRO for MT5
Vladislav Andruschenko
4.5 (6)
EAPADPRO Library for MetaTrader 5 是一个免费的专业界面库,用于为您的 Expert Advisor 添加现代化的信息面板。 该库专为 MQL5 开发者设计,适合希望让自己的交易程序在 MetaTrader 5 图表上拥有更清晰、更专业、更有信息价值的视觉呈现。 MetaTrader 5 的 Expert Advisors 通常包含更复杂的逻辑、多组设置、Magic number 过滤、订单执行规则以及内部策略数值。EAPADPRO 可以将这些信息整理到一个结构化面板中,让用户更快、更直观地理解程序当前状态。 EAPADPRO for MT5 是一个免费库。 您可以使用它来提升 Expert Advisor 的界面、信息输出和整体视觉质量。 完整的分步集成说明: LIB - EAPADPRO 分步集成教程 EAPADPRO 面板详细说明: EAPADPRO 信息面板 MetaTrader 4 版本: EAPADPRO Library for MT4 MQL5   Channel  https://www.mql5.com/en/channels/expf
FREE
TrendTrackers
Massimo Boncompagni
Introducing the " TrandTraker Short Resistance Strategy," a secret weapon designed to capitalize on market downturns. This advanced algorithm springs into action when prices touch the resistance level, swiftly opening short positions. Tested on GBP/USD H4, this strategy is highly customizable to fit all currency pairs and time frames. With adjustable parameters, intelligent resource management, and dynamic adaptation, you can face the market with confidence. Get ready to ride the waves of the fi
FREE
Consolidator Detector
Adedayo David Gbadebo
The Consolidation Detector is a precision-engineered Expert Advisor designed to identify periods of low-volatility market activity. By scanning a user-defined lookback period, this tool automatically detects price consolidation and highlights structural zones on your chart. It is an essential asset for traders utilizing Smart Money Concepts (SMC) who need to visually identify potential breakout or liquidity zones with accuracy.
FREE
MultiTF Moving Average Panel
Mohamed Amine Talbi
5 (1)
The   "MultiTF Moving Average Panel"   indicator is more of a helping tool than an indicator, it serves to help know the trend direction for the current currency pair of all timeframes in one place. It is best used with other indicators and signals, to help filter the signals according the trend based on multiple timeframes. Indicator inputs : - Moving Average period   : Default is set to 34. - Moving Average method   : The method of calculation of the Moving Average. Default is set to Exponent
FREE
Heiken Ashi Smoothwave
Alexandre Vincent Traber
概述 Heiken Ashi Smoothwave 将您的图表直接转换为平滑的平均K线(Heiken Ashi),并在主图表窗口中替代标准K线,呈现更清晰的趋势视图。无需单独窗口,界面简洁。 工作原理 每根K线根据真实价格数据计算 Heiken Ashi 的开高低收值。 直接在主图表上绘制彩色 Heiken Ashi K线。 自动隐藏原生图表K线,仅显示 Heiken Ashi K线。 移除指标时自动恢复标准K线。 输入参数 无可配置参数,添加即可使用。 推荐设置 适用于任何交易品种、任何时间周期。可在外汇、黄金、指数及MetaTrader 5支持的任何品种上使用。 截图 应用 Heiken Ashi Smoothwave 后的图表,原生K线已自动隐藏。 免责声明 本指标为趋势分析的可视化工具,并非交易信号生成器。过往表现及视觉平滑效果不保证未来结果。使用真实账户前请务必先在模拟账户上测试。
FREE
Follow The Line MT5
Oliver Gideon Amofa Appiah
4.6 (35)
This indicator obeys the popular maxim that: "THE TREND IS YOUR FRIEND" It paints a GREEN line for BUY and also paints a RED line for SELL. (you can change the colors). It gives alarms and alerts of all kinds. IT DOES NOT REPAINT and can be used for all currency pairs and timeframes. Yes, as easy and simple as that. Even a newbie can use it to make great and reliable trades. NB: For best results, get my other premium indicators for more powerful and reliable signals. Get them here: https://www.m
FREE
CloseAllOrders at once
Lamont Simone Reynecke
Simple program i created, to help close all your orders instantly when you are busy scalping the market or if you want to avoid news days but still have a lot of orders and pending orders open and can't close them in time.. with this script all you're problems will be solved. Simple drag and drop and the script automatically does it's thing, quick and easy  also a very good tool to use when scalping Update!!!!!! this now only closes the positions on the chart you have open with a fail safe
FREE
Most lot size calculators assume one pip is worth ten dollars. That assumption is wrong on gold, wrong on indices, wrong on JPY crosses, and wrong on every account not denominated in USD - which is to say, wrong exactly where oversizing hurts. This one asks your server instead. It reads the tick value, tick size, point size, volume step and margin requirements actually published for the symbol on your chart, so the number it gives you is the number your account will accept. How it works Attach i
FREE
Abj Sweep EA
Abdellah Afkir
Abj Sweep EA is a professional Smart Money Concepts (SMC) Expert Advisor for MetaTrader 5, built to identify high-probability liquidity sweep opportunities and execute trades with advanced risk management. It combines market structure analysis, institutional concepts, and automated trade management into a single multi-currency trading system. —-FOR SET FILE CLICK HERE —-EURUSD 1M —-Check EA live performance———————— -Server: Exness-MT5Trial15 -Login: 474003403 -Investor Password: Aa12345@ ———————
FREE
SmartRisk Trade Tool — One-Click Risk-Based Trade Panel SmartRisk Trade Tool is a manual trading panel for MetaTrader 5 built around position sizing and risk control rather than signal generation. It does not analyze the market or suggest trade direction — it exists so that every order sent from the chart already has a calculated lot size, stop loss, and take profit consistent with a risk value the trader chooses, removing the manual arithmetic that normally happens between deciding to trade and
FREE
Donchian Pro
Paulo Henrique Faquineli Garcia
5 (3)
The Donchian Channel Channels are among the most popular tools of technical analysis, as they visually convey to the analyst the limits within which most price movement tends to occur. Channel users know that valuable information can be obtained at any time, whether prices are in the central region of a band or close to one of the border lines. One of the best known techniques to explore these concepts is Bollinger Bands. However, John Bollinger was not the only one to research the application
FREE
PRODUCT TITLE: Mindgame  SHORT DESCRIPTION (Max 150 chars): All-in-One professional indicator: 5 SMAs, Non-Repainting MACD Crossover Arrows, NY Session Shading, and Live HUD Dashboard for MT5. CATEGORY: Market > MetaTrader 5 > Indicators > Trend / Oscillators PRICE RECOMMENDATION: $39 - $59 (or Free with premium upgrade / rental options) ================================================================================ FULL PRODUCT DESCRIPTION (Copy-paste directly into MQL5 Market description
FREE
Ichimoku MTF Dashboard reads the full Ichimoku Kinko Hyo system across four timeframes at once and turns it into a single clear state for each of them. Instead of crowding every chart with five overlapping lines, it answers the question that actually matters at a glance. On M15, H1, H4 and D1, is price above, inside or below the cloud, and is the balance tilting bullish or bearish. For each timeframe the panel combines four honest Ichimoku readings. It looks at the position of price relative to
FREE
LT Mini Charts
Thiago Duarte
4.88 (8)
This is a utility indicator that creates mini charts on left side of the chart you are looking at. It is very useful to watch many timeframes simultaneously, without having to change between multiple charts. Its configuration is very simple. You can have up to 4 mini charts opened. They automatically load the template of the "parent" chart. If you have any doubt please contact me. Enjoy! This is a free indicator, but it took hours to develop. If you want to pay me a coffee, I appreciate a lot  
FREE
适用于 MetaTrader 5 (MT5) 的 UZFX - 所需保证金和最大手数脚本旨在帮助交易者快速确定开立 1 手头寸所需的保证金,并根据其当前账户净值计算可交易的最大手数。该工具对于风险管理和头寸大小至关重要,可帮助交易者有效规划交易。 功能 计算对所选符号开仓 1 手交易所需的保证金。 根据可用资金确定交易者可以开仓的最大手数。 使用当前卖出价精确计算保证金。 使用评论功能直接在图表上显示结果。 帮助交易者在管理杠杆和风险的同时优化仓位大小。 使用方法: 将脚本附加到所需交易符号的图表上。 脚本将计算并显示结果: 1 手所需保证金 基于可用资金的最大可交易手数 结果将显示在图表的左上角。 注意 脚本使用买入订单类型计算保证金。 最大手数是根据净值计算的,而不是自由保证金。 本脚本不进行交易;纯粹用于提供信息。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
FREE
适用于 MetaTrader 5 (MT5) 的 UZFX - 即时关闭所有未结买单和卖单脚本是一款功能强大的工具,交易者只需执行一次操作,即可立即关闭所有活跃的市场头寸。该脚本是紧急交易管理的理想工具,可帮助交易者在剧烈波动、新闻事件或策略调整期间快速退出市场。 功能 关闭所有符号的所有未结买入和卖出头寸。 使用最新的买入价/卖出价,执行准确。 帮助交易者即时退出市场,只需极少的手动操作。 使用方法 将脚本附加到 MT5 图表。 脚本将扫描并关闭所有未平仓的买入和卖出头寸。 专家选项卡中将显示每个平仓订单的确认信息。 注意 该脚本不会删除挂单,只会关闭活跃的市场头寸。 它适用于所有交易符号,而不仅仅是所附图表。 运行脚本前,请确保您要关闭所有仓位,因为脚本会立即执行。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
FREE
ADR ST Patterns Strategy
Vladimir Poltoratskiy
5 (1)
ADR ST Patterns Strategy  is a modification of the classical  ADR  indicator. This simple indicator corresponds to the parameters specified in the  ST Patterns Strategy ( https://stpatterns.com/ ) .  Structural Target Patterns represents the market consistently divided into components. No trend lines, geometric proportions of the model itself, trading volume, or open market interest are needed for the formation of  ST Patterns . They are easily recognized and built only on the basis of breaking
FREE
The RSI Engine
Md Abdul Manann
The RSI Engine 是一款适用于 MetaTrader 5 的免费自动交易 EA(智能交易系统),专为自营交易公司(Prop Firm)挑战设计。它基于 RSI 背离和 RSI 反转信号进行交易,内置每日回撤保护、最大回撤保护和新闻过滤。无马丁格尔、无网格、无加仓摊平——每笔交易都带有止损。 本 EA 专为参加 Prop Firm 挑战和使用资金账户(Funded Account)的交易者打造。The RSI Engine 自动帮助您遵守每日亏损和最大亏损规则,避免因一天的失误而失去账户。 (需要根据您的 Prop Firm 规则进行定制设置?请在评论中描述您的账户规则,我很乐意帮您配置。) 为什么 THE RSI ENGINE 适合 PROP FIRM - 每日回撤限制:在达到每日亏损上限前自动停止当天交易 - 最大回撤限制:当净值接近最大亏损时完全停止 EA(支持静态和追踪回撤) - 灵活的每日亏损计算:以当日开始时的余额、净值或两者中的较高者为基准——与大多数 Prop Firm 的计算方式一致 - 自定义每日重置时间:使 EA 的交易日与您的 Prop Fi
FREE
MTF Trend MT5
Sergey Ermolov
5 (2)
Dual Striker —— 全新黄金交易EA。 真实信号 +150% ->   真实账户 无马丁格尔策略,无加仓摊平 在您的交易终端中免费测试:   Dual Striker EA MTF Trend —— 基于3个时间周期的简洁趋势方向指标。 打开图表后,您可能无法确定不同时间周期的市场方向是否一致。 MTF Trend 会立即给出答案——3个箭头、3个时间周期、一个结论:您现在是在顺势交易,还是在逆势交易。 一眼看清趋势方向 图表上会显示一个紧凑的监控面板。每个箭头代表对应时间周期的趋势方向。 趋势方向基于市场结构进行判断: HH + HL → 上升趋势 LH + LL → 下降趋势 该指标通过分析价格高点和低点的变化结构来判断当前市场方向。 只需看一眼面板,您就能立即知道: 不同时间周期的市场方向是否一致; 现在是否适合入场,还是应该继续等待; 如果高周期显示不同方向,是否应该暂时观望。 避免逆着高周期趋势交易 交易者最常见的错误之一,就是逆着高周期趋势入场。MTF Trend 可以帮助您在开仓前快速发现这类情况。 您将获得一个 简单直观的趋势过滤器 : 如果箭头方向一
FREE
Pump Liquidity Refueling
Konstantin Meshcheriakov
PUMP V3_0 Liquidity Refueling — Refueling Your BalanceWhat is "Liquidity Refueling"? Think of the Forex market as a highway and liquidity as the fuel.  When institutional players "pour" massive volume into the market, the price makes a sharp surge — an impulse or a "pump."  The PUMP V3_0 EA acts as a smart fueling station: it identifies moments of maximum market energy and "pumps" that momentum directly into your trading account.   Performance Metrics (Strategy Tester Data):Net Profit "Pumped"
FREE
该产品的买家也购买
MT5 to Delta Exchange API Bridge EA Connector allows your expert advisor with mq5 file to integrate and communicate with Delta Exchange using API Keys You can place order, check balance and other order managements using Delta Exchange API - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Cancel Order - Query Orders - Change Leverage, margin - Get Position info and many more, details available at demo script Script Documentation 
ModernUI Library
Levi Dane Benjamin
适用于 MetaTrader 5 的 ModernUI 库 ModernUI 是一个用于 MetaTrader 5 的图表内用户界面库。它可以帮助 MQL5 开发者在 MT5 图表环境中构建更清晰的 EA 面板、仪表盘、设置窗口、表单、表格、对话框、抽屉式面板以及紧凑型交易风格界面。 它适合希望获得比零散图表对象更专业的界面层,同时仍然完全掌控自己 EA、指标或工具逻辑的开发者。 Modern UI - 用户指南   | EA 示例演示 你可以构建什么 ModernUI 并不局限于某一种面板类型。它为你提供了一个可复用的界面层,几乎可以用于任何你想在 MetaTrader 5 图表中构建的工具。 你可以用它创建简单的设置界面、紧凑型交易面板、完整仪表盘、数据视图、控制面板、账户工具、流程界面、监控界面、实用工具窗口、商业 EA 前端界面等等。 随附的演示展示了几个实用示例,但它们只是起点。如果你的 MQL5 项目需要按钮、输入框、表格、对话框、标签页、抽屉面板、图表、状态区域,或需要一种更清晰的方式在图表上展示信息,ModernUI 都可以为你提供构建模块。 主要功能 适用于 Me
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
EX5 Signal Copier
Rajesh Kumar Nait
EX5 信号复制库 — 适用于 MT 的专业交易事件引擎 无需编写复杂的交易跟踪逻辑,即可将任何智能交易系统 (EA) 转换为强大的交易复制器、信号处理器或自动化引擎。 EX5 信号复制库是一个高性能的事件驱动系统,能够捕获 MetaTrader 5 中的所有交易活动,并将其转换为结构化信号,您可以利用这些信号构建: 交易复制器(MT5 → MT5 / MT5 → 外部) 风险管理引擎 分析仪表盘 自定义执行桥接(币安、API 等) 为什么选择此库? 实时交易检测 结构化信号队列 事件分类(开仓、平仓、修改、部分平仓) 内置复制引擎(可选) 通过自定义逻辑实现完全控制 主要特性 实时交易捕获 使用 OnTradeTransaction 即时检测每一笔交易 备份轮询系统确保不遗漏任何信号 完整的交易生命周期支持 捕获所有操作: 买入/卖出 限价/止损单 止损/止盈修改 部分平仓 持仓平仓 反向交易 成交量增加 信号队列系统 线程安全的内部队列 按顺序处理信号 即使在高负载下也不会遗漏任何事件 内置复制引擎
Native Websocket
Racheal Samson
5 (6)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 Web Socket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native t
This library will allow you to send your trades using your MT5 EA bot and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in documentation. This product allows trading operations via API For MEXC chart : Renting   Crypto Charting  for OHLC data or   Crypto Ticks with Order Book Depth  is optional - Supports MEXC API calls - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Modify Limit order - C
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
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
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
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
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 );    //复杂开单
Binance Library MetaTrader 5 connects your Expert Advisors, indicators, and scripts to Binance.com and Binance.US directly from MetaTrader 5. It is a developer library for building custom Binance integrations inside MT5, not a standalone trading robot or copier. The library helps you add Binance instruments to Market Watch, read symbol specifications, load current and historical market data, check wallet balances, manage orders, and track open positions. It supports Spot, USD-M futures, and COI
1. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
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. 
AO Core
Andrey Dik
3.67 (3)
AO Core is the core of the optimization algorithm, it is a library built on the author's HMA (hybrid metaheuristic algorithm) algorithm. Pay attention to the MT5 Optimization Booster product , which makes it very easy to manage the regular MT5 optimizer . An example of using AO Core is described in the article: https://www.mql5.com/ru/articles/14183 https://www.mql5.com/en/blogs/post/756510 This hybrid algorithm is based on a genetic algorithm and contains the best qualities and properties of p
EA Toolkit
Esteban Thevenon
EA Toolkit   is a library that allows any developer to quickly and easily program Advisor experts. It includes many functions and enumerations such as trailing stop, lot, stop loss management, market trading authorisations, price table updates, trading conditions and many more. Installation + Documentation : You will find all the information to install this library and the documentation of its functions on this GitHub : https://github.com/Venon282/Expert-Advisor-Toolkit WARNING : The installat
GetFFEvents MT5 I tester capability
Hans Alexander Nolawon Djurberg
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
A Simple Moving Average (SMA) is a statistical indicator used in time series analysis. This indicator represents the arithmetic mean of a sequence of values over a specific period of time. SMA is used to smooth short-term fluctuations in data, helping to highlight the overall trend or direction of changes. This aids analysts and traders in better understanding the general dynamics of the time series and identifying potential trends or changes in direction.  More information you can find in Wiki 
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
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
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
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于AP
作者的更多信息
Eclipse xNova
Abhijay Tiwari
Symbol: ETHUSDTm , XAUUSD Timeframe: M15 Minimum Deposit: $100 Single-Order Trading: Broker Compatibility: Works with any broker (2–3 digit symbols, any currency, any GMT offset) Setup: Plug-and-play — runs instantly without configuration ️ Overview Eclipse-xNova is an advanced algorithmic trading system designed to capture market inefficiencies across Crypto and Gold markets with unparalleled precision. Built upon a custom indicator core combined with MA-based trend filters and dynami
GOLD M5 Scalper is an automated trading system designed for XAUUSD on the M5 timeframe. It uses a single-position scalping approach with fixed Stop Loss, optional Take Profit, and an optional trailing system. No grid, no martingale, no averaging, no high-risk techniques. The EA includes risk-based lot sizing, time filtering, spread control, and volatility protection. All trades are protected from entry and executed with a rule-based logic suitable for prop-firm trading limits. It supports both m
AlgoChamp v3 PLUS AlgoChamp v3 PLUS is an simple indicator designed to provide traders with clear market view at a very low cost . More AlgoChamp products and updates are currently in development. An automated trading solution is also planned for a future release. Features trend clouds Candle coloring EMA 21, 50, 100 and 200 overlays Take Profit markers max momentum tracking Customizable chart components Compatible with all supported trading instruments and timeframes How to Use Attach AlgoChamp
筛选:
Xian Lin Huang
215
Xian Lin Huang 2026.05.20 14:01 
 

用户没有留下任何评级信息

Abhijay Tiwari
726
来自开发人员的回复 Abhijay Tiwari 2026.09.08 17:43
it comes with the download package
回复评论