Nexus Quant Matrix

Nexus Quant Matrix — Quantitative Computing Engine for MT5

Nexus Quant Matrix is a high-performance quantitative library built natively in MQL5. It delivers institutional-grade Kalman filtering, Cornish-Fisher VaR, Expected Shortfall (CVaR), Kelly Criterion sizing, margin-protected lot calculation, and Pearson correlation directly into your Expert Advisors — zero DLLs, zero external dependencies.

Distributed as a compiled binary (Nexus_Quant_Matrix.ex5). This description is your complete API reference.

Installation

  1. Download Nexus_Quant_Matrix.ex5 from MQL5 Market.
  2. Place it in: MQL5/Libraries/
  3. Add the #import block below into your .mq5 source file.
  4. Compile your EA or Indicator. All 6 functions are now available.

Import Declaration (Copy-Paste Ready)

#import "Nexus_Quant_Matrix.ex5"
   double NQM_KalmanFilter(double measurement, double q_process, double r_measure,
                            double &current_state, double &current_covariance, double &kalman_gain);
   double NQM_CornishFisherVaR(double confidence_level, double mean_return,
                                double std_dev_return, double skewness, double excess_kurtosis);
   double NQM_ExpectedShortfall(double confidence_level, double mean_return, double std_dev_return);
   double NQM_KellyFraction(double win_rate, double payoff_ratio, int kelly_mode, double max_fraction_cap);
   double NQM_CalculateLotSize(string symbol, double risk_percent, double stop_loss_points,
                                double max_margin_utilization);
   double NQM_PearsonCorrelation(const double &series_x[], const double &series_y[], int length);
#import

API Reference

NQM_KalmanFilter

Single-step 1D discrete Kalman filter. Filters market noise from raw price data without fixed lag.

Parameters:

  • measurement: Raw price observation (Bid, Ask, or Close).
  • q_process: Process noise covariance. Controls adaptation speed. Default: 0.001. Auto-corrected if zero or negative.
  • r_measure: Measurement noise covariance. Controls smoothing strength. Default: 0.05. Auto-corrected if zero or negative.
  • current_state (by ref): Previous filtered estimate. Updated in-place. Initialize to first price on first call.
  • current_covariance (by ref): Previous error covariance. Updated in-place. Initialize to 1.0.
  • kalman_gain (by ref): Output Kalman gain (0.0 to 1.0). Higher values mean more trust in measurement.

Returns: New filtered price estimate. Division-by-zero guarded internally.

NQM_CornishFisherVaR

Modified Value-at-Risk using Cornish-Fisher expansion. Adjusts for skewness (crash risk) and excess kurtosis (fat tails) that standard Gaussian VaR ignores.

Parameters:

  • confidence_level: 0.90, 0.95, 0.99, or above 0.99 (99.5%). Other values default to 0.95.
  • mean_return: Expected mean return. Use 0.0 for zero-drift assumption.
  • std_dev_return: Return volatility. Returns 0.0 if near-zero.
  • skewness: Fisher-Pearson skewness. Negative values increase VaR (left-tail risk).
  • excess_kurtosis: Kurtosis minus 3. Positive values increase VaR (heavy tails).

Returns: Non-negative VaR loss value. Returns 0.0 if volatility is zero.

NQM_ExpectedShortfall

Parametric Expected Shortfall (Conditional VaR / CVaR). Average loss in worst-case tail scenarios — more conservative than VaR, required by Basel III.

Parameters:

  • confidence_level: Values >= 0.99 use 99% tail, <= 0.90 use 90% tail, others default to 95%.
  • mean_return: Expected mean return.
  • std_dev_return: Return volatility. Returns 0.0 if near-zero.

Returns: Average tail loss as positive value. Returns 0.0 if volatility is zero.

NQM_KellyFraction

Optimal capital allocation using the Kelly Criterion. Maximizes long-term geometric growth while controlling ruin probability.

