OrderBook History Library

3

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 your indicators and expert advisers (source codes are required), and then they can be tested with the market book data in the tester.

In particular, the library is used in the indicator OrderBook Cumulative Indicator and demo expert adviser OrderBook History Playback.

Here is an example of the header file for including the library into your MQL program:

input string OrderBook_FileFolder = "Books";
input bool OrderBook_UseCommonFiles = false;
input int OrderBook_TimeZoneCorrection = 0;

typedef void (*pOnBookEvent)(const string &symbol);

#import "OrderBook History Library.ex5"
void OrderBook_Init(pOnBookEvent ptr, const string folder, const bool common, const int offset);
bool OrderBook_MarketBookAdd(string symbol);
bool OrderBook_MarketBookRelease(string symbol);
bool OrderBook_MarketBookGet(string symbol, MqlBookInfo &bookArray[]);
long OrderBook_MarketBookPeek(string symbol, MqlBookInfo &bookArray[]);
void OrderBook_OnTick();
void OrderBook_OnTimer();
bool OrderBook_CheckForEvents(datetime current);
#import

#ifdef ORDERBOOK_SUBSTITUTE
#define MarketBookAdd OrderBook_MarketBookAdd
#define MarketBookRelease OrderBook_MarketBookRelease
#define MarketBookGet OrderBook_MarketBookGet
#endif

