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.

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.

推荐产品
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
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
适用于 MetaTrader 5 (MT5) 的 UZFX - 所需保证金和最大手数脚本旨在帮助交易者快速确定开立 1 手头寸所需的保证金,并根据其当前账户净值计算可交易的最大手数。该工具对于风险管理和头寸大小至关重要,可帮助交易者有效规划交易。 功能 计算对所选符号开仓 1 手交易所需的保证金。 根据可用资金确定交易者可以开仓的最大手数。 使用当前卖出价精确计算保证金。 使用评论功能直接在图表上显示结果。 帮助交易者在管理杠杆和风险的同时优化仓位大小。 使用方法: 将脚本附加到所需交易符号的图表上。 脚本将计算并显示结果: 1 手所需保证金 基于可用资金的最大可交易手数 结果将显示在图表的左上角。 注意 脚本使用买入订单类型计算保证金。 最大手数是根据净值计算的,而不是自由保证金。 本脚本不进行交易;纯粹用于提供信息。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
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
FREE
MarketPro toolkit
Johannes Hermanus Cilliers
Start earning profits by copying All trades are sent by our successful Forex trader & are extremely profitable. You can earn profits by copying trades daily Trial Period included You'll also get access to extremely powerful trading education which is designed in a simple way for you to become a profitable trader, even if you have no trading experience. https://ec137gsj1wp5tp7dbjkdkxfr4x.hop.clickbank.net/?cbpage=vip
FREE
适用于 MetaTrader 5 (MT5) 的 UZFX - 即时关闭所有未结买单和卖单脚本是一款功能强大的工具,交易者只需执行一次操作,即可立即关闭所有活跃的市场头寸。该脚本是紧急交易管理的理想工具,可帮助交易者在剧烈波动、新闻事件或策略调整期间快速退出市场。 功能 关闭所有符号的所有未结买入和卖出头寸。 使用最新的买入价/卖出价,执行准确。 帮助交易者即时退出市场,只需极少的手动操作。 使用方法 将脚本附加到 MT5 图表。 脚本将扫描并关闭所有未平仓的买入和卖出头寸。 专家选项卡中将显示每个平仓订单的确认信息。 注意 该脚本不会删除挂单,只会关闭活跃的市场头寸。 它适用于所有交易符号,而不仅仅是所附图表。 运行脚本前,请确保您要关闭所有仓位,因为脚本会立即执行。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
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
================================================================ 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
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
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
Smart FVG Stats
- Md Rashidul Hasan
5 (1)
The  Smart FVG Statistics Indicator  is a powerful MetaTrader 5 tool designed to automatically identify, track, and analyze Fair Value Gaps (FVGs) on your charts. Love it? Hate it? Let me know in a review! Feature requests and ideas for new tools are highly appreciated. :) Try "The AUDCAD Trader": https://www.mql5.com/en/market/product/151841 Key Features Advanced  Fair Value Gap  Detection Automatic Identification : Automatically scans for both bullish and bearish FVGs across specified histo
FREE
GDS Renko Pip ST Chart - Pip-Based Renko Chart Indicator for MetaTrader 5 GDS Renko Pip ST Chart is a pip-based Renko chart indicator for MetaTrader 5. It helps traders build and study cleaner Renko price movement using a practical fixed pip or point-based brick structure. This tool is designed as a Renko chart foundation for manual analysis. It does not predict the market, does not generate buy or sell signals and does not decide whether a trade should be opened. What Pip ST Chart Does Renko ch
FREE
PIVOT eXtreme
Syamsurizal Dimjati
Pivot eXtreme Pivot adalah level referensi penting yang digunakan trader untuk memetakan potensi support & resistance intraday maupun jangka lebih panjang. Dalam sistem ini, level pivot dikembangkan menjadi P (Pivot Point utama) , R1–R13 (Resistance) , serta S1–S13 (Support) . Pivot Point (P) Titik pusat utama, dihitung dari rata-rata harga (High + Low + Close) / 3 . Berfungsi sebagai acuan keseimbangan harga : Jika harga di atas P → tren cenderung bullish. Jika harga di bawah P → tren cenderung
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
Эксперт  MACD_LevelTrader MT5   создан для торговле валютной пары XAUUSD. Данная версия это наработки того, что можно извлечь  из  индикатора MACD и Moving Average.  Важно   перед тестированием изменить настройку с 1000 на 5000                       Offset in points UP from SMA200 for sell              5000                       Offset in points DOWN from SMA200 for buy        5000   Тайм фрейм  М5. Два варианта логики, П араметр  true=вход по уровню  MACD +   SMA200, false=вход по MACD  Тестиру
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 (3)
点击此处查看我所有免费产品 SignalXpert 是我专为使用 RangeXpert 指标的交易者开发的一款强大的分析工具。 RangeXpert 作为系统的基础,可精确识别市场区域并提供数据, SignalXpert 会对这些数据进行实时分析,从而生成清晰且可执行的交易信号。 这使得系统能够在不同周期中同时监控多达 25 个不同的资产 ,并实时捕捉最重要的市场变化。得益于集成的提醒功能, 可以通过 alert、push 或 email 发送通知 ,确保你不会再错过任何交易机会。安装在 MetaTrader VPS 上后, SignalXpert 可 24/7 全天候运行,为你提供可靠的信号监控。无论你是在规划进场还是出场, SignalXpert 都能为你提供快速而精准的支持,帮助你在波动的市场中自信交易。 规格 与 RangeXpert 无缝集成 - 使用其数据对市场区域和区间进行实时分析。 同时监控多达 25 个资产 - 非常适合多资产和多周期分析。 兼容所有主要市场 - 外汇、货币、金属、股票和指数。 实时信号检测 - 自动识别突破、区间切换和趋势区域。 实时通知 -
FREE
TradeVision Pro
Ian Nganga Comba
TradeVisonPro Forex Analyzer Pro MT5 交易账户分析与监控仪表板 TradeVisonPro Forex Analyzer Pro 是一款专为 MetaTrader 5 用户设计的交易分析和账户监控解决方案。 本产品将 MT5 交易数据整理到结构化的网页仪表板中,使交易者能够查看账户信息、监控未平仓头寸、分析交易历史、跟踪策略、记录交易日志以及查看绩效统计数据。 TradeVisonPro Forex Analyzer Pro 旨在帮助交易者整理交易信息,并通过受支持的桌面和移动网页浏览器访问这些数据。 主要功能 • MT5 账户仪表板 • 未平仓头寸监控 • 交易历史分析 • 交易日历 • 策略跟踪 • 交易日志 • 账户绩效统计 • 绩效报告 • 交易通知 • 多账户支持 • 可分享的只读报告 MT5 账户仪表板 在一个结构化的仪表板中查看 MetaTrader 5 交易账户的重要信息。 可显示的信息包括: • 账户余额 • 净值 • 可用保证金 • 保证金水平 • 未平仓头寸 • 浮动盈亏 • 交易量 • 经纪商信息 • 账户信息 仪表板集中显示
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
MultiTimeframe Info Feed (MIF) Indicator Description: MultiTimeframe Info Feed (MIF) is a smart MQL5 indicator that displays a dynamic, real-time info panel directly on your chart, offering powerful insight into current market conditions. Key features include: Real-time display of Open, High, Low, Close, and live Tick price Tick Rate (ticks per second) for assessing market activity Auto-calculated Entry Price on new candle formation Signal direction detection (BUY / SELL) Price action pattern re
FREE
Trade Anomalo BTC Multi Grid
Alessandro Virgilio
5 (3)
Trade Anomalo BTC Multi Grid EA   Trade Anomalo  BTC Multi Grid  is an advanced, fully automated Multi-Grid Expert Advisor meticulously designed to navigate the volatility of BTC and other major pairs. Introduces highly requested features, including Multi-Window Time Management and an interactive, upgraded on-chart dashboard. Unlike traditional grids that get trapped in one direction,   Parallel Pro   utilizes a dual-engine architecture (Grid A and an optional inverted mirror Grid B) to simultan
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
VWAP Simple
Deibson Carvalho
4.24 (29)
The Volume Weighted Average Price is similar to a moving average, except volume is included to weight the average price over a period.    Volume-Weighted Average Price [VWAP] is a dynamic, weighted average designed to more accurately reflect  a security’s true average price over a given period . Mathematically, VWAP is the summation of money (i.e., Volume x Price) transacted divided by the total volume over any time horizon, typically from market open to market close. VWAP reflects the capitali
FREE
NewsXpert
Steve Rosenstock
点击此处查看我所有免费产品 NewsXpert 专为交易者设计,用于在图表上直接提供所有即将发布的经济事件的清晰、结构化概览。 你的 MetaTrader 5 实时新闻过滤器 。该指标会自动识别所选货币的所有相关新闻,并用颜色编码的线条标记(低、中、高影响)。因此你始终确切知道市场将 何时 、因 哪些新闻 而波动 - 无需打开外部日历或标签页。  NewsXpert 让经济不确定性变得可预测,因为它将所有相关市场信息准确地显示在你需要的位置 - 直接在图表上并实时呈现 。凭借清晰的可视化、精准的提前预警时间,以及仅过滤真正重要的货币和事件的能力,你的交易将变得更加冷静、有序和专业。通过 NewsXpert ,你不再被动反应,而是可以主动出击 - 充分准备、信息充足,并拥有一个能可靠保护你免受强烈市场波动的系统。它会在重要事件前为你提供实时信息、倒计时以及提醒 - 通过警报、推送或电子邮件发送。这样你不会再错过任何市场反应,并能精准控制风险。 规格 在图表上实时显示所有即将发布的经济新闻。 新闻影响等级颜色标识(LOW、MEDIUM、HIGH)。 可按货币过滤显示(如 USD、EU
FREE
Macro-R Pro Signal — Advanced Trading Signal Indicator Macro-R Pro Signal is a professional trading indicator designed to deliver high-quality BUY and SELL signals with enhanced precision and reduced market noise. By combining Bollinger Bands, RSI, and adaptive volatility filtering , this indicator helps traders identify high-probability reversal points while avoiding unfavorable market conditions. How the Strategy Works This indicator is built on a mean reversion + momentum confirmation concep
FREE
SPECIAL ANNOUNCEMENT: Get the Ultimate Trading Suite! Before you grab this utility, did you know? The LogicLadder Visual Trade Planner is so powerful that it serves as the core visual execution engine for my flagship MT5 trading systems! If you are looking for a massive, all-in-one trading dashboard, advanced trade management, or strict prop-firm guardrails, you can get this exact visual planner already included inside my premium and free full-suite EAs: Pro LTS TradeDashboard MT5 (Paid
FREE
How it works –   Base-departure detection — algorithmically finds consolidation bases (overlapping range with compressed volatility) followed by displacement departures. Patterns: Drop-Base-Rally, Rally-Base-Drop, Rally-Base-Rally, Drop-Base-Drop — detected structurally, not by candle names. –   Strength score (0–100) — from departure velocity, time-at-base, freshness (each revisit decays the score), higher-timeframe confluence and origin volume. –   Lifecycle — Fresh, Tested (decaying), Broken
FREE
QuantumAlert RSI Navigator is a free indicator available for MT4/MT5 platforms, its work is to provide "alerts" when the market is inside "overbought and oversold" regions in the form of "buy or sell" signals. This indicator comes with many customization options mentioned in the parameter section below, user can customise these parameters as needful. Join our MQL5 group , where we share important news and updates. You are also welcome to join our private channel as well, contact me for the priva
FREE
What is SMC Market Structure Pro? SMC Market Structure Pro is an automated trading Expert Advisor for MetaTrader 5 , developed based on Smart Money Concept (SMC) and market structure analysis . The EA is designed to help traders follow the natural flow of the market , focusing on price structure instead of indicators or lagging signals. How Does the EA Work? The EA analyzes market structure changes using pure price action: Detects higher highs & higher lows for bullish structure Detects l
FREE
Donchian Breakout And Rsi
Mattia Impicciatore
4.5 (2)
概述 本指标是经典 Donchian 通道 的增强版,增加了多种实用的交易功能。 除了标准的三条线(最高、最低和中线),系统能够检测 突破 ,并在图表上用箭头进行可视化标记,同时只显示 与当前趋势方向相反的那条线 ,让图表更加简洁。 功能包括: 可视化信号 :突破时在图表上绘制彩色箭头 自动通知 :弹窗、Push 推送和 Email 邮件 RSI 过滤 :根据市场相对强弱验证信号 个性化设置 :颜色、线条粗细、箭头符号、RSI 阈值等 工作原理 Donchian 通道计算: 上轨线 :最近 N 根已收盘 K 线的最高价 下轨线 :最近 N 根已收盘 K 线的最低价 中线 :最高价和最低价的平均值 看涨突破 :收盘价高于上轨线 看跌突破 :收盘价低于下轨线 指标会: 绘制三条 Donchian 通道线 仅在 方向变化后的首次突破 绘制箭头 隐藏顺应趋势方向的那条线(上涨趋势: 只显示红色下轨线;下跌趋势: 只显示绿色上轨线) 可选用 RSI 过滤突破信号,减少虚假突破 支持实时发送通知 参数说明 Donchian 通道设置 indPeriod :计算通道高低点的已收盘 K 线数量 Lin
FREE
该产品的买家也购买
WalkForwardOptimizer MT5
Stanislav Korotky
3.78 (9)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
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
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
MetaCOT 2 CFTC ToolBox MT5
Vasiliy Sokolov
3.4 (5)
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
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
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 );    //复杂开单
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
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
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
This trailing stop application will helping trader to set the trailing stop value for many open positions, that apply a grid or martingale strategy as a solution. So if you apply a grid or martingale strategy (either using an EA or trading manually), and you don't have an application to set a trailing stop, then this application is the solution. For EAs with a single shot strategy, just use the FREE trailing stop application which I have also shared on this forum.
KP TRADE PANEL EA is an EA MT5 facilitates various menus. KP TRADE PANEL EA is an EA skin care in MT5 is an EA that puts the system automatically in download EA MT5 to test with demo account from my profile page while some Trailing Stop Stop Loss require more than 0 features EA determines lot or money management calculates lot from known and Stop loss TS = Trailing stop with separate stop loss order Buy more AVR TS = Trailing stop plus
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单(设置的是你本机的时间)。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
作者的更多信息
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
筛选:
Xian Lin Huang
199
Xian Lin Huang 2026.05.20 14:01 
 

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

回复评论