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.

Produtos recomendados
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
Modern Dark Chart Theme (MT4/MT5) Overview A clean dark-mode chart theme designed for clarity and reduced eye strain during long trading sessions. Lightweight and simple to apply. Key features - Dark background with clear candle contrast - Minimal visual noise - Works on all symbols and timeframes - No performance impact How to use Apply the theme to any chart. No additional configuration is required. Support If you need help with installation, contact via MQL5 private messages. Ratings and
FREE
Lib5 EAPadPRO for MT5
Vladislav Andruschenko
4.5 (6)
Biblioteca para adicionar o Painel de Informações ao seu Consultor Especialista para MetaTrader 5. Não podemos garantir que as informações e a interface do programa lhe darão lucro nas negociações, mas certamente diremos que mesmo a interface mais simples do programa pode fortalecer a primeira impressão. A descrição detalhada e as instruções para adicionar nosso painel ao seu   Expert Advisor   estão em nosso blog:   LIB - EAPADPRO Instruções passo a passo Descrição detalhada de nosso painel e
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
Remaining Time
Dhokiyas Money Map Investment Consultants - FZCO
"Tempo Restante da Vela" para MetaTrader 5 "Nunca mais perca o fechamento de uma vela. Opere com timing perfeito." Canal Oficial para Atualizações Entre no canal : Dhokiyas Suporte Envie mensagem direta : Contact "Tempo Restante da Vela - Utilitário de Precisão para MT5" "Tempo Restante da Vela" é um utilitário leve e preciso para MT5 que mostra em tempo real o tempo exato restante da vela atual. Foi desenvolvido para traders que aguardam a confirmação do fechamento da vela e desejam entra
FREE
O script UZFX - Delete Only Pending Orders para MetaTrader 5 (MT5) é uma ferramenta simples mas eficaz que remove automaticamente todas as ordens pendentes (Buy Limit, Sell Limit, Buy Stop, Sell Stop) da conta de negociação. Este script é ideal para os negociadores que querem limpar as suas ordens pendentes instantaneamente sem afetar as posições activas no mercado. Veja todos os meus outros indicadores MT4/MT5 e EAs >> AQUI Caraterísticas: Elimina todas as ordens pendentes (Buy Limit, Sell L
FREE
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
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
Product Description PropFirm Risk Manager EA is a dedicated risk-control Expert Advisor designed for prop firm traders (FTMO, MyFunded, E8, and similar). This EA does NOT open trading strategies . Its only job is to protect your account by monitoring equity in real time and enforcing risk rules automatically. It helps you: Prevent daily and maximum drawdown violations Stop trading after reaching daily profit targets Control trading time windows Avoid accidental rule breaks due to emotions or ov
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
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
CLIQUE AQUI PARA VER TODOS OS MEUS PRODUTOS GRATUITOS SignalXpert foi desenvolvido por mim para oferecer aos traders que utilizam o indicador RangeXpert uma ferramenta poderosa de análise. RangeXpert serve como a base do sistema – ele identifica áreas precisas do mercado e fornece os dados que o SignalXpert avalia em tempo real para gerar sinais claros e acionáveis. Isso permite o monitoramento simultâneo de até 25 diferentes ativos em vários timeframes , detectando em tempo real os movimentos
FREE
Donchian Pro
Paulo Henrique Faquineli Garcia
4.75 (4)
O Canal Donchian Os canais são uma das ferramentas de análise técnica mais populares porque transmitem intuitivamente aos analistas as restrições que tendem a ocorrer na maioria das mudanças de preço. Os usuários do canal sabem que informações valiosas podem ser obtidas a qualquer momento, independentemente de o preço estar no centro de uma faixa ou próximo a uma das fronteiras. Uma das técnicas mais famosas para explorar esses conceitos são as bandas de Bollinger. No entanto, John Bollinger não
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
VWAP Simple
Deibson Carvalho
4.24 (29)
O Preço médio ponderado por volume é semelhante a uma média móvel, exceto que o volume é incluído para ponderar o preço médio durante um período. O preço médio ponderado por volume [VWAP] é uma média ponderada dinâmica projetada para refletir com mais precisão o preço médio verdadeiro de uma segurança em um determinado período. Matematicamente, o VWAP é o somatório do dinheiro (ou seja, Volume x Preço) transacionado dividido pelo volume total em qualquer horizonte de tempo, normalmente do merca
FREE
NewsXpert
Steve Rosenstock
CLIQUE AQUI PARA VER TODOS OS MEUS PRODUTOS GRATUITOS DashXpert   é um painel totalmente gratuito e poderoso para   MetaTrader 5 , exibindo todos os dados essenciais de   mercado, informações da conta e estatísticas de desempenho   diretamente no seu gráfico. Em vez de alternar entre janelas e abas,   DashXpert   oferece uma   visão centralizada e inteligente   - otimizada para máxima clareza, mínima distração e aparência profissional. Ele fornece uma visão clara e em tempo real das suas   pos
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
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
Big Momentum Screener: Zero-Lag Volatility Breakout Big Momentum Screener is a professional trend-following indicator designed for MetaTrader 5. It detects high-probability breakout setups by combining Bollinger Bands volatility expansion with Price Action logic. Unlike standard indicators that lag significantly, this tool focuses on the "Squeeze & Release" concept—identifying exactly when the market wakes up from a consolidation phase and starts a new directional move. How It Works (The Logic
Donchian Breakout And Rsi
Mattia Impicciatore
5 (1)
Descrição geral Este indicador é uma versão aprimorada do Canal Donchian clássico, enriquecida com funções práticas para o trading real. Além das três linhas padrão (máxima, mínima e linha do meio), o sistema detecta breakouts e os mostra visualmente com setas no gráfico, exibindo apenas a linha oposta à direção da tendência atual para uma leitura mais limpa. O indicador inclui: Sinais visuais : setas coloridas nos breakouts Notificações automáticas : alerta pop-up, push e e-mail Filtro RSI : pa
FREE
NOTE: Turn Pattern Scan ON This indicator identifies Swing Points, Break of Structure (BoS), Change of Character (CHoCH), Contraction and Expansion patterns which are plotted on the charts It also comes with Alerts & Mobile notifications so that you do not miss any trades. It can be used on all trading instruments and on all timeframes. The non-repaint feature makes it particularly useful in backtesting and developing profitable trading models. The depth can be adjusted to filter swing points.
FREE
EdgeZone EA Inspector - FREE Edition Monte Carlo Analysis Tool for Trading Strategies Important: This is an analysis tool, not a trading robot. It does not execute trades but analyzes strategy data through statistical simulations. The Problem Many Expert Advisors show impressive backtest results but fail in live trading. The most common reason: over-optimization - the strategy was adjusted until it looks perfect for past data, but doesn't work for the future. The Solution: EdgeZone EA Inspector
FREE
MACD Colored ZeroLag
Farzin Sadeghi Bonjar
4.73 (11)
It is the MQL5 version of zero lag MACD that was available for MT4 here: https://www.mql5.com/en/code/9993 Also there was a colored version of it here but it had some problems: https://www.mql5.com/en/code/8703 I fixed the MT4 version which has 95 lines of code. It took me 5 days to write the MT5 version.(reading the logs and testing multiple times and finding out the difference of MT5 and MT4!) My first MQL5 version of this indicator had 400 lines of code but I optimized my own code again and n
FREE
QuantumAlert Stoch 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 p
FREE
TrendEA FourAverage
Mikhail Sergeev
3 (2)
O Expert Advisor de tendências foi criado especificamente para procurar os parâmetros ideais para o indicador"FourAverage". O Expert Advisor negocia no modo sempre em uma transação (fechando uma transação de compra e abrindo imediatamente a oposta). Essa abordagem permite identificar com a maior precisão possível a capacidade dos indicadores de determinar a tendência. O Expert Advisor é totalmente automático e tem a capacidade de gerenciar o capital usando o método Martingale. A configuração pad
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
PZ Goldfinch Scalper EA MT5
PZ TRADING SLU
3.31 (52)
Esta é a iteração mais recente do meu famoso scalper, Goldfinch EA, publicado pela primeira vez há quase uma década. Ele amplia o mercado em expansões súbitas de volatilidade que ocorrem em curtos períodos de tempo: assume e tenta capitalizar a inércia no movimento dos preços após uma súbita aceleração dos preços. Esta nova versão foi simplificada para permitir que o profissional use o recurso de otimização do testador facilmente para encontrar os melhores parâmetros de negociação. [ Guia de ins
FREE
React Fibonacci Chart
Kim Yonghwa
4.75 (12)
Funcionalidades Indicador para Negociação de Retração de Fibonacci Um gráfico de Fibonacci é desenhado com base na barra anterior selecionada entre 1H, 4H, 1D e 1W. Quando o preço de mercado toca o nível de Fibonacci, a cor muda e o horário do toque é exibido. O gráfico de Fibonacci é desenhado nos níveis -23.6, 0, 23.6, 38.2, 50, 61.8, 76.4, 100 e 123.6, e o gráfico é atualizado quando a barra é atualizada. Variáveis Intervalo de tempo: Um gráfico de Fibonacci é desenhado com o intervalo de
FREE
Os compradores deste produto também adquirem
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.
Esta biblioteca permitirá que você gerencie negociações usando qualquer um de seus EA e é muito fácil de integrar em qualquer EA que você mesmo pode fazer com o código de script mencionado na descrição e também exemplos de demonstração em vídeo que mostram o processo completo. - Pedidos Place Limit, SL Limit e Take Profit Limit - Ordens Place Market, SL-Market, TP-Market - Modificar ordem de limite - Cancelar pedido - Consulta de pedidos - Mudança de alavancagem, margem - Obter informaçõe
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
突破交易策略:智能风控系统升级版‌ 当价格突破关键阻力位时,往往意味着趋势的质变时刻。我们的突破交易策略通过三重智能系统——‌动态阈值识别‌、‌量能验证机制‌和‌自适应止损算法‌,帮助交易者精准捕捉这些跃迁机会。 ‌核心优势‌: ‌智能预警‌:实时监测200+技术指标,自动标记潜在突破位 ‌风险对冲‌:突破失败时自动触发0.5秒内止损,保护本金安全 ‌多周期验证‌:结合日线/4小时/1小时数据过滤假信号 ‌实战案例‌: 2025年第二季度,该策略在现货黄金市场实现连续23次有效突破,平均持仓周期缩短至4.7小时,收益率达传统趋势策略的3.2倍。 ‌智能风控系统‌: ‌动态止盈‌:根据ATR指标自动调整止盈位,锁定利润的同时保留上行空间 ‌分级止损‌:首次突破失败后自动切换至1:1盈亏比保护模式,二次突破确认后恢复原策略 本EA依下图设置做黄金1小时图线,经长时期实盘验证年利润达到30多倍,修改参数可以用作比特币和纳斯达克指数都有很好的收益。
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
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
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
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
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 );    //复杂开单
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. Important: you need to have source code to properly implement the library. With Binance Library MetaTrader 5, you can easily add instruments from Bi
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
T5l Library é necessaria para o uso dos robos da TSU Investimentos, nele você tera todo o framework de funções para o funcionamento correto dos nossos Expert Advisors para MetaTrader 5  ツ . -   O Robos  Expert Advisors da TSU Invesitmentos não funcionarão sem esta biblioteca de funções, o T5L library podera receber atualizações e melhorias ao longo do tempo. - Na biblioteca que voçê encontrará f uncionalidades diversas como envio de ordens, compra e venda, verificação de gatilhos de entradas, an
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 
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
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
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
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  
Mais do autor
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
Filtro:
Sem comentários
Responder ao comentário