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.

추천 제품
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
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)
Library to add the Information Panel to your Expert Advisor for MetaTrader 5. We can not guarantee that the information and interface of the program will give you a profit on deals, but we will definitely say that even the simplest interface of the program can strengthen the first impression. Detailed description and instructions for adding our panel to your Expert Advisor are in our blog: LIB - EAPADPRO Step-by-step instruction Detailed description of our panel and instructions for using EAPADP
FREE
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
"캔들 남은 시간" MetaTrader 5용 "더 이상 캔들 마감을 놓치지 마세요. 완벽한 타이밍으로 거래하세요." 공식 업데이트 채널 채널 참여 : Dhokiyas 지원 직접 메시지 : Contact "캔들 남은 시간 - MT5 정밀 타이머 유틸리티" "캔들 남은 시간" 은 현재 캔들의 정확한 남은 시간을 실시간으로 표시하는 가볍고 정확한 MT5 유틸리티입니다. 캔들 마감 확인을 기다리며 정밀한 진입과 청산을 원하는 트레이더를 위해 설계되었습니다. "당신의 전략이 캔들 마감에 의존한다면, 이 도구는 필수입니다." "이 도구가 중요한 이유" 많은 전략은 캔들 마감 확인을 필요로 합니다. 타이머가 보이지 않으면 트레이더는 너무 일찍 진입하거나 너무 늦게 청산하는 경우가 많습니다. 이 유틸리티는 차트에 명확한 카운트다운을 표시하여 그 문제를 해결합니다. "주요 기능" "실시간 캔들 카운트다운" "모든 타임프레임 지원" M1부터 MN까지 "모든 종목 지원" 외환, 금, 암호화폐
FREE
메타트레이더 5 (MT5)용 UZFX - 지정가 주문만 삭제 스크립트는 거래 계좌에서 모든 지정가 주문(매수 제한, 매도 제한, 매수 중지, 매도 중지)을 자동으로 제거하는 간단하면서도 효과적인 도구입니다. 이 스크립트는 활성 시장가 포지션에 영향을 주지 않고 대기 주문을 즉시 청산하려는 트레이더에게 이상적입니다. 다른 모든 MT4/MT5 보조지표 및 EA 확인 >> 여기 기능: 모든 지정가 주문(매수 제한, 매도 제한, 매수 중지, 매도 중지)을 삭제합니다. 오픈 마켓 포지션에는 영향을 미치지 않습니다. 전문가 탭을 통해 실시간 체결 피드백을 제공합니다. 트레이더가 수동 개입 없이 지정가 주문 전략을 빠르게 재설정할 수 있도록 도와줍니다. 사용 방법: 스크립트를 MT5 차트에 첨부합니다. 스크립트가 모든 지정가 주문을 자동으로 스캔하고 삭제합니다. 참고: 이 스크립트는 활성 거래를 청산하지 않으며 지정가 주문만 제거합니다. 스크립트를 실행하기 전에 모든 대기 주문을 제거할 것
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
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
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
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 는 RangeXpert 인디케이터를 사용하는 트레이더에게 강력한 분석 도구를 제공하기 위해 제가 개발한 것입니다. RangeXpert 는 시스템의 기반 역할을 하며, 시장의 정확한 영역을 감지하고 해당 데이터를 제공하고, SignalXpert 는 이를 실시간으로 분석하여 명확하고 실행 가능한 신호를 생성합니다. 이를 통해 시스템은 여러 시간대에서 최대 25개의 다양한 자산을 동시에 모니터링할 수 있으며 , 가장 중요한 시장 움직임을 실시간으로 포착합니다. 통합된 알림 기능 덕분에 알림, 푸시, 이메일로 신호를 전달할 수 있어 , 트레이딩 기회를 놓치지 않게 됩니다. MetaTrader VPS 에 설치하면 SignalXpert 는 24/7 중단 없이 실행되며 안정적인 신호 모니터링을 제공합니다. 진입 또는 청산을 계획 중이든, SignalXpert 는 빠르고 정확한 지원을 제공하여 높은 변동성 시장에서도 자신 있
FREE
Donchian Pro
Paulo Henrique Faquineli Garcia
4.75 (4)
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
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 를 사용하면 미리 준비하고
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
Wassayos Phuthadthom
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
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
5 (1)
개요 이 지표는 클래식 돈치안 채널(Donchian Channel) 의 향상된 버전으로, 실전 트레이딩을 위한 다양한 기능이 추가되었습니다. 표준 세 개의 선(상단, 하단, 중앙선) 외에도 브레이크아웃 을 감지하여 차트에 화살표로 시각적으로 표시하며, 차트를 깔끔하게 보기 위해 현재 추세 방향의 반대 라인만 표시 합니다. 지표 기능: 시각적 신호 : 브레이크아웃 시 컬러 화살표 표시 자동 알림 : 팝업, 푸시 알림, 이메일 RSI 필터 : 시장의 상대 강도를 기반으로 신호 검증 사용자 맞춤 설정 : 색상, 선 두께, 화살표 코드, RSI 임계값 등 동작 원리 돈치안 채널은 다음을 계산합니다: 상단선 : 최근 N개의 종가 완료 캔들에서 가장 높은 고가 하단선 : 최근 N개의 종가 완료 캔들에서 가장 낮은 저가 중앙선 : 고가와 저가의 평균값 상방 브레이크아웃 은 종가가 상단선을 돌파할 때 발생하며, 하방 브레이크아웃 은 종가가 하단선 아래로 내려갈 때 발생합니다. 이 지표는: 세 개의
FREE
Swing Point BoS CHoCH Con Exp Alerts
Usiola Oluwadamilol Olagundoye
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)
트렌드 전문가는"평균"지표에 대한 최적의 매개 변수를 찾기 위해 특별히 만들어졌습니다. 자문가는 항상 거래 모드(구매 거래를 닫고 반대 거래를 즉시 열)에서 거래합니다. 이 접근 방식을 사용하면 지표가 추세를 가능한 한 정확하게 결정할 수있는 능력을 식별 할 수 있습니다. 전문가 고문은 완전 자동이며 마틴 방법을 사용하여 자본을 관리 할 수있는 능력을 가지고 있습니다. 기본 설정은"골드"입니다. 표시기: hhttps://www.mql5.com/ko/market/product/597 전문가 고문은 다른 기호 및 시간대에 대한 매개 변수 세트를 추가했습니다. 현재 모스크바 증권거래소에서 금,비트코인,유로달러,스베르뱅크 주식과 같은 기호가 준비된 세트에 추가되었습니다. 그들은"평균"지표의 매개 변수 세트와 완전히 일치합니다. 새로운 설정 세트를 추가해야하는 경우"평균 5"표시기에 대한 리뷰에 대해 작성하십시오. 전문가 고문 테스트 및 개방 가격에 따라 최적화 할 수 있습니다. 빠른 최
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)
This is the latest iteration of my famous scalper, Goldfinch EA, published for the first time almost a decade ago. It scalps the market on sudden volatility expansions that take place in short periods of time: it assumes and tries to capitalize of inertia in price movement after a sudden price acceleration. This new version has been simplified to allow the trader use the optimization feature of the tester easily to find the best trading parameters. [ Installation Guide | Update Guide | Troublesh
FREE
React Fibonacci Chart
Kim Yonghwa
4.75 (12)
기능 피보나치 리트레이스먼트 트레이딩을 위한 지표 1H, 4H, 1D 및 1W 중에서 선택한 이전 바를 기반으로 피보나치 차트가 그려집니다. 시장 가격이 피보나치 레벨에 닿으면 색상이 변경되고 닿은 시간이 표시됩니다. -23.6, 0, 23.6, 38.2, 50, 61.8, 76.4, 100 및 123.6 레벨에 피보나치 그래프가 그려지며, 바가 업데이트될 때마다 차트가 새로 고침됩니다. 변수 타임프레임: 1H, 4H, 1D 및 1W 중에서 선택한 타임프레임으로 피보나치 차트가 그려집니다. FiboWidth: 레벨의 두께를 결정합니다. FiboStyle: 피봇 레벨의 스타일을 설정합니다. TouchedColor: 닿았을 때 변경되는 색상입니다. 오류가 있거나 개선 사항이 있다면 의견을 남겨주세요. 평가는 개발자에게 큰 도움이 됩니다. 만족하셨다면 5성을 부여해 주시기 바랍니다.
FREE
GridWeaverFX
Watcharapon Sangkaew
4 (1)
Introducing GridWeaverFX  - A Grid/Martingale EA for XAUUSD | Free Download! Hello, fellow traders of the MQL5 community! I am excited to share an Expert Advisor (EA) that I have developed and refined, and I'm making it available for everyone to use and build upon. It's called GridWeaverFX , and most importantly, it is completely FREE! This EA was designed to manage volatile market conditions using a well-known strategy, but with enhanced and clear safety features. It is particularly suited fo
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.
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  
이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니다. - Place Limit, SL Limit, Take Profit Limit 주문 - 플레이스 마켓, SL-마켓, TP-마켓 주문 - 지정가 주문 수정 - 주문 취소 - 쿼리 주문 - 레버리지, 마진 변경 - 위치 정보 얻기 그리고 더... MT5에 바이낸스 차트가 없는 경우를 제외하고 암호화폐 차트 대여는 선택 사항입니다. 스크립트 데모를 보려면 여기를 클릭하세요. 트레이딩 패널과 거래하고 싶다면 이 제품에 관심이 있으실 것입니다. 이 제품은 Crypto Charting의 애드온입니다. 이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니
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
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
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 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
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
제작자의 제품 더 보기
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
필터:
리뷰 없음
리뷰 답변