• 概述
  • 评论 (8)
  • 评论 (197)
  • 新特性

WalkForwardOptimizer MT5

3.63

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. Also a comprehensible report is generated as HTML page.

Warning! Do not pause optimization process. Clicking Start button (even if it resumes suspended optimization) will rewrite WF results from scratch. MQL5 API does not allow to distinguish new optimization from resumed old one.


This is a library. It requires a user to have some developer skills. If you do not have source codes of your EA (if it's a 3-rd party commercial EA) or do not understand the sources codes (if it's made for you by custom developer), please, contact the author/developer of the EA (source codes) to solve all problems. If he thinks there is a bug in the library, then let the author/developer contact me directly. I need technical details (which are hard to receive from non-developers) to provide proper support.

The text is shortened due to size limit - download full file from Comments.

WalkForwardOptimizer.mqh Header File

#define DAYS_PER_WEEK    7
#define DAYS_PER_MONTH   30
#define DAYS_PER_QUARTER (DAYS_PER_MONTH*3)
#define DAYS_PER_HALF    (DAYS_PER_MONTH*6)
#define DAYS_PER_YEAR    (DAYS_PER_MONTH*12)

#define SEC_PER_DAY     (60*60*24)
#define SEC_PER_WEEK    (SEC_PER_DAY*DAYS_PER_WEEK)
#define SEC_PER_MONTH   (SEC_PER_DAY*DAYS_PER_MONTH)
#define SEC_PER_QUARTER (SEC_PER_MONTH*3)
#define SEC_PER_HALF    (SEC_PER_MONTH*6)
#define SEC_PER_YEAR    (SEC_PER_MONTH*12)

#define CUSTOM_DAYS     -1

enum WFO_TIME_PERIOD {none = 0, year = DAYS_PER_YEAR, halfyear = DAYS_PER_HALF, quarter = DAYS_PER_QUARTER, month = DAYS_PER_MONTH, week = DAYS_PER_WEEK, day = 1, custom = CUSTOM_DAYS};

enum WFO_ESTIMATION_METHOD {wfo_built_in_loose, wfo_built_in_strict, wfo_profit, wfo_sharpe, wfo_pf, wfo_drawdown, wfo_profit_by_drawdown, wfo_profit_trades_by_drawdown, wfo_average, wfo_expression};

#import "WalkForwardOptimizer MT5.ex5" // !after install must be copied into MQL5/Libraries
void wfo_setEstimationMethod(WFO_ESTIMATION_METHOD estimation, string formula);
void wfo_setPFmax(double max);
void wfo_setCloseTradesOnSeparationLine(bool b);
void wfo_OnTesterPass();
int wfo_OnInit(WFO_TIME_PERIOD optimizeOn, WFO_TIME_PERIOD optimizeStep, int optimizeStepOffset, int optimizeCustomW, int optimizeCustomS);
int wfo_OnTick();
double wfo_OnTester();
void wfo_OnTesterInit(string optimizeLog);
void wfo_OnTesterDeinit();
#import

input WFO_TIME_PERIOD wfo_windowSize = year;
input int wfo_customWindowSizeDays = 0;
input WFO_TIME_PERIOD wfo_stepSize = quarter;
input int wfo_customStepSizePercent = 0;
input int wfo_stepOffset = 0;
input string wfo_outputFile = "";
input WFO_ESTIMATION_METHOD wfo_estimation = wfo_built_in_loose;
input string wfo_formula = "";


Example of Usage

#include <WalkForwardOptimizer.mqh>

...

int OnInit(void)
{
  // your actual code goes here
  ...

  wfo_setEstimationMethod(wfo_estimation, wfo_formula); // wfo_built_in_loose by default
  wfo_setPFmax(100); // DBL_MAX by default
  // wfo_setCloseTradesOnSeparationLine(true); // false by default
  
  // this is the only required call in OnInit, all parameters come from the header
  int r = wfo_OnInit(wfo_windowSize, wfo_stepSize, wfo_stepOffset, wfo_customWindowSizeDays, wfo_customStepSizePercent);
  
  return(r);
}

void OnTesterInit()
{
  wfo_OnTesterInit(wfo_outputFile); // required
}

void OnTesterDeinit()
{
  wfo_OnTesterDeinit(); // required
}

void OnTesterPass()
{
  wfo_OnTesterPass(); // required
}

double OnTester()
{
  return wfo_OnTester(); // required
}

void OnTick(void)
{
  int wfo = wfo_OnTick();
  if(wfo == -1)
  {
    // can do some non-trading stuff, such as gathering bar or ticks statistics
    return;
  }
  else if(wfo == +1)
  {
    // can do some non-trading stuff
    return;
  }

  // your actual code goes here
  ...
}
评论 8
Killerplautze
519
Killerplautze 2024.08.27 20:00 
 

Truly a powerful tool. A little complicated at first, but the support is very good. This is how it will work in the end.

BlackOpzFX
152
BlackOpzFX 2023.04.01 04:57 
 