Parameters:

  • win_rate: Historical win rate (0.0 to 1.0). Example: 0.55 = 55%. Clamped to 0.99 if >= 1.0. Returns 0.0 if <= 0.
  • payoff_ratio: Average win / average loss ratio. Example: 1.5. Returns 0.0 if <= 0.
  • kelly_mode: 0 = Full Kelly (1.0x), 1 = Half Kelly (0.5x, recommended), 2 = Quarter Kelly (0.25x). Other values default to Half.
  • max_fraction_cap: Hard cap on fraction. Example: 0.25 = never risk more than 25%.

Returns: Optimal risk fraction (0.0 to max_fraction_cap). Returns 0.0 if strategy has negative expectancy.

NQM_CalculateLotSize

Risk-based lot calculator with broker spec compliance and Article 2555 margin safety. Reads symbol properties, normalizes to broker lot steps, and verifies margin via OrderCalcMargin before returning.

Parameters:

  • symbol: Trading symbol (e.g. Symbol() or "EURUSD").
  • risk_percent: Percentage of balance to risk. Example: 1.0 = 1%.
  • stop_loss_points: Stop loss distance in points (not pips). Example: 300 = 30 pips on 5-digit broker.
  • max_margin_utilization: Max percentage of free margin for required margin. Example: 30.0 = 30%.

Returns: Normalized lot volume for OrderSend. Returns 0.0 if capital insufficient or margin exceeds limit. Rounded down to broker lot step. Clamped to SYMBOL_VOLUME_MIN / MAX.

NQM_PearsonCorrelation

Sample Pearson correlation coefficient between two time-series arrays. Measures linear relationship strength.

Parameters:

  • series_x[]: Primary data array (e.g. close prices of instrument A).
  • series_y[]: Benchmark data array (e.g. close prices of instrument B).
  • length: Number of data points from index 0. Minimum 3 required. Must not exceed array sizes.

Returns: Correlation coefficient (-1.0 to 1.0). Returns 0.0 if length < 3, arrays too short, or either series has zero variance. Clamped to [-1.0, 1.0].

Working Integration Example

#property copyright "Your Name"
#property version   "1.00"

#import "Nexus_Quant_Matrix.ex5"
   double NQM_KalmanFilter(double measurement, double q_process, double r_measure,
                            double &current_state, double &current_covariance, double &kalman_gain);
   double NQM_CornishFisherVaR(double confidence_level, double mean_return,
                                double std_dev_return, double skewness, double excess_kurtosis);
   double NQM_ExpectedShortfall(double confidence_level, double mean_return, double std_dev_return);
   double NQM_KellyFraction(double win_rate, double payoff_ratio, int kelly_mode, double max_fraction_cap);
   double NQM_CalculateLotSize(string symbol, double risk_percent, double stop_loss_points,
                                double max_margin_utilization);
   double NQM_PearsonCorrelation(const double &series_x[], const double &series_y[], int length);
#import

double g_state, g_cov, g_gain;

int OnInit()
{
   g_state = iClose(_Symbol, PERIOD_M1, 1);
   g_cov = 1.0;
   g_gain = 0.0;
   return INIT_SUCCEEDED;
}

void OnTick()
{
   double bid = SymbolInfoDouble(_Symbol, SYMBOL_BID);
   double filtered = NQM_KalmanFilter(bid, 0.001, 0.05, g_state, g_cov, g_gain);
   Print("Kalman: ", filtered, " Gain: ", g_gain);

   double var99 = NQM_CornishFisherVaR(0.99, 0.0, 0.015, -0.5, 2.0);
   Print("99% CF-VaR: ", var99);

   double es95 = NQM_ExpectedShortfall(0.95, 0.0, 0.012);
   Print("95% CVaR: ", es95);

   double kelly = NQM_KellyFraction(0.55, 1.5, 1, 0.25);
   Print("Half Kelly: ", kelly);

   double lots = NQM_CalculateLotSize(_Symbol, 1.0, 300.0, 30.0);
   Print("Lot Size: ", lots);
}

Architecture

All 6 functions are stateless and independent. The Kalman filter uses pass-by-reference state variables you manage externally, so multiple filters can run simultaneously with separate state sets. All functions perform pure math with no side effects — no chart objects, no timers, no trade execution, no network access. Exception: NQM_CalculateLotSize reads account/symbol properties for margin checks.

