ARV EA Toolkit

  • 程序库
  • Roman Amirov
    Roman Amirov
    我从事外汇交易已超过 5 年。在这段时间里,我测试了许多第三方交易机器人,发现一个简单的道理:想要做好,就要亲自动手!因此,我没有继续寻找所谓“完美”的现成方案,而是开始将自己的交易思路转化为交易机器人。
    对我来说,策略逻辑的透明性和参数的可配置性非常重要——这样更容易理解机器人在市场中的行为及其适用的条件。我的开发工作结合了实盘交易经验和扎实的代码工程。希望我的工具也能对其他交易者有所帮助。
  • 版本: 1.0
  • 激活: 5
A dependency-free MQL5 library of independent building blocks for
Expert Advisor developers: risk-based position sizing, stop
construction, spread filter, logging, state persistence and a
retry state machine. No strategy, no profit claims.

---

ARV EA Toolkit is a dependency-free library of independent
modules for MQL5 Expert Advisor developers. Use only what you need;
the modules do not depend on each other except for a tiny shared
defines header. It contains no trading strategy and makes no
performance claims - it is correct plumbing for YOUR own logic.

Why it exists
  Most EA bugs are not in the signal - they are in the plumbing:
  wrong lot math, stops below the broker minimum, stacking positions,
  ignoring spread, lost state on reload, fragile close logic. This
  library gives you tested building blocks for exactly those tasks.

Modules (grouped by area)

  RISK & EXECUTION
    * ARV_RiskSizer.mqh    (CARVRiskSizer)   lot from risk %, money-at-risk.
    * ARV_StopBuilder.mqh  (CARVStopBuilder) build/validate SL/TP, broker min distance.
    * ARV_SpreadFilter.mqh (CARVSpreadFilter) current spread vs limit.
    * ARV_RiskToolkit.mqh  (CARVRiskToolkit) facade over the three above + position guards.
    * ARV_CloseRetry.mqh   (CARVCloseRetry, IARVRetryableOperation) exponential-backoff
                                             retry + escalation for close/order ops.

  DIAGNOSTICS & STATE
    * Logger.mqh           (CARVLogger)      4-level console/CSV logger.
    * ARV_Diagnostic.mqh   (CARVDiagnostic)  typed CSV streams (bar snapshot + events).
    * StateStore.mqh       (CARVStateStore)  key/value persistence over GlobalVariable
                                             + owner heartbeat (single-instance guard).

  MARKET UTILITIES
    * ARV_SymbolUtils.mqh  (CARVSymbolUtils) cached symbol specs + price/volume normalize.
    * ARV_TimeUtils.mqh    (CARVTimeUtils)   sessions (GMT), weekend window, new-bar, cooldown.
    * RegimeGate.mqh       (CARVRegimeGate)  ATR + SMA-drift + sigma/mu + cooldown filter.

  CORE (shared)
    * ARV_Defines.mqh      log levels, result codes, prefixes, heartbeat.

Included examples (MQL5\Experts\ARV\)
  * RiskToolkitDemo.mq5  - risk sizing, ATR stop, spread filter, single-position guard.
  * ARV_MinimalGrid.mq5  - Logger + StateStore + RiskToolkit + TimeUtils (fixed lot, equity stop).
  * ARV_Momentum.mq5     - RegimeGate + TimeUtils + RiskToolkit + CloseRetry + Diagnostic.
  (examples are API usage demos, NOT strategies)

Quick example
  #include <ARV\ARV_RiskToolkit.mqh>

  CARVRiskToolkit risk;
  risk.Init(_Symbol, 30);                       // spread limit, points
  double lot = risk.LotForRisk(_Symbol, 1.0, atr * 2.0);
  double sl, tp;
  risk.BuildStops(_Symbol, +1, ask, atr * 2.0, atr * 4.0, sl, tp);
  if(!CARVRiskToolkit::HasPosition(_Symbol, InpMagic) && risk.SpreadOK())
     trade.Buy(lot, _Symbol, 0.0, sl, tp, "comment");

API reference (public surface; abbreviated signatures, full declarations in headers)

Enumerations:
  enum ENUM_LOG_LEVEL;   // LOG_ERROR, LOG_WARN, LOG_INFO, LOG_DEBUG
  enum ENUM_ARV_RESULT;  // ARV_OK, ARV_ERR_PARAM, ARV_ERR_INIT, ARV_ERR_IO, ARV_ERR_MARGIN, ARV_ERR_DUPLICATE