The input parameters are defined for convenience - they should be passed into the function OrderBook_Init.

  • OrderBook_FileFolder - a name of the root folder, where subfolders and files of the market books are stored; by default - "Books"; every subfolder is named according to specific work symbol; for example, the ticker GAZP will form the files MQL5/Files/Books/GAZP/*.hob;
  • OrderBook_UseCommonFiles - an option for reading files from the data folder of the current terminal (false, by default) or from the common data folder for all terminals (true);
  • OrderBook_TimeZoneCorrection - a correction of date and time, which is required in case, that archives are read in a terminal with a timezone, which differs from a timezone of the terminal where the archives were created; specified in seconds; for example, if the market book was saved with the server time in GMT+3, and then it's applied on quotes from a server, where time is in GMT+2, the correction should be 1 hour (-3600 seconds), because times in GMT+2 go 1 hour late in comparison to (i.e. they are 1 hour smaller than) GMT+3; 15:00 in GMT+3 is 14:00 in GMT+2;

Functions

  • OrderBook_Init - initialization of the library, should be called from OnInit; the first parameter should be the event handler OnBookEvent;
  • OrderBook_MarketBookAdd, OrderBook_MarketBookRelease, OrderBook_MarketBookGet - analogous functions to corresponding standard MQL functions; while working online, the standard functions are called internally - this way, emdedding the library will not alter the source code logic; while working in the tester, the library retrieves data from the files; the subscription for market book for current chart's symbol only is allowed;
  • OrderBook_MarketBookPeek - similar to OrderBook_MarketBookGet, but always reading data from files - both in the tester and online; MarketBookGet is never called;
  • OrderBook_OnTick - optional execution of the library for latest tick from OnTick; only for the tester, online does nothing;
  • OrderBook_OnTimer - optional execution of the library for latest known time from OnTimer; only for the tester, online does nothing;
  • OrderBook_CheckForEvents - optional execution of the library from the tester and online, ad hoc - for specified date and time;

Adding the line #define ORDERBOOK_SUBSTITUTE into the source code before including the header file will implicitly replace all calls of the standard market book function with corresponding library's functions.


Due to a well-known bug of MQL5 Market, all libraries are downloaded into MQL5/Scripts/Market folder, not into MQL5/Libraries, where they should be. Please copy the library's ex5-file manually into MQL5/Libraries folder in order for imports to work properly.


评分 2
AlexInRush
60
AlexInRush 2020.11.27 11:30 
 

Я уже было хотел делать что-то подобное сам, но подсказали что есть библиотека в магазине для тестирования/отладки стаканных экспертов. Все установил, все работает. Спасибо, разработчику, ты сэкономил мне, возможно, месяцы работы.

推荐产品
Episode Health Monitor Episode Health Monitor is a trading utility for MetaTrader 5 designed to analyze the real-time condition of active trading positions directly on the chart. The tool evaluates the current “trading episode” - a group of open positions - and provides a structured view of risk, stability, and distance to potential failure. Instead of relying only on profit/loss or price movement, it helps identify whether the current position is stable, weakening, or approaching a critical st
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 );    //复杂开单
Exp5 Duplicator
Vladislav Andruschenko
4.78 (9)
Duplicator for MetaTrader 5 —— 单终端内的专业持仓复制系统 这是一款面向专业交易者的可靠 Expert Advisor,用于在 MetaTrader 5 中自动复制已经打开的持仓、放大总仓位、应用自定义手数规则,并按照明确的逻辑管理复制出来的持仓。 它非常适合手动交易者、自动化系统使用者,以及希望在同一个终端内更灵活地管理已有持仓的用户。 Duplicator for MT5 并不会依靠自己的交易策略主动开仓。它的职责是监控 MetaTrader 5 账户中已经存在的持仓,并根据你的设置创建对应副本,包括复制次数、手数、Stop Loss、Take Profit、注释以及额外的管理条件。 如果你需要的是 同一个 MetaTrader 5 终端内部 的持仓复制工具,而不是不同平台或不同终端之间的复制系统,那么 MT5 版 Duplicator 正是为这种需求而设计。 MT4 版本 详细描述 + DEMO + PDF 如何购买 如何安装 如何获取日志文件 如何测试和优化 Expforex 的所有产品 链接 如果你需要 MetaTrader 终端之间 的交易复
用於自動訂單和風險管理的實用程序。讓您從利潤中獲得最大收益並限制您的損失。由執業交易員為交易員創建。該實用程序易於使用,適用於交易者手動打開的任何市場訂單或在顧問的幫助下。可以按幻數過濾交易。該實用程序可以同時處理任意數量的訂單。 具有以下功能: 1. 設置止損和止盈水平; 2. 通過追踪止損位平倉; 3. 設定盈虧平衡水平。 該實用程序可以: 1. 分別處理每個訂單(為每個訂單單獨設置級別) 2. 處理一籃子單向訂單(所有訂單的水平設置相同,買入和賣出分開) 3. 處理一籃子多向訂單(所有訂單的級別都設置為通用的,BUY 和 SELL 一起) 選項: STOPLOSS - 如果不使用 =-1,則以點為單位止損; TAKEPROFIT - 以點為單位獲利,不與 -1 一起使用; TRAILING_STOP - 價格變動的點數,如果不使用 =-1; TRAILING_STEP - 每一步利潤將增加的點數; BREAKEVEN_STOP - 將訂單轉移到盈虧平衡點的點數,如果不使用 =-1; BREAKEVEN_STEP - 關閉訂單時的利潤點數;
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
Noize Absorption Index
Ekaterina Saltykova
Noize Absorption Index - is the manual trading system that measures the difference of pressure between bears forces and bulls forces. Green line - is a noize free index that showing curent situation. Zero value of index shows totally choppy/flat market.Values above zero level shows how powerfull bullish wave is and values below zero measures bearish forces.Up arrow appears on bearish market when it's ready to reverse, dn arrow appears on weak bullish market, as a result of reverse expectation.
ShreeFx Trade Manager
Dhiraj Shivprabhu Pattewar
️ 1. Interactive User Interface (UI) Dual-Tab System: Cleanly separates execution tools (TRADE) from configuration (️ SETTINGS) to keep the chart clutter-free. Dark/Light Mode: Instantly switch between themes using the ️/ emoji button to match your chart background. Live P&L Dashboard: Real-time display of Account Balance, Equity, Floating Profit/Loss (in USD and %), Total Positions (Buys/Sells), Total Lot Exposure, and current Spread. On-Chart Direct Editing: Change any setting (Lot Size,
Trading Utility for Forex Currency Pairs Only not for Gold  Functions Auto Lot Calculation based on Risk Auto stoploss  Auto TakeProfit Breakeven Auto Close Half % Close in percentage with respect to the PIPs Pending Orders BuyLimit Sell Limit with distances BuyStop Sell Stop    with distances Trading Informations Risk in percentage For Multiple trades Combine Takeprofit and Combine Stoplosses
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
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
Supporto Per assistenza o personalizzazioni contattare l'autore tramite   Email: otay.ezzeddine@gmail.com                    Telegramma :   https://t.me/goldkiller2022 Profilo MQL5: ezzeddine ️ Avvertenza:  Il trading Forex e CFD comporta un alto rischio di perdita. Non investire mai fondi che non ci si può permettere di perdere. Le performance passate non garantiscono risultati futuri. Copyright 2025 Otay Ezzeddine - OtayQuantumTraderEA
This indicator presents an alternative approach to identify Market Structure. The logic used is derived from learning material created by   DaveTeaches (on X) Upgrade v1.10: + add option to put protected high/low value to buffer (figure 11, 12) + add  Retracements  value to buffer when Show Retracements When quantifying Market Structure, it is common to use fractal highs and lows to identify "significant" swing pivots. When price closes through these pivots, we may identify a Market Structure S
Usdjpy Trend Follower
Marcos Ramon Aparicio Pelaez
Trade USDJPY automatically with a robust, backtested MetaTrader 5 robot. Momentum Master H1 uses a high-probability long-only strategy based on dynamic Bulls Power and ATR-based entries. Key features include: Time-tested: Backtested from 2019–2025 on H1 charts. Precision entries: Long trades triggered on short-term pullbacks and confirmed trend signals. Smart risk management: ATR-based Stop Loss and Profit Targets for adaptive sizing. Flexible trading hours: Works all week, configurable session
RSI Currency Strength Meter is a powerful and elegant multi-currency indicator that measures the real-time relative strength of the 8 major currencies using RSI logic. By calculating the smoothed performance of each currency across its major pairs and applying the RSI formula, it delivers clean and responsive strength lines that make it easy to spot which currencies are truly strong or weak at any moment. This indicator is particularly useful for visualizing currency correlations and divergence
Inverted_Chart_EA Utility Expert Advisor Inverted_Chart_EA creates and maintains a mirror-inverted chart of any symbol and timeframe. It automatically generates a custom instrument (e.g. US30_INV ) and keeps its price history updated in real time, with bars mirrored around a chosen pivot. This utility gives traders a new way to analyze the market from a different perspective by flipping the chart upside down. Why use an inverted chart? Highlight hidden patterns – price formations that look ordin
"Impulses and Corrections 5" is created to help traders navigate the market situation. The indicator shows multi-time frame upward and downward "Impulses" of price movements. These impulses are the basis for determining the "Base" , which is composed of zones of corrections of price movements, as well as "Potential" zones for possible scenarios of price movement. Up and down impulses are determined based on a modified formula of Bill Williams' "Fractals" indicator. The last impulse is always "U
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
Goldenify
Saiful Izham Bin Hassan
Goldenify 是一款专业的量化交易工作站,专为黄金及其他主要品种的高精度交易而设计。它采用集成决策流形,结合了经典技术分析、形态识别与高级风控协议。 该系统聚焦于资本保全与执行质量,内置机构级的动态头寸规模调整和隐形订单管理模块。 主要功能 Goldenify 采用多层次的市场分析方法: - 集成策略:EA 结合技术指标(MACD、RSI、EMA)、价格行为形态和波动率分析来评估市场状况。 - 机构级风控:包括分数凯利仓位计算、基于交易表现的动态风险缩放,以及锁定日内利润的权益卡扣功能。 - 隐形执行:具有隐形止损和止盈级别,以及虚拟挂单功能,最大程度减少在 broker 服务器上的交易痕迹。 - 时段控制:内置伦敦、纽约和亚洲时段的过滤器,专注于高流动性时段。 - 多周期共振:分析更高时间周期的趋势,确保入场方向与市场主趋势一致。 - 新闻过滤器:可选功能,在高影响新闻事件期间暂停交易。 输入参数 参数按逻辑模块组织,便于配置: 交易设置 - Symbol Name(品种名称):指定交易品种(留空则使用当前图表品种)。 - Base Timeframe(基础时间
Nano Machine
William Brandon Autry
5 (15)
Nano Machine GPT Version 2 (Generation 2) – 持久回调智能 我们在2024年末用Mean Machine开启了这一变革。它是最早将真正的前沿AI引入实盘零售外汇交易的系统之一。 Nano Machine GPT Version 2是这条路线上的下一次进化。 大多数AI工具回答一次就忘记一切。 Nano Machine GPT Version 2不会。 它记住每一个分析过的回调形态、每一次入场、每一次拒绝、每个决策背后的推理、市场的后续反应,以及每个Machine Symmetry篮子的实际表现。每个会话的完整上下文。随时间不断累积的专注智能。 这不是另一个为了营销而添加AI的EA。 这是一个为回调交易而生的持久专业智能。 传统EA仍然困在固定规则中。Nano Machine GPT Version 2从真实结果中学习,磨练其回调逻辑,优化市场状态检测,并持续改进在实盘条件下管理对称性的方式。 它不会重置。它不会过时。它不会被淘汰。 Nano Machine GPT Version 2是一个完整的独立系统,围绕一个强大的优势构建:AI辅助回调交
Best Tested Pairs :-  Step Index (Also can use on other pairs which spread is lowest) How does the Magic Storm work The Magic Storm will commence only if the Initial Trade becomes a losing trade. In case the initial trade is a profitable one, or has been closed by the trader there is no need for the Magic Stormto be initiated. Let’s assume that the initial trade was a 1 lot buy trade with Recovery Zone Range Pips is 50 and Recovery Zone Exit Pips is 150 pips. The take profit for this tr
OtayQuantumAllAssetPro - GRATIS PER 24 ore     + Supporto EA professionale per M15 (Oro, Argento, WTI, Crypto, Forex) Fibonacci automatico Multi-timeframe trend analysis Gestione risk completa Trailing e breakeven inclusi OFFERTA LIMITATA: 24 ore GRATIS ------------------------------------------------------------------------------- PROMOZIONE DI LANCIO - SOLO 5 POSTI RIMASTI A QUESTO PREZZO! OTAY Quantum All Asset Pro v5.6 PRIMI 5 ACQUIRENTI: $999 PREZZO NORMAL
Mine Farm
Maryna Kauzova
Mine Farm is one of the most classic and time-tested scalping strategies based on the breakdown of strong price levels. Mine Farm is the author's modification of the system for determining entry and exit points into the market... Mine Farm - is the combination of great potential with reliability and safety. Why Mine Farm?! - each order has a short dynamic Stop Loss - the advisor does not use any risky methods (averaging, martingale, grid, locking, etc.) - the advisor tries to get the most
RRtoolBox
David Ruiz Moreno
RRtoolbox - Professional Tools: Risk:Reward Trading Tool (SL/TP Horizontals + Pending orders + Diagonals), Alerts set on trend lines (for alerts on diagonal levels), SelfManagement (BE, partials...), close/cancelling by time, Statistics, Info and trading on chart. One-Click Trading with Visual Risk:Reward Management RRtoolbox is a comprehensive trading panel that combines one-click order execution,  statistics and  powerful visual Risk:Reward tools, alerts set with trendlines, on chart butt
Break Of Structure Pro Is price action king? 1. Price is the ultimate king in the forex market, stock market or any other market. Using price action is the reason we can see more profit over loss. Technical analysis is the art of using data points to your advantage and taking informed decisions while entering, trailing and exiting a position on any timeframe. Break Of Structure Pro can be used to trend trade, scalp, hedge or swing trade. Price action is a trading technique that allows a trade
Smart TP SL Manager MT5 Smart TP SL Manager MT5 is a trade management utility for MetaTrader 5 designed to monitor and manage position protection directly from the chart through a compact panel. The tool focuses on a common problem in manual trading: loss of control over stop loss, take profit, and position risk when multiple trades are active. Instead of relying on manual checking or switching between terminal windows, the panel provides a structured view of protection status and risk conditio
TradePad
Ruslan Khasanov
5 (1)
TradePad 是一種既可用於手動交易又可用於演算法交易的工具。我們為您提供一個簡單的解決方案,用於快速交易操作和控制多種交易工具的持股。 注意,該應用程式不適用於策略測試器! 模擬帳戶應用程式的試用版和所有工具的描述 應用程式介面適應高解析度顯示器,簡單直覺。為了方便工作,我們為交易者提供了以下工具: 熱鍵管理器,用於管理交易操作、在主圖表的週期之間切換、在 TradePad 工具之間切換; 標記交易等級的工具,用於在開倉或設定掛單時評估虧損風險並計算潛在利潤; MultiCharts 工具用於直觀地監控多個交易符號,以及接收演算法交易的交易訊號。為了方便起見,您可以組織交易對的集合,這將使您有機會在多個時間範圍內監控價格並進行多幣種交易; 用於查看任何歷史時期的交易統計資料的資訊模組,能夠產生擴展的 HTML 報告、查看交易符號的特徵和有關交易帳戶的資訊; 掛單管理器用於管理掛單 - 設定單一或一組(網路)掛單,可按訂單類型和單一符號或交易帳戶上的所有類型進行分組刪除; 設定賣出停損限價和買入停損限價掛單的工具; 頭寸管理器用於管理一個或多個頭寸(取決於帳戶類型) - 全部
ALIEN Dashboard
Youssef Esseghaiar
ALIEN DASHBOARD FULL EDITION – Professional ICT & Precision Trading Dashboard for MT5 ( HYBRID ENGINE ) Overview The   Alien Dashboard Full Edition   is a comprehensive, all‑in‑one technical indicator for MetaTrader 5 that merges the most powerful concepts from Inner Circle Trader (ICT) methodology with advanced precision‑entry logic, multi‑timeframe analysis, and an intuitive on‑chart dashboard. Designed for serious traders who want to visualise institutional order flow, identify high‑probabili
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
Auto Orders Manager EA
Mohamed Abdulmohsen Mohamed Saeed Ali
Professional Trading Orders Manager for MT5 with Signal-Analyzer-Direction-Power-Orders control - Scalping tools - Risk management - all in one trade panel and dashboard  A sophisticated Expert Advisor that transforms your MT5 platform into a complete trading command center. This tool seamlessly blends automated trading logic with comprehensive manual controls through dual interactive dashboards. Key Features: Automated Trading : advanced scalping strategy on M3 timeframe as a signal sample can
该产品的买家也购买
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.78 (9)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
If you just want to simply copy your positions and orders from MetaTrader to Binance use the Binance Copier If you're a developer looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. Important: you need to have source c
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示: 单击此处 如果您想与交易面板进行交易, 您可能对
这是一个可以定时自动交易的EA。根据你设定的时间,精确到秒,可以设置最多下几单。下单buy或者Sell.可以设置值止盈止损点。并且可以设定在下单后多久平仓。一般都是用来做事件。祝你好运。 请看图片自己根据设定来使用。每一次使用请重新加载EA。不用的时候记得关闭EA按钮。 我来举个例子。比如英国央行利率决议。你在最后两秒下单(设置的是你本机的时间)。因为可能瞬间点差扩大,你可能不敢直接下最大手数,所以你可以选择小手分批从最后5秒开始进场。我相信做过的人知道我说的意思。因为我专业做这个已经十年。最近才做出了这个自动化EA。并且这里面有个检测就是你点击开始之后如果超过了你设定的时间十秒他就不会执行了。保证你的安全。你自己用DEMO账户测试几次你就知道我这个有多好用了!
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
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
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
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
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
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
近段时间买家运行良好,但同时也有朋友担心: 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
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
Ai Prediction MT5
Mochamad Alwy Fauzi
A free indicator for those who purchase the full version This indicator is created by this Ai, with your desired settings Artificial Intelligence at your service Have a complete artificial intelligence and use it in your codes This artificial intelligence is trained to tell you on each candle whether the market is moving up or down. In general, artificial intelligence can be used in all markets, all timeframes and all symbols However, due to the increasing complexity and decreasing accuracy of
快速关仓,无需任何操作。 当前版本的一键关仓主要针对的是来不及手动关仓的情况,目前是不分交易标的类别,是对所有的持仓进行关仓。 未来可能升级的方向: 1、分类别、分标的关仓。 适用场景:开了多个标的的仓位,并且波动不一,快速频繁的波动影响了整体的判断。 2、增加只关闭盈利仓位、只关闭亏损仓位。 适用场景:持仓较多,趋势发生变化。 个人建议:一般建议选择一键全部关仓,因为如果行情与持仓方向一致,只关闭盈利仓位无形就是扩大了亏损。如果行情方向与持仓方向相反,只关闭亏损仓位,当前已盈利的后面又会变为亏损,盈利无法变现。 3、按照仓位顺序由大到小关仓、按照仓位顺序由小到大关仓。 适用 场景:行情发生波动,对于未来行情判断把握不确定的,可根据自己需求选择仓位关仓顺序,由大到小关仓的话,可以避免亏损的进一步扩大。 4、减小仓位量,保持绝对的安全距离。 适用 场景:对未来趋势相对确定,不想错过当前行情,但是认为当前持仓体量又有点大,想降低仓位。
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
TupoT3
Li Guo Yin
突破交易策略:智能风控系统升级版‌ 当价格突破关键阻力位时,往往意味着趋势的质变时刻。我们的突破交易策略通过三重智能系统——‌动态阈值识别‌、‌量能验证机制‌和‌自适应止损算法‌,帮助交易者精准捕捉这些跃迁机会。 ‌核心优势‌: ‌智能预警‌:实时监测200+技术指标,自动标记潜在突破位 ‌风险对冲‌:突破失败时自动触发0.5秒内止损,保护本金安全 ‌多周期验证‌:结合日线/4小时/1小时数据过滤假信号 ‌实战案例‌: 2025年第二季度,该策略在现货黄金市场实现连续23次有效突破,平均持仓周期缩短至4.7小时,收益率达传统趋势策略的3.2倍。 ‌智能风控系统‌: ‌动态止盈‌:根据ATR指标自动调整止盈位,锁定利润的同时保留上行空间 ‌分级止损‌:首次突破失败后自动切换至1:1盈亏比保护模式,二次突破确认后恢复原策略 本EA依下图设置做黄金1小时图线,经长时期实盘验证年利润达到30多倍,修改参数可以用作比特币和纳斯达克指数都有很好的收益。
【黄金智能交易EA|风控稳守,盈利突围】 专为黄金波动特性定制的智能交易EA,以硬核交易系统为核心,每笔下单均源自量化模型对行情趋势、支撑压力的精准研判,杜绝主观干扰,让交易决策更客观高效。 搭载多维风控体系,动态止损止盈+仓位智能调控双保险,严格锁定单笔风险阈值,即便面对黄金跳空、黑天鹅行情,也能有效规避大幅回撤,守护本金安全。 更具备浮盈加仓智能算法,趋势明朗时自动放大盈利头寸,让利润在顺势中滚动增长,既不浪费单边行情红利,又通过阶梯式加仓策略平衡风险与收益,实现“风控打底,盈利上不封顶”的交易闭环! 本款EA历经38次修改与测试,每一次升级都境加了EA的稳定盈利能力,才最终确定此为终极版本发布。 本款EA目前只针对现货黄金 交易的长期回测和实盘验证,按照下图设置实现长期的稳定 盈利。如果需要交易期它品种,请根据实际情况更改设置。 本EA为阶梯定价,每卖出10份价格增加10%
SniperkickEA
Mohamed Maguini
Questo Expert Advisor (EA) è stato progettato per offrire un'esperienza di trading automatizzata di alto livello, adatta sia ai trader principianti che a quelli esperti. Utilizzando algoritmi avanzati e tecniche di analisi del mercato, l'EA è in grado di identificare opportunità di trading redditizie con precisione e velocità. L'EA è configurabile per operare su vari strumenti finanziari, tra cui forex, indici e materie prime, garantendo una flessibilità senza pari. Le caratteristiche princip
作者的更多信息
WalkForwardOptimizer MT5
Stanislav Korotky
3.78 (9)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
RenkoFromRealTicks
Stanislav Korotky
4.67 (3)
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
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
TrueVolumeSurrogate MT5
Stanislav Korotky
5 (1)
This indicator provides a true volume surrogate based on tick volumes. It uses a specific formula for calculation of a near to real estimation of trade volumes distribution , which may be very handy for instruments where only tick volumes are available. Please note that absolute values of the indicator do not correspond to any real volumes data, but the distribution itself, including overall shape and behavior, is similar to real volumes' shape and behavior of related instruments (for example, c
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
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
SyntheticIndices
Stanislav Korotky
The indicator compares quotes of a given symbol and a synthetic quote calculated from two specified referential symbols. The indicator is useful for checking Forex symbol behavior via corresponding stock indices and detecting their convergence/divergence which can forecast future price movements. The main idea is that all stock indices are quoted in particular currencies and therefore demonstrate correlation with Forex pairs where these currencies are used. When market makers decide to "buy" one
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
ADXS
Stanislav Korotky
5 (3)
Ever wondered why standard ADX is made unsigned and what if it would be kept signed? This indicator gives the answer, which allows you to trade more efficient. This indicator calculates ADX values using standard formulae, but excludes operation of taking the module of ADX values, which is forcedly added into ADX for some reason. In other words, the indicator preserves natural signs of ADX values, which makes it more consistent, easy to use, and gives signals earlier than standard ADX. Strictly s
VolumeDeltaM1 MT5
Stanislav Korotky
This indicator provides the analysis of tick volume deltas. It monitors up and down ticks and sums them up as separate volumes for buys and sells, as well as their delta volumes. In addition, it displays volumes by price clusters (cells) within a specified period of bars. This indicator is similar to VolumeDeltaMT5 , which uses almost the same algorithms but does not process ticks and therefore cannot work on M1. This is the reason for VolumeDeltaM1 to exist. On the other hand, VolumeDeltaMT5 ca
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
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
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
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
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
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
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
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
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
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
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
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
筛选:
Flying Dutchman
246
Flying Dutchman 2021.09.18 22:35 
 

Full of bugs. Doesn't work

Stanislav Korotky
52263
来自开发人员的回复 Stanislav Korotky 2024.09.29 00:06
I'm very sorry, but it works ok for many people. You're doing something wrong, but did not provide technical details... As it turned out, you used beta version of MT5 compiler incompatible with current (to that moment) release. All products must be compiled for release versions only. After a new MT5 release was published, recompiled version of the lib was published and worked for you as expected. But you did not change your rating.
AlexInRush
60
AlexInRush 2020.11.27 11:30 
 

Я уже было хотел делать что-то подобное сам, но подсказали что есть библиотека в магазине для тестирования/отладки стаканных экспертов. Все установил, все работает. Спасибо, разработчику, ты сэкономил мне, возможно, месяцы работы.

回复评论