Compatibility

  • Platform: MetaTrader 5 only
  • Strategy Tester: Fully compatible (backtesting and optimization)
  • MQL5 Cloud Network: Fully compatible (zero DLLs)
  • External Dependencies: None
  • Minimum Data Points: NQM_PearsonCorrelation requires at least 3 data points
  • No chart objects, no timers, no visual output — pure computation engine


Recommended products
MyTradingHistory
Max Timur Soenmez
An easy-to-use library that provides developers with straightforward access to key trading statistics for their MQL5 EAs. Available methods from the library: Account Data & Profit: GetAccountBalance() : Returns the current account balance. GetProfit() : Returns the net profit from all trades. GetDeposit() : Returns the total amount of deposits. GetWithdrawal() : Returns the total amount of withdrawals. Trading Analysis: GetProfitTrades() : Returns the number of profitable trades. GetLossTrades()
SimpleLotCalculator
Itumeleng Mohlouwa Kgotso Tladi
SimpleLotCalculator: Professional Multi-Symbol Risk Manager Library Stop guessing your lot sizes and start trading with institutional precision. SimpleLotLogic is a high-performance MQL5 developer library designed to solve the number one problem for algorithmic and manual traders: Risk Management. Instead of writing complex math for every new EA, simply plug in this library to calculate the perfect lot size based on your account equity and stop-loss distance. Why Choose SimpleLotLogic? Precis
TradeGate
Alex Amuyunzu Raymond
TradeGate – Product Description / Brand Story “The gatekeeper for your trading success.” Overview: TradeGate is a professional MT5 validation and environment guard library designed for serious traders and EA developers who demand safety, reliability, and market-ready performance . In today’s fast-moving markets, even a small misconfiguration can cause EAs to fail initialization, skip trades, or be rejected by MQL5 Market. TradeGate acts as a smart gatekeeper , ensuring your EA only operates un
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
Terminator Genisys
Itumeleng Mohlouwa Kgotso Tladi
TERMINATOR GENISYS HFT (High Frequency Trading - Ai Algorithm Robot) Extreme-design for EURUSD on the 5Min charts for max profit. (other pairs incluse GBPUSD, EURJPY and other pairs with similar time-frames ) Introducing the ' Terminator Genisys ' Expert Advisor   The   Terminator Genisys  expert advisor stands at the pinnacle of automated trading systems, designed to deliver great performance in today's dynamic financial markets. Developed by a team of experienced traders and algorithmic expe
This lightweight utility library provides essential functions for MQL5 developers to streamline and simplify expert advisor (EA) and indicator development. Whether you’re building trading algorithms or managing chart resources dynamically, this library offers clean and reusable building blocks to enhance your code quality and reduce repetition. Key Features Price Access Functions ASK(string symbol) – Get the current Ask price. BID(string symbol) – Get the current Bid price. Account Information
FREE
LSTM Library
Thalles Nascimento De Carvalho
LSTM Library - Advanced Neural Networks for MetaTrader 5 Professional Neural Network Library for Algorithmic Trading LSTM Library brings the power of recurrent neural networks to your trading strategies in MQL5. This professional-level implementation includes LSTM, BiLSTM, and GRU networks with advanced features typically found only in specialized machine learning frameworks. "The secret to success in Machine Learning for trading lies in proper data treatment. Garbage In, Garbage Out – the quali
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  
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
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
Important: This product is a Library for developers . It is suitable only for users who can write/modify MQL5 code and integrate a compiled library into their own EA/Script. It is not a “drag & run” notifier. Telegram SDK helps you send Telegram messages and photos from MetaTrader 5 in a simple and reliable way. Use it when you want Telegram notifications inside your own automation tools. If you need the MetaTrader 4 version, it is available separately in the Market:   Telegram SDK M T4 . Main f
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
TrendCore Adaptive FX — Smart Expert Advisor for Confident and Adaptive Forex Trading TrendCore Adaptive FX   is a powerful, fully automated trading robot designed for consistent performance in the Forex market. It combines trend-based technical analysis, adaptive lot management, and solid capital protection strategies to ensure robust and efficient trading under real market conditions. Whether you're a professional trader or a long-term investor, this EA offers an intelligent solution to a
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
The UZFX - Delete All Drawing and Objects on Chart Instantly is a simple yet powerful MetaTrader 5 (MT5) script designed to instantly remove all drawing objects from the active chart. This script is useful for traders who need to quickly clear their charts from technical analysis drawings, trend lines, Fibonacci tools, text labels, and other objects without manually deleting them one by one. If you are Looking Best indicators in Mql5 Market. Check these out! SSS Scalping Smart Signals MT5 Indi
FREE
Automatic Replenishment Trading Within a Defined Range The EA operates   only within the predefined price range . When an order is   closed, filled, or cancelled   (reducing the total number of orders), the EA will   automatically place new orders   to maintain the continuous operation of the trading strategy. This EA is   designed for ranging / sideways market conditions . You can control the total number of orders using   Max Orders . Example: Max Orders:   8 Active trades:   2 Pending Sell L
Crypto_Forex Indicator "HTF Bollinger Bands" for MT5. - Upgrade your trading methods with the professional indicator "HTF  Bollinger Bands"  for MT5. HTF means - Higher Time Frame. - Bollinger Bands is one of the best indicators on the market - perfect tool for trading. - Approximately 90% of price action occurs between the two bands. - HTF Bollinger Bands indicator is excellent for Multi-Time Frame trading systems with Price Action entries or in combination with other indicators. - This  indic
Auto trading so strong mt5 trading script so rich and running amazing auto trading trades with so high quality performance and results Look that is the best trading script that will help you to make good results like in screenshots i built that strategy depend on Envelopes indicator to make that script trading in that area excellent scalping trades and gain maximum good results per trade so i built that strategy manually then I make it auto trading  so to start use that script add to scripts aft
Molo kumalo
James Ngunyi Githemo
Trading Forex with our platform offers several key advantages and features: Real-time Data : Stay updated with live market data to make informed decisions. User-Friendly Interface : Easy-to-navigate design for both beginners and experienced traders. Advanced Charting Tools : Visualize trends with interactive charts and technical indicators. Risk Management : Set stop-loss and take-profit levels to manage your risk. Multiple Currency Pairs : Access a wide range of forex pairs to diversify your tr
Automatic Replenishment Trading Within a Defined Range The EA operates only within the predefined price range . When an order is closed, filled, or cancelled (reducing the total number of orders), the EA will automatically place new orders to maintain the continuous operation of the trading strategy. This EA is designed for ranging / sideways market conditions . You can control the total number of orders using Max Orders . Example: Max Orders: 8 Active trades: 2 Pending Buy Limit orders: 6 In t
Static Text display
Muhammad Saad Khan
Static Text display is a lightweight and user-friendly Expert Advisor (EA) for MetaTrader 5, designed to inspire and educate traders by displaying motivational trading tips directly on your chart. With a sleek, centered black background and white text in a monospaced font, this EA delivers concise, actionable advice in rotating chunks to keep you focused on disciplined trading. Perfect for beginners and seasoned traders alike, it promotes key principles like risk management, patience, and strate
FREE
CRingBuffer
Christian Stern
CRingBuffer - Numeric ring buffer with lightweight high-performance statistics engine CRingBuffer is a powerful MQL5 library for numeric rolling-window analysis. After each insertion it immediately provides mean, variance, standard deviation, percentiles, z-scores, min/max tracking and normalized values - all in O(1) to O(n log n). Table of contents: Application area Two operating modes Basic statistics Welford statistics (numerically stable, recommended for large price levels) Percentiles Z-s
FREE
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
BlitzGeist Telegram Notifier – Stay Connected to Your Trades Anywhere! BlitzGeist Telegram Notifier is a powerful tool that instantly connects your MetaTrader 5 account with Telegram . No matter where you are – you will always receive real-time notifications about your trading activity directly on your phone, PC, or any device with Telegram installed. Perfect for traders who want professional trade reporting, transparency, and risk management monitoring . ️ Key Features Easy Configuratio
Turn your manual trades into fully automated profit machines! This powerful MT5 EA takes over the moment you open a position — no delays, no stress. It instantly places Stop Loss and Take Profit, activates customizable trailing, and locks in profits while protecting your capital Perfect for scalpers: Every trade is immediately secured, giving you the freedom to focus on sniping the best entries while the EA handles all the management work in the background. Auto SL/TP Full trailin
FREE
Smart Adaptive Trend Flow MT5 Professional adaptive trend, market structure, price levels and flow analysis indicator for MetaTrader 5. Would you like to test it before purchasing? You can request a fully functional trial version by sending us a private message through the MQL5 messaging system . This allows you to evaluate the indicator and all its features before making a purchase decision. A Complete Market View in a Single Chart Smart Adaptive Trend Flow MT5 has been developed to provide a
Gold Hyper Cold
Chahine Merini
GOLD HYPER A systematic breakout engine for XAU/USD, built around multi-timeframe range expansion and disciplined, fixed-risk execution. Enters key breakout zones using pending order logic — no chasing, no emotion, no manual entries Every trade carries a fixed, mathematically defined risk and reward — no guesswork, no random position sizing Smart trailing logic locks in gains as trades move in your favor Adaptive position sizing grows your size when you're winning and pulls back automatically du
NATS (Niguru Automatic Trailing Stop) will help you achieve more profits, by setting the trailing stop automatically. Pair this NATS application with EA, or can also be used as a complement to manual trading. A trailing stop is a powerful tool in trading that combines risk management and profit optimization.  A trailing stop is a type of market order that sets a stop-loss at a percentage below the market price of an asset, rather than a fixed number. It dynamically adjusts as the asset’s pric
FREE
Edkt
Pitiphum Noikhieo
ตัวชี้วัดการกลับตัวของราคาแบบมืออาชีพสำหรับ MetaTrader 5 PA Reversal Sniper เป็นตัวชี้วัดแบบกำหนดเองสำหรับ MT5 ที่ออกแบบมาโดยเฉพาะสำหรับ XAUUSD ในกรอบเวลา M5 โดยเน้นที่การเคลื่อนไหวของราคา โครงสร้างการกลับตัว การกวาดสภาพคล่อง การแตกหักของโครงสร้างตลาด สภาวะโมเมนตัม และการยืนยันความผันผวน ตัวชี้วัดนี้ให้สัญญาณซื้อและขายที่ชัดเจน พร้อมด้วยจุดเข้าซื้อ จุดหยุดขาดทุน และจุดทำกำไรหลายระดับ คุณสมบัติหลัก XAUUSD M5 ปรับแต่งแล้ว การตรวจจับการกลับตัวของราคา การตรวจจับแท่งเทียน Pin Bar ขาขึ้นและขาลง การตร
Quant Apple Scavenger
Frank Michel Noughue Lemoupa
Quant Scavenger FBS – Apple Series EA Overview Quant Scavenger – Apple Series EA is the first release in a structured series of single-asset, ML-based quantitative Expert Advisors. Each EA in the series is dedicated to one broker-offered asset only. This edition is specifically built for trading Apple Inc. (AAPL CFD). The embedded quantitative model is trained exclusively on H1 (1-hour timeframe) data. It is not a multi-timeframe system and is designed to operate on H1 only. Core Design Principl
Buyers of this product also purchase
ModernUI Library
Levi Dane Benjamin
ModernUI Library for MetaTrader 5 ModernUI is a chart-hosted user interface library for MetaTrader 5. It helps MQL5 developers build cleaner EA panels, dashboards, settings windows, forms, tables, dialogs, drawers and compact trade-style interfaces inside the MT5 chart environment. It is built for developers who want a more professional interface layer than scattered chart objects, while still keeping full control over their own EA, indicator or utility logic. Modern UI - User Guide   | EA Examp
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
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account, t
The library is used to develop automatic trading on Binance 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
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 installation
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
OpenAI Library MT5
VitalDefender Inc.
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
Kaseki
Ben Mati Mulatya
The Hybrid Metaheuristic Algorithm (HMA) is a cutting-edge optimization approach that combines the strengths of genetic algorithms with the best features of population-based algorithms. Its high-speed computation ensures unparalleled accuracy and efficient search capabilities, significantly reducing the total time required for optimization while identifying optimal solutions in fewer iterations. HMA outperforms all known population optimization algorithms in both speed and accuracy. Use Cases AO
*****The main trading is XAUUSD. If testing, it is recommended to adjust to XAUUSD. Other trading targets cannot guarantee profitability********* If you need to test, please leave a message (I will reply as soon as I see it). In order to protect the work results, specific parameters need to be entered. The default parameters of the system cannot achieve the effect shown in the screenshot pullback! If you need to test, please leave a message (I will reply as soon as I see it). In order to prot
This product has been on development for the past 3 years, It is the most advanced codebase for working with all kinds of Artificial intelligence and machine learning code in MQL5 programming language. It has been used to create many AI powered trading robots and indicators in MetaTrader 5. This is a premium version of the free and open source project on machine learning for MQL5, linked here:  https://github.com/MegaJoctan/MALE5 . The free version has fewer features, less documented, and poorly
Shawrie
Kevin Kipkoech
This Pine Script implements a Gaussian Channel + Stochastic RSI Strategy for TradingView . It calculates a Gaussian Weighted Moving Average (GWMA) and its standard deviation to form an upper and lower channel. A Stochastic RSI is also computed to determine momentum. A long position is entered when the price closes above the upper Gaussian band and the Stoch RSI K-line crosses above D-line . The position is exited when the price falls back below the upper band. The script includes commission, cap
Bookeepr
Marvellous Peace Kiragu
Bookeepr is an advanced MQL5 trading bookkeeping software that automates trade logging, tracks real-time P&L, and integrates a ledger-style financial system for deposits, withdrawals, and expenses. It supports multi-currency assets , generates detailed performance reports , and provides risk management tools to help traders optimize their strategies. With secure cloud storage, exportable reports, and seamless MetaTrader 5 integration , Bookeepr ensures accurate, transparent, and hassle-free fina
Ai Prediction MT5
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
快速关仓,无需任何操作。 当前版本的一键关仓主要针对的是来不及手动关仓的情况,目前是不分交易标的类别,是对所有的持仓进行关仓。 未来可能升级的方向: 1、分类别、分标的关仓。 适用场景:开了多个标的的仓位,并且波动不一,快速频繁的波动影响了整体的判断。 2、增加只关闭盈利仓位、只关闭亏损仓位。 适用场景:持仓较多,趋势发生变化。 个人建议:一般建议选择一键全部关仓,因为如果行情与持仓方向一致,只关闭盈利仓位无形就是扩大了亏损。如果行情方向与持仓方向相反,只关闭亏损仓位,当前已盈利的后面又会变为亏损,盈利无法变现。 3、按照仓位顺序由大到小关仓、按照仓位顺序由小到大关仓。 适用 场景:行情发生波动,对于未来行情判断把握不确定的,可根据自己需求选择仓位关仓顺序,由大到小关仓的话,可以避免亏损的进一步扩大。 4、减小仓位量,保持绝对的安全距离。 适用 场景:对未来趋势相对确定,不想错过当前行情,但是认为当前持仓体量又有点大,想降低仓位。
[Gold Intelligent Trading EA | Risk Control is Steady, Profit Breakthrough] The intelligent trading EA, which is customized for the fluctuation characteristics of gold, takes the hard-core trading system as the core, and each order is derived from the accurate judgment of market trends and supporting pressures by quantitative models, so as to eliminate subjective interference and make trading decisions more objective and efficient. Equipped with multi-dimensional risk control system, dynamic s
SniperkickEA
Mohamed Maguini
Questo Expert Advisor (EA) è stato progettato per offrire un'esperienza di trading automatizzata di alto livello, adatta sia ai trader principianti che a quelli esperti. Utilizzando algoritmi avanzati e tecniche di analisi del mercato, l'EA è in grado di identificare opportunità di trading redditizie con precisione e velocità. L'EA è configurabile per operare su vari strumenti finanziari, tra cui forex, indici e materie prime, garantendo una flessibilità senza pari. Le caratteristiche princip
A complete PostgreSQL client implemented in pure MQL5 over native MetaTrader 5 TCP sockets. The library implements the PostgreSQL client with MD5 and SCRAM-SHA-256 authentication, SSL/TLS, the Simple Query Protocol, and explicit transactions. No DLLs, no external dependencies, no third-party services. Features Direct TCP connection to any PostgreSQL-compatible database MD5 and SCRAM-SHA-256 authentication, auto-detected SSL/TLS via PostgreSQL's SSLRequest flow Full transaction support Typed res
DhanHQ v2 API Bridge for MetaTrader 5 Connect MetaTrader 5 to your DhanHQ trading account and control orders, positions, funds and portfolio directly from MQL5. This library wraps the official DhanHQ v2 REST API (NSE, BSE, MCX) so you can build your own EAs, scripts and automated strategies on top of Dhan. Features - Full order lifecycle: place, modify, cancel, slice, order book, order by ID,   order by correlation ID, trade book and trades-by-order. - Order helpers: Market, Limit, Stop-Loss a
MT5 to Delta Exchange API Bridge EA Connector allows your expert advisor with mq5 file to integrate and communicate with Delta Exchange using API Keys You can place order, check balance and other order managements using Delta Exchange API - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Cancel Order - Query Orders - Change Leverage, margin - Get Position info and many more, details available at demo script Script Documentation 
EX5 Signal Copier
Rajesh Kumar Nait
EX5 Signal Copier Library — Professional Trade Event Engine for MT Turn any Expert Advisor into a powerful trade copier, signal processor, or automation engine — without writing complex trade tracking logic. The EX5 Signal Copier Library is a high-performance, event-driven system that captures every trading activity in MetaTrader 5 and converts it into structured signals you can use to build: Trade copiers (MT5 → MT5 / MT5 → external) Risk management engines Analytics dashboards Custom execution
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
ModernUI Library
Levi Dane Benjamin
ModernUI Library for MetaTrader 5 ModernUI is a chart-hosted user interface library for MetaTrader 5. It helps MQL5 developers build cleaner EA panels, dashboards, settings windows, forms, tables, dialogs, drawers and compact trade-style interfaces inside the MT5 chart environment. It is built for developers who want a more professional interface layer than scattered chart objects, while still keeping full control over their own EA, indicator or utility logic. Modern UI - User Guide   | EA Examp
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.
This library will allow you to send your trades using your MT5 EA bot and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in documentation. This product allows trading operations via API For MEXC chart : Renting   Crypto Charting  for OHLC data or   Crypto Ticks with Order Book Depth  is optional - Supports MEXC API calls - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Modify Limit order - C
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
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
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
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        - 
More from author
EA Budak Ubat MT5
Syarief Azman Bin Rosli
EA Budak Ubat MT5 is an automated grid-trading Expert Advisor designed for MetaTrader 5. It combines technical trend analysis, dynamic volatility scaling, and multi-layered risk management to trade ranging and trending market conditions. Optimized for the M5 timeframe on major forex pairs and metals (XAUUSD / Gold). ### Key Features • 4 Selectable Analysis Methods:   1. Classic Candle: Directional momentum from candle patterns.   2. SMA20: 20-period Simple Moving Average crossover.   3. Allig
EA Budak Ubat
Syarief Azman Bin Rosli
4 (3)
Download Trial EA Budak Ubat Channel Limited Time Price! The price will increase by 10 USD after every 10 purchases! How it works When the EA is active, it will analyze the chart based on the Execution Mode parameter. If there are no existing positions on the chart, the EA will enter a trade based on the parameter. If the trend is bullish, it will enter a buy trade and if it is bearish it will enter a sell trade. And it will also set a Stop loss order at a certain distance from the opened trad
Indi RBO
Syarief Azman Bin Rosli
Input: Range Start Time : The starting time of the range creation Range End Time : The ending time of range creation Trade End Time : The time where the line of range zone high/low will be extended to Minimum Size : The minimum size of the range in point Maximum Size : The maximum size of the range in point If the range size is between the minimum and maximum, indicator will print the 1st color (blue).
Apex Flow Reversion
Syarief Azman Bin Rosli
# Apex Flow Reversion MT4 Apex Flow Reversion is an automated trading system developed for MetaTrader 4 that executes an intraday statistical mean-reversion strategy. The system monitors price deviation from a dynamic Volume-Weighted Average Price benchmark and identifies exhaustion points using standard deviation bands, Relative Strength Index momentum filtration, and Average True Range volatility constraints. ## Strategy Overview The algorithm computes a rolling intraday VWAP curve weighte
Vortex Confluence Radar
Syarief Azman Bin Rosli
Vortex Confluence Radar MT4 Vortex Confluence Radar is a multi-oscillator confluence scoring engine developed natively for MetaTrader 4. It fuses three distinct technical oscillators—Relative Vigor Index (RVI), Commodity Channel Index (CCI), and Williams % Percent Range (WPR)—into a unified momentum histogram with a smoothed signal line and automated crossover alert signals. Understanding the Indicator Architecture The indicator operates in a separate sub-window and renders several distinct visu
Kinetix Speed Commander
Syarief Azman Bin Rosli
Kinetix Speed Commander MT4 Kinetix Speed Commander   is an institutional-grade, on-chart one-click trade execution cockpit, dynamic position sizing calculator, and risk-to-reward order management terminal engineered natively for MetaTrader 4. Built specifically for proprietary trading firm challengers, fast-paced scalpers, and systematic day traders, Kinetix Speed Commander eliminates manual calculation delays, human execution errors, and over-leveraged risk exposure. Operating via a high-perfo
Prism Candle Forge
Syarief Azman Bin Rosli
Prism Candle Forge — Candlestick Pattern Recognition Engine for MT4 Prism Candle Forge is a native MQL4 library that detects and validates 20+ Japanese candlestick patterns using ATR-weighted geometric analysis. It provides pattern identification, directional confidence scoring, candle morphology classification, and trend context validation — all through 8 exported functions callable from any Expert Advisor, Indicator, or Script. Zero DLLs, zero external dependencies, pure MQL4 computation. Dist
Sigma Squeeze Reactor
Syarief Azman Bin Rosli
Sigma Squeeze Reactor Bollinger-Keltner Volatility Squeeze Breakout Expert Advisor Sigma Squeeze Reactor is an intelligent breakout Expert Advisor for MetaTrader 4 that identifies and trades explosive volatility expansion moves. It detects when Bollinger Bands contract inside Keltner Channels (the classic volatility squeeze) and executes precise entries when the compression releases, confirmed by momentum oscillator direction. The EA is engineered with a   Dual-Engine Breakout Architecture   tha
Spectra Trend Ribbon
Syarief Azman Bin Rosli
Spectra Trend Ribbon is a multi-tier trend direction and volatility expansion indicator developed natively for MetaTrader 5. It combines an adaptive smoothed central trend baseline with dynamic volatility envelope bands and automated momentum breakout signals. Understanding the Visual Signals: 1. Central Adaptive Baseline (Color Line) - Green Color: Indicates that the market price is trading above the baseline and the baseline slope is positive, representing an active bullish trend regime. -
Aegis Risk Sentinel
Syarief Azman Bin Rosli
Aegis Risk Sentinel MT5 Aegis Risk Sentinel   is an institutional-grade, real-time equity protection and risk management utility developed natively for MetaTrader 5. Engineered for proprietary trading firm challengers, professional fund managers, and retail day traders, Aegis enforces mathematical discipline on your trading account, preventing catastrophic drawdowns, emotional revenge trading, and over-leveraged margin calls. The utility features an ultra-responsive on-chart Head-Up Display (HUD
Stratos Momentum Engine
Syarief Azman Bin Rosli
Stratos Momentum Engine MT5 Stratos Momentum Engine is a fully automated multi-timeframe momentum breakout trading system designed for MetaTrader 5. The Expert Advisor combines structural trend identification on the higher timeframe (H1) with precision momentum timing and breakout confirmation on the lower timeframe (M15). The system utilizes mathematical least-squares linear regression slope to define primary directional bias, Stochastic oscillator dynamics to identify optimal entry points with
Filter:
No reviews
Reply to review