Classes:
  CARVLogger; CARVStateStore; CARVRegimeGate;
  CARVSymbolUtils; CARVRiskSizer; CARVStopBuilder; CARVSpreadFilter;
  CARVRiskToolkit; CARVTimeUtils; CARVCloseRetry; CARVDiagnostic;
  IARVRetryableOperation;  struct ARVBarSnapshot;

Key functions:
  // Risk & execution
  static double CARVRiskSizer::ForPercentRisk(string symbol, double equity, double riskPct, double slDistance);
  static double CARVRiskSizer::ForFixedLot(string symbol, double lot);
  static double CARVRiskSizer::LossPerLot(string symbol, double slDistance);
  static double CARVStopBuilder::MinDistance(string symbol);
  static bool   CARVStopBuilder::BuildStops(string symbol, int dir, double entry, double slDistance, double tpDistance, double &sl, double &tp);
  static bool   CARVStopBuilder::BuildATRStop(string symbol, int dir, double entry, double atr, double mult, double &sl);
  static bool   CARVStopBuilder::ValidateStop(string symbol, double entry, double stop, int dir);
  bool          CARVSpreadFilter::IsSpreadOK() const;
  int           CARVSpreadFilter::CurrentSpread() const;
  // Facade + position guards
  void          CARVRiskToolkit::Init(string symbol, int maxSpreadPoints = 0);
  double        CARVRiskToolkit::LotForRisk(string symbol, double riskPct, double slDistance) const;
  double        CARVRiskToolkit::LotFixed(string symbol, double lot) const;
  bool          CARVRiskToolkit::BuildStops(string symbol, int dir, double entry, double slDistance, double tpDistance, double &sl, double &tp) const;
  bool          CARVRiskToolkit::StopsDistanceOk(string symbol, int dir, double entry, double sl, double tp) const;
  static int    CARVRiskToolkit::CountPositions(string symbol, long magic);
  static bool   CARVRiskToolkit::HasPosition(string symbol, long magic);
  // Symbol specs & normalization (singleton)
  static CARVSymbolUtils *CARVSymbolUtils::Instance(string symbol = "");
  double        CARVSymbolUtils::NormalizePrice(double price) const;
  double        CARVSymbolUtils::NormalizeLot(double lot) const;
  bool          CARVSymbolUtils::ValidateLot(double lot) const;
  // Time & sessions (static)
  static datetime CARVTimeUtils::ToGMT(datetime serverTime = 0);
  static int      CARVTimeUtils::GMTHour(datetime serverTime = 0);
  static bool     CARVTimeUtils::IsAsianSession(datetime serverTime = 0);
  static bool     CARVTimeUtils::IsLondonSession(datetime serverTime = 0);
  static bool     CARVTimeUtils::IsNewYorkSession(datetime serverTime = 0);
  static bool     CARVTimeUtils::IsLondonNewYorkOverlap(datetime serverTime = 0);
  static string   CARVTimeUtils::SessionName(datetime serverTime = 0);
  static bool     CARVTimeUtils::IsWeekendWindow(int friCloseHour, int monResumeHour, datetime serverTime = 0);
  static bool     CARVTimeUtils::IsNewBar(string symbol, ENUM_TIMEFRAMES tf, datetime &lastBarTime);
  static bool     CARVTimeUtils::CooldownElapsed(datetime &lastEvent, int seconds);
  static int      CARVTimeUtils::SecondsUntilGMTHour(int gmtHour);
  // Logging
  void CARVLogger::Init(string tag = ARV_LOG_DEFAULT_PREFIX, ENUM_LOG_LEVEL minLevel = LOG_INFO, bool console = true);
  bool CARVLogger::EnableCsv(string fileName, string header = "time,level,tag,message");
  void CARVLogger::Log(ENUM_LOG_LEVEL level, string message, string tag = "");
  void CARVLogger::Error(string message, string tag = "");
  void CARVLogger::Warning(string message, string tag = "");
  void CARVLogger::Info(string message, string tag = "");
  void CARVLogger::Debug(string message, string tag = "");
  void CARVLogger::Shutdown();
  // State persistence + single-instance guard
  void          CARVStateStore::Init(string nameSpace);
  static string CARVStateStore::MakeNamespace(long login, string symbol, long magic);
  void          CARVStateStore::SetDouble(string name, double value);
  double        CARVStateStore::GetDouble(string name, double def = 0.0) const;
  void          CARVStateStore::MarkAlive();
  bool          CARVStateStore::IsAlive(int maxAgeSec = ARV_INSTANCE_HEARTBEAT_SEC) const;
  // Regime gate
  bool   CARVRegimeGate::Init(string symbol, ENUM_TIMEFRAMES tf, int atrPeriod, int maPeriod, int cooldownBars, string tag);
  bool   CARVRegimeGate::IsFavorable(double referenceDistance, double minRatio, double maxRatio, double minSigmaMu, bool requireTrend);
  double CARVRegimeGate::ATR();
  // Retry state machine
  bool CARVCloseRetry::Run(IARVRetryableOperation *op, CARVLogger *log, bool &outEscalated);
  bool CARVCloseRetry::Run(IARVRetryableOperation *op, CARVLogger *log = NULL);
  // Diagnostics (CSV)
  void CARVDiagnostic::Init(string prefix, string symbol = "", bool immediateFlush = true);
  void CARVDiagnostic::Bar(const ARVBarSnapshot &snap);
  void CARVDiagnostic::Event(string type, string key1, double val1, string key2, double val2);