WOW!! Incredible Tool!! - Such a Time Saver. Pretty Easy To Integrate Also. I have tools that can schedule multiple walk-forwards but the analysis report is worth its weight in gold for determining how often to optimize your EA. Other tools that have walk-forward integrate the 'rolling' option and stats. Why Metatrader didn't is a mystery (will probably update one day). Until its properly added to MT5 this library powerfully fills the gap!

Wells Velasquez Maciel
564
Wells Velasquez Maciel 2020.11.21 10:36 
 

Honestly, the best thing I ever bought for MT5! Congrats!

推荐产品
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于AP
This library allows you to automatically filter events by symbol. Additionally, it requires the use of "flags" to classify events based on their importance (high, low, etc.). Properties: Our library is simple and only requires the export of four functions to work properly. Requirements: The library uses OnTimer , so it is not compatible with programs that also use this event. If your bot utilizes OnTimer , this may interfere with the library’s functionality and prevent event filtering. We recomm
FREE
Ajuste BRA50
Claudio Rodrigues Alexandre
4.4 (5)
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
*****主要交易XAUUSD,如果测试的时候,建议调整到XAUUSD,其他交易标的不能保证盈利效果********* 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! 需要测试的请留言(看到后会第一时间回复),为了保护工作成果,需要输入特定的参数,系统默认的参数无法实现截图回撤所示效果! **************************************************************************************************************************************************************** 1、【简述】主要为趋势交易,严格筛选交易信号,一旦交易信号明确,快速交易。 2、【止损止盈】每月止盈15%,止损30%。 3、【特殊说明】严格的交易执行逻辑,一旦当月达到止盈止损后,坚决不再开
SymbolMonitor
Oleksandr Kashyrnyi
SymbolMonitor 1.3 – 全面掌控您的交易! 您交易多个金融工具,希望 实时查看您的利润 ? SymbolMonitor 1.3 是一款强大的智能交易系统(EA),可 自动分析每个交易品种的盈利情况 ,并提供 灵活的设置和警报功能! 版本 1.3 新功能 可定制的视觉参数 – 调整 字体、大小和文本颜色 自动通知 – 当利润达到目标时收到警报 精准的收益计算 – 显示 总交易量、利润、库存费(Swap)和手续费 实时数据更新 – 所有指标自动刷新 支持两种语言 – Русский / English (可在设置中切换) 重要! 每手交易的手续费 需要手动输入 ,因为不同的经纪商和交易品种手续费不同。请在参数中设置,以获得准确的净利润计算! SymbolMonitor 适合谁? 交易多个资产的投资者 – 分别监控每个品种的利润 剥头皮和日内交易者 – 无需手动计算,快速分析 专业交易员和资金管理者 – 轻松监控收益并接收提醒 主要特点: 个性化视觉设置 – 选择字体、大小和文本颜色
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
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
Free version. Only works on EURUSD Do you want to always know in a quick glance where price is going? Are you tired of looking back and forth between different timeframes to understand that? This indicator might just be what you were looking for. Trend Signal Multitimeframe shows you if the current price is higher or lower than N. candles ago, on the various timeframes. It also displays how many pips higher or lower current price is compared to N. candles ago. Number N. is customizable The data
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
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
背景 本产品是基于 周期论 而开发出的实用看盘工具。 当您需要使用 多周期图表 来分析 一个品种 时,手动添加不同周期的图表并且应用模板的时间是个非常大的成本。 这一款产品可以帮助您快捷新增一个或多个交易品种的多个周期的图表,并且 统一应用同一种模板 ,新增后可将图表拖拉至副屏,适用于多屏分析。 使用方法 在需要添加的交易品种图表上应用此脚本,在弹出的面板输入您需要添加图表的数量和应用模板名称即可。 第一行填写需要添加图表的数量,新增图表的周期默认顺序为:M5, M15, M30, H1, H4, D1。 第二行填写您需要应用模板的名称,您可以使用系统自带的模板,也可以使用您自定义的模板,但是名称需同步,包括英文大小写。 点击 这里 查看快捷切换多屏图表的工具,可配合此产品一起使用。 点击 这里 查看基于周期论的指标产品,可配合此产品一起使用。 如果您有任何问题或需要帮助,请通过私信与我联系。 注意! 我的所有产品只能在这里购买,即官方 MQL5 网站。 谨防骗子!
FREE
The Dfx Position Risk Calculation Tool is an MT5 indicator developed by DefenderFX Ltd. designed to assist traders in assessing risk and reward for their trades. The tool automatically calculates the risk-to-reward ratio based on user-defined parameters, such as lot size and take profit (TP) level. It provides visual lines on the chart for entry (Blue Color), stop loss (SL) – Red Color, and TP levels (Green Color), which traders can adjust by dragging. Key Features: Input Parameters : Traders ca
The Expert Advisor will help you forward all alert from  MetaTrader 5 to Telegram channel/ group.  All alert must save to folder <Data folder>MQL5\Files\Alerts\ , text file with format *.txt and screenshot with format *.gif or *.png. Parameters: - Telegram Bot Token: - create bot on Telegram and get token. - Telegram Chat ID:  - input your Telegram user ID,  group / channel ID - Forward Alert: - default true, to forward alert. - Send message as caption of Screenshot: - default false, set true t
Trading Notes   is an innovative tool designed for traders to streamline their decision-making process by allowing them to write and display important reminders or short details directly over their trading charts. This essential feature ensures that traders have quick access to their personalized checklist before opening any positions, enhancing their trading efficiency and accuracy. MT4 Version -  https://www.mql5.com/en/market/product/120613 Key Features: Five Customizable Input Fields:   Trad
FREE
Reclaimed Order Block ICT Indicator MT5 Built upon the ICT trading principles, the Reclaimed Order Block ICT Indicator MT5 for MetaTrader 5 pinpoints essential price areas where an order block is initially breached, leading to a structural shift and the formation of a new trend. As the price revisits these levels post-breakout, the indicator generates strategic buy and sell signals, assisting traders in making data-driven decisions. «Indicator Installation & User Guide» MT5 Indicator Installatio
FREE
EAsiTrader: Advanced Strategy Creation & Automation for MetaTrader 5 EAsiTrader is designed for those who want to eliminate the hassle of programming and drastically accelerate the process of creating Expert Advisors, making strategy development faster and more efficient. EAsiTrader is a versatile trading tool designed specifically for MetaTrader 5, providing automation features and a comprehensive set of tools to help users build, test, and refine and run trading strategies. EAsiTrader adapts
FREE
This OCO Closer is one of the most useful things in my toolbox. You can place as many pending orders as you want on your chart, then after adding this to the chart it will delete them all once a Buy or Sell Position Opens. This is great for those times when you think the price might reverse trend, or if you simply want to hedge your bets both ways. Bear in mind that this will only delete the pending orders on the current currency pair, so you can set Buy and Sell pending orders on as many pairs
Scientific Calculator MT5
Francisco Manuel Vicente Berardo
The Scientific Calculator is a script designed to compute science, engineering and mathematics expressions.  General Description   The expression to calculate must obey syntax rules and precedence order, being constituted by the following elements:   Integer and real numbers.  Mathematical operators for addition (+), subtraction (-), multiplication (*), division (/) and exponentiation (^).  Mathematical and trigonometric functions .  Curved parentheses (()) to define the precedence and contain
FREE
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. 
This indicator allows to hide ATR oscillator (on all MT5 timeframes) from a date define by the user, with a vertical line (Alone) or a panel (with "Hidden Candles"). Indicator Inputs: Period Information on "Average True Range" indicator is available here:   https://www.metatrader4.com/en/trading-platform/help/analytics/tech_indicators/average_true_range ************************************************************* Hey traders!!  Give me your feeds!  We are a community here and we have the same o
FREE
The script allows to close all opened positions if Sum of Profit from all opened positions  is greater than value of the input parameter: SumProfit . Input parameters SumProfit = 100 You can change SumProfit  to any positive value ( in dollars , not in the points!). This script will close all positions for a given currency pair only. Keep in mind that you have to " Allow automated trading " on the "Expert Advisors" tab (Tools->Options).
CloseAllOrders at once
Lamont Simone Reynecke
Simple program i created, to help close all your orders instantly when you are busy scalping the market or if you want to avoid news days but still have a lot of orders and pending orders open and can't close them in time.. with this script all you're problems will be solved. Simple drag and drop and the script automatically does it's thing, quick and easy  also a very good tool to use when scalping
FREE
Ota A2
Sander Maehle Andresen
OTA A2 - 高级终端优化器 您是否曾经想过为什么您的交易终端在关键市场时刻会变慢? OTA A2 是这个常见问题的解决方案,代表着交易终端优化的重大突破。 为什么选择 OTA A2? 当今市场的交易需要最佳性能。无论您是同时运行多个策略、 进行密集的回测,还是管理多个图表,每一毫秒都至关重要。OTA A2 源于 专业交易者的实际需求,他们需要一个能在压力下保持稳定性能的解决方案。 核心功能 动态内存回收 - 适应您交易需求的智能资源管理 缓存系统优化 - 提高数据访问速度的高级缓存算法 工作集管理 - 维持最佳性能水平的复杂内存分配 终端资源增强 - 针对高峰交易条件的全面系统优化 技术创新 OTA A2 通过直接系统集成利用尖端优化技术。它采用复杂的 内存管理算法,在最低层级运作,确保最大效率而不影响稳定性。 实际优势 更快的交易执行速度 降低系统资源消耗 高强度交易期间提升稳定性 多策略部署的优化性能 增强的回测能力 谁需要 OTA A2? 此工具对以下用户至关重要: 运行多个策略的专业交易者 需要稳定性能的算法交易者 进行大量回测的系统开发人员 管理多个终端的交易公司 背
FREE
SymbolAutoChanger PRO MT5   There is also version for MetaTreader4 This tool allows you to automatically change the chart symbols in a row. Example: EUR → GBP → JPY → CHF → CAD → AUD → NZD You need only to set up interval in seconds between auto switch. Also, you can choose whether to switch between all symbols provided by your broker or only between symbols available in the Market Watch window. PRO version  has following featuters: Next button Previous button Pause/Continue botton With this ex
Ofir Blue exporter is a handy utility to export your orders history to a JSON file . You'll need it if you want to back-test Ofir blue or Ofir Hedging , using your own trading history. How it works: Install the indicator on a chart Press export all or export <current symbol> (for example GBPUSD) The indicator will create the json file in the directory files/ofirblue/export. This directory is in the common file area. The file will be automatically taken in charge by Ofir blue strategy tester
FREE
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
The utility is designed for manually placing the first order in trading with a user-defined magic number that corresponds to the magic number of the currently running EA. You can choose the direction for opening an order and open it using "The First Orders". After that, disable "The First Orders" and enable your trading expert, which picks up the newly placed order and considers it to be its own, managing it accordingly. Trading experience helps traders to better determine the trade direction th
A script for closing positions If you need to quickly close several positions, but it requires specifying maximal deviation and the number of attempt to close, this script will do all the routine for you! Allow AutoTrading before running the script. Usage: Run the script on a chart. Input Parameters: Language of messages displayed (EN, RU, DE, FR, ES) - language of the output messages (English, Russian, German, French, Spanish). Slippage - acceptable slippage when closing. Specified as for 4-di
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
适用于 MetaTrader 5 (MT5) 的 UZFX - 所需保证金和最大手数脚本旨在帮助交易者快速确定开立 1 手头寸所需的保证金,并根据其当前账户净值计算可交易的最大手数。该工具对于风险管理和头寸大小至关重要,可帮助交易者有效规划交易。 功能 计算对所选符号开仓 1 手交易所需的保证金。 根据可用资金确定交易者可以开仓的最大手数。 使用当前卖出价精确计算保证金。 使用评论功能直接在图表上显示结果。 帮助交易者在管理杠杆和风险的同时优化仓位大小。 使用方法: 将脚本附加到所需交易符号的图表上。 脚本将计算并显示结果: 1 手所需保证金 基于可用资金的最大可交易手数 结果将显示在图表的左上角。 注意 脚本使用买入订单类型计算保证金。 最大手数是根据净值计算的,而不是自由保证金。 本脚本不进行交易;纯粹用于提供信息。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
FREE
该产品的买家也购买
Native Websocket
Racheal Samson
5 (5)
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
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单(设置的是你本机的时间)。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
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. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
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
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
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 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
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
该产品已经开发了 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 中级
适用于 MetaTrader 5 (MT5) 的 UZFX - Set Stop Loss to Breakeven Instantly 脚本是一款功能强大的工具,允许交易者将所有未结头寸的止损点快速移动至其入场价格,确保无风险交易。该脚本尤其适用于有效管理活跃交易,确保一旦头寸出现有利变动,交易者就能免受潜在损失。 (访问简介并查看所有其他 MT4/MT5 产品) (请不要忘记给予评论) 功能: 自动将所有未结头寸的止损设置为盈亏平衡(入市价格)。 通过确保利润和尽量减少潜在损失来加强风险管理。 使用方法 将脚本附加到图表上;它将自动调整所有未结头寸。 如果某个仓位的止损已达到盈亏平衡点,则将跳过该仓位。 注意: 该脚本仅修改现有交易,不会下新订单。 它适用于所有未结头寸,与符号无关。 确保经纪商允许以准确的入市价格修改止损。
适用于 MetaTrader 5 (MT5) 的 UZFX - 即时关闭所有未结买单和卖单脚本是一款功能强大的工具,交易者只需执行一次操作,即可立即关闭所有活跃的市场头寸。该脚本是紧急交易管理的理想工具,可帮助交易者在剧烈波动、新闻事件或策略调整期间快速退出市场。 功能 关闭所有符号的所有未结买入和卖出头寸。 使用最新的买入价/卖出价,执行准确。 帮助交易者即时退出市场,只需极少的手动操作。 使用方法 将脚本附加到 MT5 图表。 脚本将扫描并关闭所有未平仓的买入和卖出头寸。 专家选项卡中将显示每个平仓订单的确认信息。 注意 该脚本不会删除挂单,只会关闭活跃的市场头寸。 它适用于所有交易符号,而不仅仅是所附图表。 运行脚本前,请确保您要关闭所有仓位,因为脚本会立即执行。 开发者:Usman Zabir - UZ 乌斯曼-扎比尔 - UZFX 版本: 1.00 年份: 2025 网站: https://www.mql5.com/en/users/forextycoons
Pionex API EA 连接器(MT5) – 无缝集成MT5 概述 Pionex API EA 连接器 允许 MetaTrader 5(MT5) 无缝集成 Pionex API ,让交易者直接在 MT5 上执行交易、管理订单、获取账户余额并跟踪交易历史。 主要功能 账户和余额管理 Get_Balance(); – 获取 Pionex 账户的当前余额。 订单执行和管理 orderLimit(string symbol, string side, double size, double price); – 按指定价格下 限价单 。 orderMarket(string symbol, string side, double size, double amount); – 以指定数量执行 市价单 。 Cancel_Order(string symbol, string orderId); – 取消特定订单(通过 ID )。 Cancel_All_Order(string symbol); – 取消该交易对的所有 未完成订单 。 订单跟踪和历史 Get_Order(str
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
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.
Native Websocket
Racheal Samson
5 (5)
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
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单(设置的是你本机的时间)。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
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. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
MetaCOT 2 CFTC ToolBox MT5
Vasiliy Sokolov
3.67 (3)
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
OrderBook History Library
Stanislav Korotky
3 (2)
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the co
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEven
Goliath Mt5
Nicolokondwani Biscaldi
Goliath MT5 - scalper fully automated Expert Advisor for medium-volatile forex markets P roperties: The Library trades 10 currency pairs (USDCHF, EURCHF, EURGBP, AUDUSD, USDCAD, GBPUSD, EURUSD, NZDUSD, CADCHF, EURAUD, EURCAD, AUDJPY) The Library does not use martingale The Library sets a fixed stop loss and take profit for all orders The Library only trades a user input volume The Library can be installed on any currency pair and any timeframe Recommendations: Before using on a real account, t
Binance Library
Hadil Mutaqin SE
5 (1)
The library is used to develop automatic trading on Binance Spot Market from MT5 platform. Support all order types: Limit, Market, StopLimit and StopMarket Support Testnet mode Automatically display the chart on the screen Usage: 1. Open MQL5 demo account 2. Download Header   file and EA sample   https://drive.google.com/uc?export=download&id=1kjUX7Hyy02EiwTLgVi8qdaCNvNzazjln Copy Binance.mqh to folder \MQL5\Include Copy  BinanceEA-Sample.mq5 to folder \MQL5\Experts 3. Allow WebRequest from MT5
作者的更多信息
RenkoFromRealTicks
Stanislav Korotky
4.5 (2)
This non-trading expert utilizes so called custom symbols feature ( available in MQL API as well) to build renko charts based on history of real ticks of selected standard symbol. RenkoFromRealTicks generates custom symbol quotes, thus you may open many charts to apply different EAs and indicators to the renko. It also transmits real ticks to update renko charts in real time. The generated renko chart uses M1 timeframe. It makes no sense to switch the renko chart to a timeframe other than M1. T
AutomaticZigZag
Stanislav Korotky
4.5 (2)
This is a non-parametric ZigZag providing 4 different methods of calculation. Upward edge continues on new bars while their `highs` are above highest `low` among previous bars, downward edge continues on next bars while their `lows` are below lowest `high` among previous; Gann swing: upward edge continues while `highs` and `lows` are higher than on the left adjacent bar, downward edge continues while `highs` and `lows` are lower than on the left adjacent bar. Inside bars (with lower `high` and
FREE
SuperIndices MT5
Stanislav Korotky
5 (1)
This cluster indicator is MT5 version of SuperIndices for MT4. It allows for processing mixed clusters, where symbols from various markets can be included. For example, it can handle Forex, indices, CFDs, spot at the same time. Number of visible lines increased to 16. An interactive ruler can be enabled to measure signals' strength on the history. The indicator creates a set of embedded cluster indicators (CCFpExtraIndices) with carefully selected periods and combines their results using smart w
CustomVolumeDelta
Stanislav Korotky
5 (1)
This indicator displays volume delta (of either tick volume or real volume) encoded in a custom symbol, generated by special expert advisers, such as RenkoFromRealTicks . MetaTrader does not allow negative values in the volumes, this is why we need to encode deltas in a special way, and then use CustomVolumeDelta indicator to decode and display the deltas. This indicator is applicable only for custom instruments generated in appropriate way (with signed volumes encoded). It makes no sense to ap
FREE
This non-trading expert utilizes so called custom symbols feature ( available in MQL API as well) to build custom charts based on history of real ticks of selected standard symbol. New charts imitate one of well-known graphic structures: Point-And-Figure (PnF) or Kagi. The result is not exactly PnF's X/O columns or rectangular waves of Kagi. Instead it consists of bars, calculated from and denoting stable unidirectional price moves (as multiples of the box size), which is equivalent to XO colum
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 in real time. The expert OrderBook Recorder records market book changes and stores them in local files for further usage in indicators and expert adviser, including testing in the tester. The expert stores market book
FREE
This is a demo version of a non-trading expert , which utilizes so called the custom symbols feature ( available in MQL as well ) to build renko charts based on historical quotes of selected standard symbol and to refresh renko in real-time according to new ticks. Also it translates real ticks to the renko charts, which allows other EAs and indicators to trade and analyze renko. Place the EA on a chart of a working instrument. The lesser timeframe of the source chart is, the more precise resulti
FREE
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. This expert adviser OrderBook History Playback allows you to playback the market book events on the history using files, created by OrderBook Recorder . The exper
FREE
HZZM
Stanislav Korotky
4 (1)
This is an adaptive ZigZag based on modification of  HZZ indicator (original source code is available in this article ). Most important changes in this version: two additional indicator buffers added for zigzag evolution monitoring - they show cross signs at points where zigzag direction first changes; zigzag range (H) autodetection on day by day basis; time-dependent adjustment of zigzag range. Parameters: H - zigzag range in points; this parameter is similar to original HZZ, but it can take 0
FREE
OrderBook Utilities is a script, which performs several service operations on order book hob-files, created by OrderBook Recorder . The script processes a file for work symbol of the current chart. The file date is selected by means of the input parameter CustomDate (if it's filled in) or by the point where the script is dropped on the chart. Depending from the operation, useful information is written into the log, and optionally new file is created. The operation is selected by the input parame
FREE
WalkForwardDemo MT5
Stanislav Korotky
WalkForwardDemo is an expert adviser (EA) demonstrating how the built-in library WalkForwardOptimizer (WFO) for walk-forward optimization works. It allows you to easily optimize, view and analyze your EA performance and robustness in unknown trading conditions of future. You may find more details about walk-forward optimization in Wikipedia . Once you have performed optimization using WFO, the library generates special global variables (saved in an "archived" file with GVF-extension) and a CSV-f
FREE
Comparator
Stanislav Korotky
4.75 (4)
This indicator compares the price changes during the specified period for the current symbol and other reference symbol. It allows to analyze the similar movements of highly correlated symbols, such as XAUUSD and XAGUSD, and find their occasional convergences and divergences for trading opportunities. The indicator displays the following buffers: light-green thick line - price changes of the current symbol for TimeGap bars; light-blue thin line - price changes of the reference symbol ( LeadSymbo
FREE
This script allows performing a walk-forward analysis of trading experts based on the data collected by the WalkForwardLight MT5 library. The script builds a cluster walk forward report and rolling walk forward reports that refine it, in the form of a single HTML page. This script is optional, as the library automatically generates the report immediate after the optimization in the tester is complete. However, the script is convenient because it allows using the same collected data to rebuild th
FREE
Year2Year
Stanislav Korotky
This indicator shows price changes for the same days in past years. D1 timeframe is required. This is a predictor indicator that finds D1 bars for the same days in past 8 years and shows their relative price changes on the current chart. Parameters: LookForward - number of days (bars) to show "future" price changes; default is 5; Offset - number of days (bars) to shift back in history; default is 0; ShowAverage - mode switch; true - show mean value for all 8 years and deviation bounds; false - s
FREE
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 indicator OrderBook Cumulative Indicator accumulates market book data online and visualizes them on the chart. In addition, the indicator can show the market
RenkoCharts
Stanislav Korotky
This non-trading expert utilizes so called custom symbols feature ( available in MQL as well ) to build renko charts based on historical quotes of selected standard symbol and to refresh renko in real-time according to new ticks. Also, it translates real ticks to the renko charts, which allows other EAs and indicators to trade and analyze renko. Place RenkoCharts on a chart of a work instrument. The lesser timeframe of the source chart is, the more precise resulting renko chart is, but the lesse
PointsVsBars
Stanislav Korotky
This indicator provides a statistical analysis of price changes (in points) versus time delta (in bars). It calculates a matrix of full statistics about price changes during different time periods, and displays either distribution of returns in points for requested bar delta, or distribution of time deltas in bars for requested return. Please, note, that the indicator values are always a number of times corresponding price change vs bar delta occurred in history. Parameters: HistoryDepth - numbe
FREE
ReturnAutoScale
Stanislav Korotky
5 (2)
The indicator calculates running total of linear weighted returns. It transforms rates into integrated and difference-stationary time series with distinctive buy and sell zones. Buy zones are shown in blue, sell zones in red. Parameters: period - number of bars to use for linear weighted calculation; default value - 96; smoothing - period for EMA; default value - 5; mode - an integer value for choosing calculation mode: 0 - long term trading; 1 - medium term trading; 2 - short term trading; defa
FREE
SOMFX1Builder
Stanislav Korotky
5 (1)
If you like trading by candle patterns and want to reinforce this approach by modern technologies, this script is for you. In fact, it is a part of a toolbox, that includes a neural network engine implementing Self-Organizing Map (SOM) for candle patterns recognition, prediction, and provides you with an option to explore input and resulting data. The toolbox contains: SOMFX1Builder  - this script for training neural networks; it builds a file with generalized data about most characteristic pric
FREE
Mirror
Stanislav Korotky
This indicator predicts rate changes based on the chart display principle. It uses the idea that the price fluctuations consist of "action" and "reaction" phases, and the "reaction" is comparable and similar to the "action", so mirroring can be used to predict it. The indicator has three parameters: predict - the number of bars for prediction (24 by default); depth - the number of past bars that will be used as mirror points; for all depth mirroring points an MA is calculated and drawn on the ch
If you like trading crosses (such as AUDJPY, CADJPY, EURCHF, and similar), you should take into account what happens with major currencies (especially, USD and EUR) against the work pair: for example, while trading AUDJPY, important levels from AUDUSD and USDJPY may have an implicit effect. This indicator allows you to view hidden levels, calculated from the major rates. It finds nearest extremums in major quotes for specified history depth, which most likely form resistence or support levels, a
EvoLevels
Stanislav Korotky
The indicator displays most prominent price levels and their changes in history. It dynamically detects regions where price movements form attractors and shows up to 8 of them. The attractors can serve as resistance or support levels and outer bounds for rates. Parameters: WindowSize - number of bars in the sliding window which is used for detection of attractors; default is 100; MaxBar - number of bars to process (for performance optimization); default is 1000; when the indicator is called from
ExtraMovingPivots
Stanislav Korotky
This is an intraday indicator that uses conventional formulae for daily and weekly levels of pivot, resistance and support, but updates them dynamically bar by bar. It answers the question how pivot levels would behave if every bar were considered as the last bar of a day. At every point in time, it takes N latest bars into consideration, where N is either the number of bars in a day (round the clock, i.e. in 24h) or the number of bars in a week - for daily and weekly levels correspondingly. So,
Most of traders use resistance and support levels for trading, and many people draw these levels as lines that go through extremums on a chart. When someone does this manually, he normally does this his own way, and every trader finds different lines as important. How can one be sure that his vision is correct? This indicator helps to solve this problem. It builds a complete set of virtual lines of resistance and support around current price and calculates density function for spatial distributi
The indicator draws a histogram of important levels for several major currencies attached to the current cross rates. It is intended for using on charts of crosses. It displays a histogram calculated from levels of nearest extremums of related major currencies. For example, hidden levels for AUDJPY can be detected by analyzing extremums of AUD and JPY rates against USD, EUR, GBP, and CHF. All instruments built from these currencies must be available on the client. This is an extended version of
StatBars
Stanislav Korotky
The indicator provides a statistic histogram of estimated price movements for intraday bars. It builds a histogram of average price movements for every intraday bar in history, separately for each day of week. Bars with movements above standard deviation or with higher percentage of buys than sells, or vice versa, can be used as direct trading signals. The indicator looks up current symbol history and sums up returns on every single intraday bar on a specific day of week. For example, if current
PriceProbability
Stanislav Korotky
This is an easy to use signal indicator which shows and alerts probability measures for buys and sells in near future. It is based on statistical data gathered on existing history and takes into account all observed price changes versus corresponding bar intervals in the past. The statistical calculations use the same matrix as another related indicator - PointsVsBars. Once the indicator is placed on a chart, it shows 2 labels with current estimation of signal probability and alerts when signal
CCFpExtra
Stanislav Korotky
CCFpExtra is an extended version of the classic cluster indicator - CCFp. This is the MT4 version of indicator  CCFpExt available for MT5. Despite the fact that MT5 version was published first, it is MT4 version which was initially developed and tested, long before MT4 market was launched. Main Features Arbitrary groups of tickers or currencies are supported: can be Forex, CFDs, futures, spot, indices; Time alignment of bars for different symbols with proper handling of possibly missing bars, in
PriceProbabilities
Stanislav Korotky
This is a signal indicator for automatic trading which shows probability measures for buys and sells for each bar. It is based on statistical data gathered on existing history and takes into account all observed price changes versus corresponding bar intervals in the past. The core of the indicator is the same as in PriceProbablility indicator intended for manual trading. Unlike PriceProbability this indicator should be called from MQL4 Expert Advisors or used for history visual analysis. The in
FreqoMeterForecast
Stanislav Korotky
The main idea of this indicator is rates analysis and prediction by Fourier transform. Indicator decomposes exchange rates into main harmonics and calculates their product in future. You may use the indicator as a standalone product, but for better prediction accuracy there is another related indicator - FreqoMaster - which uses FreqoMeterForecast as a backend engine and combines several instances of FreqoMeterForecast for different frequency bands. Parameters: iPeriod - number of bars in the ma
筛选:
newin
107
newin 2024.12.21 19:55 
 

disadvantages: -if you are not very good at coding in mql5 language, don't bother.. -the seller does not know well how to do optimization so that for any step of optimization you won't be sure if the best WFO step is a fake/extreme-one time bulge or not. advantages - a relatively cheap shot for you to understand the core.

Stanislav Korotky
47724
来自开发人员的回复 Stanislav Korotky 2024.12.22 12:18
Yes, this is a library which by definition implies some coding knowledge, so it can't be a reason for downvoting the product. If you have some difficulties with coding, you can buy a 3-d party ready-made EA where the library is already embedded. And how do you know what I know and what I don't? I know the process and answer all technical question, as for your specific EA/strategy/habits - this is completely your competence and resposibility. Do you blame MQ for not giving you a single set of guaranteed parameters after optimization, but showing a complete report? I consider your asessment and explanation baseless.
Killerplautze
519
Killerplautze 2024.08.27 20:00 
 

Truly a powerful tool. A little complicated at first, but the support is very good. This is how it will work in the end.

ma814232
19
ma814232 2023.10.24 09:53 
 

商品のクオリティは高くデータもわかりやすく表示されます。ただし、どのように実装するかという点に関しまして、画像等が少なく、説明が分かりずらいため、時間がかかりました。その点を除けば満足です。 The quality of the product is high and the data is displayed clearly. However, it took a long time to understand how to implement the application because there were few images, etc., and the explanations were not easy to understand. Except for this point, I am satisfied.

Stanislav Korotky
47724
来自开发人员的回复 Stanislav Korotky 2023.10.24 13:16
I did my best to clarify every aspect in my blog and through the comments, but if you have had questions you should contact me directly - I'm ready to provide support.
BlackOpzFX
152
BlackOpzFX 2023.04.01 04:57 
 

WOW!! Incredible Tool!! - Such a Time Saver. Pretty Easy To Integrate Also. I have tools that can schedule multiple walk-forwards but the analysis report is worth its weight in gold for determining how often to optimize your EA. Other tools that have walk-forward integrate the 'rolling' option and stats. Why Metatrader didn't is a mystery (will probably update one day). Until its properly added to MT5 this library powerfully fills the gap!

Marcelo Pereira
25
Marcelo Pereira 2021.02.13 20:33 
 

It should have a better manual. I had some difficulties installing because the automatic deployment doesn't work. And, to put it to use, you need time. The results must show, or indicate, either the best parameters or the main set of parameters (the optimized parameters). For a while, I let side and continue with my method.

Wells Velasquez Maciel
564
Wells Velasquez Maciel 2020.11.21 10:36 
 

Honestly, the best thing I ever bought for MT5! Congrats!

Christopher G Jr Holben
225
Christopher G Jr Holben 2020.10.24 18:50 
 

Very valuable tool! Saves you a huge amount of time. It's exactly what MetaTrader is lacking and i couldn't be happier. slight learning curve as with anything else but worth every penny. Stanislav is also very helpful in providing necessary support!

Grigor Yordanov
221
Grigor Yordanov 2020.09.18 14:57 
 

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

Winsor Hoang
3760
Winsor Hoang 2017.05.23 21:54 
 

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

回复评论
版本 1.17 2025.04.09
Recompilation by release number 4755.
版本 1.16 2024.09.27
Recompilation using MT5 build 4570. Warning: ex5-file is incompatible with pre-4500+ builds.
版本 1.15 2024.01.04
- In the report, relative drawdown estimate normalized by annual profits/losses is now shown for previously decreasing financial results as 100+% instead of 0.
- In the report, probability estimate of the drawdown is calculated by Monte Carlo method.
版本 1.12 2023.10.26
A new bitwise flag for wfo_setAdvancedOptions function is added, which allows for resuming a paused slow/complete optimization or repeating a genetic optimization.
版本 1.11 2020.10.04
Validation of standard meta-parameters (introduced in version 1.10) is made optional for easier intergation into custom EAs using MQL for internal WFO setup.
版本 1.10 2020.09.23
- New experimental mode added: now you can specify forward step size not only in percents, but in days as well. To enable the mode enter negative values for wfo_customStepSizePercent. For example, optimization triplet [start, step, stop] can be [-10, -5, -50] to check forward steps of 10, 15, 20, 25, 30, 35, 40, 45, 50 days. Positive values work as before, presenting percents.
- Forward step size can now be equal to window size (in previous versions forward step should have been less than window).
- New function wfo_setAdvancedOptions(const ulong flags).
- Anchored mode restored (was accidentally disabled in 1.8).
- More diagnostic information provided in logs and reports.

Please find updated header file in Comments.
版本 1.9 2020.09.21
Improved diagnosis of potential problems in setup, additional details are shown now in logs and in html-report.
版本 1.8 2020.05.16
Minor bugfixes and improvements.

- The passes with numbers greater than 9007199254740992 will be skipped, as they lead to double overflow.

- Zero divide error for the rare situation with no valid passes is fixed.

- The ending date of forward period is excluded now - the same as in the tester.

- Expression evaluation engine for custom formulae is replaced with completely new one. In addition to previously supported operations, it handles now unary minus and logical negation, as well as ternary conditional statements w?t:f.

- The last parameter of FUNCPTR_WFO_CUSTOM prototype is changed to accept an array of doubles instead of a map: typedef double (*FUNCPTR_WFO_CUSTOM)(const datetime startDate, const datetime splitDate, const double &map[/*enum WFO_STATS_MAP size*/]);

- More changes in the html-report builder.
版本 1.7 2019.08.22
Fixed a bug with datetime increments overflow, which could lead to multiple empty forward passes with zero dates 1970.01.01.
版本 1.6 2017.12.19
Improvement: New function wfo_setCustomPerformanceMeter(FUNCPTR_WFO_CUSTOM funcptr) is added. It allows you to pass a reference to your special custom callback into the library. This callback function will be called by the library to get your custom trade efficiency mark (OnTester analogue). This can be handy if the existing approach with formula assigned via wfo_setEstimationMethod(WFO_ESTIMATION_METHOD estimation, string formula) is not sufficient for you. In the expert code one should implement a function of type FUNCPTR_WFO_CUSTOM (consult with the documentation for details).
版本 1.5 2017.06.12
Bugfix: an overflow in calculation of forward steps for large window sizes (larger than approximately two years).
版本 1.4 2017.06.01
Improvement: if optimization window size or forward step size is constant, cluster report is shown as a single table, which contains all performance indicators line by line.
版本 1.3 2017.05.31
Fixed an error in calculation of the variance.