Who it is for
  * MQL5 developers who want reliable risk/plumbing without re-writing it.
  * Sellers/students who want a clean reference implementation.

Requirements / compatibility
  * MetaTrader 5, current MQL5 build. Standard includes only.
  * No DLLs, no network, no third-party libraries.
  * Full source (.mqh) included; examples use <Trade\Trade.mqh> only.

What it is NOT
  * NOT an Expert Advisor and NOT a trading strategy.
  * No signal, no edge, and NO profit promise.
  * Example EA results are illustrative only.

Updates & support
  * Version 1.00. Bug reports and feature requests via product messages.
    Planned: minor helper additions only.

推荐产品
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
Scan a fixed list of assets (Ibovespa) in the chosen timeframe (TimeFrame). For each pair and for various periods. Calculate a regression model between the two assets (and, if desired, using the bova11 index as a normalizer). Generate the spread of this relationship, its mean, standard deviation, speculative deviation, and betas (B1 and B2). Apply an ADF test without exclusion (cointegration/stationarity). Calculate the Z-score of the current exclusion (how many standard deviations are away from
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
Smart FVG Stats
- Md Rashidul Hasan
5 (1)
The  Smart FVG Statistics Indicator  is a powerful MetaTrader 5 tool designed to automatically identify, track, and analyze Fair Value Gaps (FVGs) on your charts. Love it? Hate it? Let me know in a review! Feature requests and ideas for new tools are highly appreciated. :) Try "The AUDCAD Trader": https://www.mql5.com/en/market/product/151841 Key Features Advanced  Fair Value Gap  Detection Automatic Identification : Automatically scans for both bullish and bearish FVGs across specified histo
FREE
PZ Goldfinch Scalper EA MT5
PZ TRADING SLU
3.33 (57)
这是我著名的剥头皮机Goldfinch EA的最新版本,它是十年前首次发布。它以短期内突然出现的波动性扩张为市场提供了头条:它假设并试图在突然的价格加速后利用价格变动的惯性。这个新版本已经过简化,使交易者可以轻松使用测试仪的优化功能来找到最佳交易参数。 [ 安装指南 | 更新指南 | 故障排除 | 常见问题 | 所有产品 ] 简单的输入参数可简化优化 可定制的贸易管理设置 交易时段选择 工作日选择 金钱管理 谨防... ick牛黄牛是危险的,因为许多因素都会破坏收益。可变的点差和滑点降低了交易的数学期望,经纪人的低报价密度可能导致幻像交易,止损位破坏了您获取利润的能力,并且网络滞后意味着重新报价。建议注意。 回溯测试 EA交易仅使用报价数据。请以“每笔交易”模式回测。 它根本不使用HLOC(高-低-开-关)数据 交易时间无关紧要 为了获得更好的性能,请为您希望在每个刻度线模式下交易的每个交易品种运行云优化。稍后分享! 输入参数 触发点:触发点差所需的价格变动。 (预设= 10) 最小时间窗口:价格波动发生的最短时间。 (默认= 3) 最长时间窗口:价格波动发生的最长时间。
FREE
Go Long Advanced
Phantom Trading Inc.
4.78 (9)
Go Long EA实现了基于系统性日间交易原则的高级日内交易策略,具有多重技术确认。虽然许多交易者寻求复杂的算法,但该EA将简单而有效的概念与复杂的风险管理和多重技术过滤器相结合。 该EA每天在特定时间开仓,但仅在市场条件符合多个技术指标时才会执行。这种系统性方法有助于捕捉日内行情,同时避免过夜持仓成本侵蚀利润。EA会在预设时间自动平仓,这对想要避免过夜风险的交易者来说是理想之选。 该EA的特别之处在于其自适应风险管理系统。持仓规模根据多个因素自动调整: - 基础资金和风险百分比设置 - 技术指标条件(均线、RSI、MACD等) - 在条件特别有利时增加持仓规模的特殊乘数 该EA包含多个可启用/禁用的技术过滤器: - 移动平均线(MA)过滤器,带价格关系检查 - RSI超卖条件和乘数 - MACD趋势确认 - ATR波动率过滤器 - 布林带位置验证 - ADX趋势强度确认 - 动量确认 - 随机指标超卖条件 - 一目均衡表云图位置验证 - 摆动模式识别 <资金管理设置> 基础资金:风险计算的基础资金 风险百分比:每笔交易基础资金的风险百分比 获利百分比:止盈距离(0 = 禁
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
TradeJournal AutoExporter
Mogae Ronald Sekwababe
TradeJournal AutoExporter is a powerful utility designed for MetaTrader 5 that automatically captures and logs your trading activity in real time. Eliminate manual record-keeping and keep your focus entirely on the market. Key Features: Automated Data Capture: Instantly logs detailed trade statistics—including open/close prices, lot sizes, trade duration, commissions, swap, and profit/loss—the moment a trade closes. Seamless Exporting: Automatically saves your trade history into clean, structure
Artemis Gold HFT Throttle EA MT5 等待结束了 — Artemis Gold HFT Throttle EA 现已支持 MetaTrader 5。 Artemis Gold HFT Throttle EA MT5 是一款专注于黄金交易的智能交易系统,面向希望在 XAUUSD 上进行快速短线自动化交易,同时拥有受控执行、智能保护机制和清晰仪表盘显示的交易者。 大多数快速交易机器人只关注速度。但在真实经纪商环境中,没有控制的速度可能会成为问题。黄金点差可能迅速扩大,流动性可能快速变化,订单修改可能被拒绝,而过于激进的交易请求行为可能导致不稳定的结果。 Artemis 基于一个不同的原则: 受控速度比失控速度更具可持续性。 此 MT5 版本基于经过验证的 MT4 v1.4 Artemis Gold HFT Throttle EA 构建,并将产品带到 MetaTrader 5 平台,提供更清晰的仪表盘、更强的诊断功能、兼容 MT5 的执行处理,并支持 hedging 和 netting 两种账户环境。 在 netting 账户中,持仓作为该交易品种的合并风险敞口进
FREE
K Trade Lib5
Kaijun Wang
2 (1)
MT4/5通用交易库(  一份代码通用4和5 ) #import "K Trade Lib5.ex5"    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单    void SetMagic( int magic, int magic_plus= 0 ); void SetLotsAddMode(int mode=0,double lotsadd=0);    long OrderOpenAdvance( int mode, int type, double volume, int step, int magic, string symbol= "" , string comm
FREE
Automated Timeframe cycling with Symbols centered.  Force every timeframe onto one clock window, so the story you see on Daily is the same story you are slicing on H4, H1, and M1.  Traders usually flip timeframes and lose the span. A Daily chart shows a few weeks, then M15 shows a few hours, and the eye treats them as different markets. TASSERACT locks the window to N bars of the highest enabled timeframe — default 10 Daily — and maps every lower timeframe to that same stretch. You stay inside o
FREE
Nikkei225 Gap ContinuationEA
Francesc Jordi Mallol Nolden
Nikkei 225 Gap Continuation EA Automated opening-gap continuation strategy for the Nikkei 225 Nikkei 225 Gap Continuation EA is an automated trading system for MetaTrader 5 designed specifically for the Japanese stock index. It searches for significant opening gaps and enters only when price action confirms a possible continuation in the same direction. The strategy combines the opening gap, a configurable opening range and session VWAP confirmation. It also includes risk-based position sizing,
FREE
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
GOM Trade Manager
Wannapach Chinnaprapa
GOM Trade Manager helps you execute trades the way you want it. Works on all instruments Forex, Commodities, & Crypto. It helps you with lot calculations, spread addition and balance calculations so you can just focus on actual trading. For full automatic planned management, stackable triggers and spread widening protection >> check out GOM Trade Manager Pro . ------------------------------------------NOTABLE FEATURES------------------------------------------ You set everything based on bid
FREE
Market book tester
Aliaksandr Hryshyn
3 (2)
Using data from the order book in the strategy tester Key features: Simultaneous use of several symbols, up to 7 pieces DOM visualization With the visualization of order books, real-time simulation is available, as well as acceleration or deceleration Working with the library: This product also requires a utility to save data:  https://www.mql5.com/en/market/product/71642 Speed control utility:  https://www.mql5.com/en/market/product/81409 Include file:   https://c.mql5.com/31/735/Market_book_s
FREE
Trade Copier Local MT5 is a fast local trade copier for copying trades between multiple MT4 and MT5 accounts. One EA works in both Master and Slave modes. Simply select the required Copier Mode and use the same product on your MetaTrader terminals. Copy trades between: • MT5 → MT5 • MT5 → MT4 • MT4 → MT5 • MT4 → MT4 Perfect for: • Trading multiple accounts at once • Linking multiple trading accounts • Personal account mirroring • Signal providers • Account managers • Prop trading setups #
ForexcopyLocalMT5
Wei Ming Ding
3 (1)
使用说明: https://www.mql5.com/zh/blogs/post/754946 MT4版本: https://www.mql5.com/zh/market/product/88205 MT5 版本: https://www.mql5.com/zh/market/product/88204 ---------------------------------------------- 1.复制订单,从12个主帐号到100个从帐号.从帐号数量可以自定,从12个到100个。 2.支持MT4到MT4, MT4到MT5, MT5到MT4,MT5 到MT5. 3.识别不同平台的交易品种后缀,如EURUSD,EURUSDm,EURUSDk. 4.自定义货币匹配,如XAUUSD=GOLD. 5.可复制所有交易,或只复制BUY,SELL,CLOSE指令 6.可选择是否复制止盈止损 7.可反向复制,如主帐号是BUY,从帐户就是SELL,反之也是。当主帐号平仓时,从帐户不管是同向复制还是反向复制,都会同时平仓 8.发生意外如从帐号关闭时,主帐号有平仓信号而从帐号没有及时复制,当从帐号再次启
Overview Mirror Signals Service EA (Text only)   is a powerful monitoring Expert Advisor that automatically sends   real-time Telegram notifications   for all important trade events on your MetaTrader 5 account. It is engineered specifically for   signal providers ,   trade-copier operators ,   auditors ,   educators , and   professional trading services   that require immediate, detailed, and reliable reporting. Everything from   entries, exits, SL/TP changes, comment changes, trailing sto
TradeVision Pro
Ian Nganga Comba
TradeVisonPro Forex Analyzer Pro MT5 交易账户分析与监控仪表板 TradeVisonPro Forex Analyzer Pro 是一款专为 MetaTrader 5 用户设计的交易分析和账户监控解决方案。 本产品将 MT5 交易数据整理到结构化的网页仪表板中,使交易者能够查看账户信息、监控未平仓头寸、分析交易历史、跟踪策略、记录交易日志以及查看绩效统计数据。 TradeVisonPro Forex Analyzer Pro 旨在帮助交易者整理交易信息,并通过受支持的桌面和移动网页浏览器访问这些数据。 主要功能 • MT5 账户仪表板 • 未平仓头寸监控 • 交易历史分析 • 交易日历 • 策略跟踪 • 交易日志 • 账户绩效统计 • 绩效报告 • 交易通知 • 多账户支持 • 可分享的只读报告 MT5 账户仪表板 在一个结构化的仪表板中查看 MetaTrader 5 交易账户的重要信息。 可显示的信息包括: • 账户余额 • 净值 • 可用保证金 • 保证金水平 • 未平仓头寸 • 浮动盈亏 • 交易量 • 经纪商信息 • 账户信息 仪表板集中显示
FREE
2-reihiger Hybrid-Grid-EA mit Ghost Scalper und Brokerside Breakout, automatischem und manuellem Panelboard, 2 x TSL, TP und SL, Spread-Schutz und vielem mehr… Er wurde für den Handel mit Metallen und Energie entwickelt, kann aber auch für andere Assets verwendet werden, sofern Ihr Broker dies zulässt. Ein Muss für jeden Trader. Testen Sie Ihre EA-Einstellungen mit dem Strategietester und/oder einem Demokonto, bevor Sie ihn auf Ihrem Live-Konto einsetzen! Wenn Sie die Demo-Datei herunterladen,
Multi Replicator Copier
Ebunoluwa Abimb Owodunni
Multi Replicator Copier - MT5 Utility Unleash the power of seamless trade replication with Multi Replicator Copier , The Expert Advisor (EA) designed for traders seeking speed and efficiency! This innovative tool automates routine tasks and simplifies multi-account management, allowing you to replicate trades across multiple terminals with unmatched speed and accuracy. Whether you're managing a single strategy or a complex portfolio, Multi Replicator Copier ensures every move is mirrored effortl
Ajuste BRA50
Claudio Rodrigues Alexandre
4.33 (6)
Este script marca no gráfico do ativo BRA50 da active trades o ponto de ajuste do contrato futuro do Mini Índice Brasileiro (WIN), ***ATENÇÃO***  para este script funcionar é necessário autorizar a URL da BMF Bovespa no Meta Trader. passo a passo: MetaTrader 5 -> Ferramentas -> Opções -> Expert Adivisors * Marque a opção "Relacione no quadro abaixo as URL que deseja permitir a função WebRequest" e no quadro abaixo adicione a URL: https://www2.bmf.com.br/ este indicador usa a seguinte página par
FREE
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
Apex Point
Marco Engstermann
Apex Point is a trend-following indicator for MetaTrader 5, transforming complex market data into signals for traders. It displays blue dots for uptrends, red dots for downtrends, and yellow crosses at potential reversals, helping users identify momentum shifts quickly. Key features include a confirmation system requiring multiple bars (default: 3) to validate changes, reducing false signals; dynamic ATR-based offsets for adaptive trailing, with instant ratcheting in the trend direction and smo
FREE
Axilgo PipPiper CoPilot
Theory Y Technologies Pty Ltd
5 (2)
Axilgo Pip Piper CoPilot Elevate your trading game with the Axilgo Pip Piper CoPilot, the first in our revolutionary Pip Piper Series. This all-inclusive toolset is meticulously crafted for serious traders, focusing on key areas such as Risk Management, Trade Management, Prop Firm Rule Compliance, and Advanced Account Management . With CoPilot, you’re not just investing in a tool—you’re gaining a strategic partner in the intricate world of trading. Important Notice: To ensure you receive the fu
FREE
FF4 Scalper
Valerii Gabitov
Ea does not use martingale or grid and has a stop loss for every position.  Symbols: EURCHF, EURCAD, USDCHF and other. Time frame: M15 Best results on EURCAD M15. Live signals and other products here -  https://www.mql5.com/ru/users/leron34/seller#products The EA should run on a VPS continuously without interruption.  Multicurrency advisor. You can enter pairs in the EA settings for tests. I recommend the default settings. You can install an adviser on any pair on M15. The EA has a news filter
Indicator measures strength of each currency in your list. Main idea: It simply iterates through all combinations of pairs and adds difference between open and close in percent. Parameters: List of currencies - what currencies will be calculated (maximum is 8) Calculation type - from which data will be strength calculated Calculation data input - used as input related to calculation type Symbol suffix - used in case of suffix on symbols, e.g: when your symbols look like EURUSDm, EURUSDmicro etc
FREE
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 );    //复杂开单
KChrono Timer
Okechukwu Maxwell Okeke
KChrono Timer is a four-mode timing utility for MetaTrader 5. It keeps candle, countdown and trading-session time information visible directly on the chart. Timer modes 1. Candle Close Timer Displays the remaining time and progress of the active candle. The current chart timeframe or another candle timeframe can be selected. 2. Custom Countdown Runs a user-defined countdown with optional automatic restart or reset when a new candle begins. Pause, Resume and Reset controls are available dire
FREE
Auric Mohd iK
Md Iqbal Kaiser
AURIC MOHD-iK is a dynamic, logic-based Expert Advisor (EA) engineered specifically for trading XAUUSD (Gold). Unlike standard trading systems that rely on lagging, unreliable indicators, this EA operates purely on clean price logic—executing trades the way an experienced human trader naturally reads the market. This version is completely free with limitations, offering permanent value to your trading setup with zero hidden costs. Active Auric Mode That's it!!!!!!!!!! Core Trading Parameters Ac
FREE
该产品的买家也购买
MT5 to Delta Exchange API Bridge EA Connector allows your expert advisor with mq5 file to integrate and communicate with Delta Exchange using API Keys You can place order, check balance and other order managements using Delta Exchange API - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Cancel Order - Query Orders - Change Leverage, margin - Get Position info and many more, details available at demo script Script Documentation 
ModernUI Library
Levi Dane Benjamin
适用于 MetaTrader 5 的 ModernUI 库 ModernUI 是一个用于 MetaTrader 5 的图表内用户界面库。它可以帮助 MQL5 开发者在 MT5 图表环境中构建更清晰的 EA 面板、仪表盘、设置窗口、表单、表格、对话框、抽屉式面板以及紧凑型交易风格界面。 它适合希望获得比零散图表对象更专业的界面层,同时仍然完全掌控自己 EA、指标或工具逻辑的开发者。 Modern UI - 用户指南   | EA 示例演示 你可以构建什么 ModernUI 并不局限于某一种面板类型。它为你提供了一个可复用的界面层,几乎可以用于任何你想在 MetaTrader 5 图表中构建的工具。 你可以用它创建简单的设置界面、紧凑型交易面板、完整仪表盘、数据视图、控制面板、账户工具、流程界面、监控界面、实用工具窗口、商业 EA 前端界面等等。 随附的演示展示了几个实用示例,但它们只是起点。如果你的 MQL5 项目需要按钮、输入框、表格、对话框、标签页、抽屉面板、图表、状态区域,或需要一种更清晰的方式在图表上展示信息,ModernUI 都可以为你提供构建模块。 主要功能 适用于 Me
WalkForwardOptimizer MT5
Stanislav Korotky
3.63 (8)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
This library will allow you to send your trades using your MT5 EA bot and its very easy to integrate on any EA which you can do yourself with the script code which is mentioned in documentation. This product allows trading operations via API For MEXC chart : Renting   Crypto Charting  for OHLC data or   Crypto Ticks with Order Book Depth  is optional - Supports MEXC API calls - Place Limit, SL Limit and Take Profit Limit Orders - Place Market, SL-Market, TP-Market orders - Modify Limit order - C
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
Friends, join us! Ask questions and connect with like-minded traders: MetaCOT Public Group MetaCOT Information Channel: news, CFTC reports, and signals: MetaCOT Channel Here’s to successful trading and new profitable signals for us all! Attention! Recently, certain countries have been blocking access to the cftc.gov website. As a result, users in these countries are giving the product low ratings. MetaCOT has always adhered to the highest quality standards and is in no way associated with th
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
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
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
Binance Library MetaTrader 5 connects your Expert Advisors, indicators, and scripts to Binance.com and Binance.US directly from MetaTrader 5. It is a developer library for building custom Binance integrations inside MT5, not a standalone trading robot or copier. The library helps you add Binance instruments to Market Watch, read symbol specifications, load current and historical market data, check wallet balances, manage orders, and track open positions. It supports Spot, USD-M futures, and COI
1. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
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
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
Hello everyone! I am a professional MQL programmer , Making EAs, Indicators and Trading Tools for my clients all over the world. I build 3-7 programs every week but I seldomly sell any ready-made Robots. Because I am fastidious and good strategy is so few...  this EA is the only one so far I think its good enough to be published here.  As we all know, the Ichimoku indicator has become world popular for decades, but still, only few people knows the right way of using it, and if we check the clo
Applying these methods, I managed to arrive at a nuanced conclusion that is crucial to understanding the importance of unique strategies in contemporary trading. Although the neural network advisor showed impressive efficiency in the initial stages, it proved to be highly unstable in the long run. Various factors such as market fluctuations, trend changes, external events, etc. cause its operation to be chaotic and eventually lead to instability. With these experiences, I accepted the challenge
Introducing "TG Risk Service Manager" — your comprehensive toolkit for swift and precise risk management and lot size calculations in the dynamic world of trading. Designed to streamline development processes and enhance trading strategies, this indispensable library equips developers with essential tools for optimizing risk assessment and trade profitability. Metatrader4 Version |  All Products  |  Contact   Key Features: Efficient Lot Size Calculation : Harness the power of precise lot size c
Introducing "TG Trade Service Manager" — your all-in-one solution for seamless trade management in both MQL4 and MQL5 environments. With a focus on speed, reliability, and convenience, this powerful library simplifies the complexities of trade execution and management, empowering developers with a single interface for enhanced efficiency. Metatrader4 Version   |   All Products   |   Contact   Key Features: Unified Interface : TG Trade Service Manager" provides a unified interface for   MQL4   an
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于AP
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单(设置的是你本机的时间)。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
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
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
近段时间买家运行良好,但同时也有朋友担心: 1、EA测试回测数据的真实性; 2、回测效果好不代表实测效果好,而免费演示版的可测试时间太短,无法判断EA的实用性。 针对以上问题,现推出一个完美的解决方案,直接给到限定时间的测试版本,需要的可以私信留言,或者聊天窗口找我,看到后会发送测试版本过来。 此外,为了方便部分已购买源代码的客户熟悉了解代码,进一步优化和提升空间,并且让更多的有意向的客户了解这个EA的编辑逻辑,特将代码拆解,不定期的讲解基本思路,跟着走即便是小白也可以快速上手,以便后续购买源代码后快速上手优化! 知乎专栏: Day01:初始MQL5量化系统 - quanter的文章 - 知乎 https://zhuanlan.zhihu.com/p/1969031679428530490 Wordpress个人网站: https://quanter001.wordpress.com/ 如有任何问题,欢迎邮件沟通:quanter001@163.com ****************************************************************
该产品已经开发了 3 年,它是 MQL5 编程语言中最先进的人工智能和机器学习代码库。它已被用于创建多个基于 AI 的交易机器人和指标,适用于 MetaTrader 5。 这是一个高级版,基于免费开源的 MQL5 机器学习项目,链接如下:  https://github.com/MegaJoctan/MALE5 。免费版本功能较少,文档较少,维护不足,仅适用于小型 AI 模型。 该高级版包含您编写 AI 交易机器人的所有必需工具。 为什么要购买此库? 非常易于使用,代码语法友好,类似于 Python 的流行 AI 库,如 Scikit-learn、TensorFlow 和 Keras。 文档齐全,提供丰富的视频、示例和文档,帮助您快速上手。 计算优化,性能优越,运行方式类似普通 EA。  无需额外依赖,无需 DLL 文件,所有内容可编译为单一 .EX5 文件,便于测试和分发。 全天候技术支持,我将提供帮助,确保您正确使用,并在问题出现时协助修复。  谁适合使用此库? 具有基本机器学习和 AI 知识的用户。 机器学习爱好者,特别是来自 Python ML 社区的开发者。 MQL5 中级
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
作者的更多信息
RA Mean Reversion Portfolio RA Mean Reversion Portfolio 是一款适用于 MetaTrader 5 的多品种智能交易系统(EA)。它寻找 两个货币对上统计意义上被拉伸的日线波动,并基于“这类波动倾向于回归近期均值”的假设进行交易。 两个货币对在同一张图表上交易,作为一个投资组合由同一个风险上限统一管理。每笔交易都设置保护 性止损。 策略类型:基于 D1 的多品种组合均值回归策略(逆势型)。 该 EA 仅在 D1 周期运行,每个品种最多持有一个仓位,不使用网格、加仓摊平或马丁格尔。 优势 - 逻辑简单且完全确定。信号是日收盘价的 z 分数,任何决策都可以由用户自行复算和验证,不含隐藏 的自适应组件。 - 一个组合,一个风险上限。每笔交易风险固定,组合总风险设有上限,同时持仓数量也受限。 - 相关性过滤。当新交易与已开仓位高度相关时,风险减半;若已存在两个这类相关仓位,则禁止继续 开仓。 - 每笔交易都设置止损,按开仓时的 ATR 计算。止损从不放宽,也没有会干扰离场规则的止盈。 - 宁可跳过,也不超风险。如果计算出的手数小于经纪商的最小
筛选:
无评论
回复评论