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.


İncelemeler 2
AlexInRush
60
AlexInRush 2020.11.27 11:30 
 

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

Önerilen ürünler
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 );    //复杂开单
Otomatik sipariş ve risk yönetimi için yardımcı program. Kârlardan maksimumu almanızı ve kayıplarınızı sınırlandırmanızı sağlar. Tüccarlar için pratik bir tüccar tarafından düzenlendi. Yardımcı programın kullanımı kolaydır, bir tüccar tarafından manuel olarak veya danışmanların yardımıyla açılan herhangi bir piyasa emriyle çalışır. İşlemleri sihirli sayıya göre filtreleyebilir. Yardımcı program aynı anda herhangi bir sayıda siparişle çalışabilir. Aşağıdaki işlevlere sahiptir: 1. Zararı durd
Moving Average Surfer – MT5 için Hassas Trend Yakalama EA’sı Moving Average Surfer, yüksek doğruluk, verimlilik ve otomatik risk yönetimi isteyen traderlar için geliştirilmiştir. Öne çıkan özellikler: Çift hareketli ortalama analizi Entegre RSI filtresi Dinamik risk yönetimi Esnek işlem yönü kontrolü ATR tabanlı SL/TP Her zaman diliminde çalışma Benzersiz Magic Number Trend tespiti, momentum doğrulaması ve akıllı risk yönetimini birleştiren tam otomatik, disiplinli bir çözüm sunar.
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 - 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.
Volume Profile V6
Andrey Kolesnik
4.67 (3)
Piyasa Hacim Profili Göstergesi + Akıllı Osilatör. Döviz çiftleri, hisse senetleri, vadeli işlemler, kripto paralar gibi hemen hemen tüm enstrümanlarda hem gerçek hacimler hem de tick hacimleri üzerinde çalışır. Profil oluşturma aralığını otomatik olarak (örneğin bir haftalık veya bir aylık vb.) belirleyebileceğiniz gibi, sınırları (kırmızı ve mavi iki dikey çizgi) hareket ettirerek aralığı manuel olarak da ayarlayabilirsiniz. Histogram şeklinde görüntülenir. Belirli bir seviyedeki histogram gen
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
Owl Smart Levels MT5
Sergey Ermolov
4.03 (32)
MT4 versiyonu  |  FAQ Owl Smart Levels Indicator , Bill Williams'ın gelişmiş fraktalları , piyasanın doğru dalga yapısını oluşturan Valable ZigZag ve kesin giriş seviyelerini gösteren Fibonacci seviyeleri gibi popüler piyasa analiz araçlarını içeren tek gösterge içinde eksiksiz bir ticaret sistemidir. pazara ve kar elde edilecek yerlere. Stratejinin ayrıntılı açıklaması Gösterge ile çalışma talimatı Baykuş Yardımcısı ticaretinde Danışman Yardımcısı Kullanıcıların özel sohbeti -> Satın aldıktan
Premium seviye, %80'den fazla doğru tahmin doğruluğuna sahip benzersiz bir göstergedir! Bu gösterge en iyi Ticaret Uzmanları tarafından iki aydan uzun süredir test edilmiştir! Yazarın göstergesini başka hiçbir yerde bulamazsınız! Ekran görüntülerinden bu aracın doğruluğunu kendiniz görebilirsiniz! 1, sona erme süresi 1 mum olan ikili opsiyon ticareti için harikadır. 2 tüm döviz çiftleri, hisse senetleri, emtialar, kripto para birimleri üzerinde çalışır Talimatlar: Kırmızı ok göründüğü an
1. What is this The MT5 system comes with very few optimization results. Sometimes we need to study more results. This library allows you to output more results during backtest optimization. It also supports printing more strategy results in a single backtest. 2. Product Features The results of the optimized output are quite numerous. CustomMax can be customized. The output is in the Common folder. It is automatically named according to the name of the EA, and the name of the same EA will be au
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
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
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
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
Gösterge, tarihsel olanlarla karşılaştırılabilecek güncel teklifler oluşturur ve bu temelde bir fiyat hareketi tahmini yapar. Gösterge, istenen tarihe hızlı navigasyon için bir metin alanına sahiptir. Seçenekler: Sembol - göstergenin göstereceği sembolün seçimi; SymbolPeriod - göstergenin veri alacağı dönemin seçimi; GöstergeRenk - gösterge rengi; Ters - doğru tırnakları tersine çevirir, yanlış - orijinal görünüm; Sonraki, tarihi girebileceğiniz ve 'enter' tuşuna basarak hemen atlayab
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
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
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
Step into the world of Forex trading with confidence, clarity, and precision using Gold Indicator a next-generation tool engineered to take your trading performance to the next level. Whether you’re a seasoned professional or just beginning your journey in the currency markets, Gold Indicator equips you with powerful insights and help you trade smarter, not harder. Built on the proven synergy of three advanced indicators, Gold Indicator focuses exclusively on medium and long-term trends elimina
Trade Assistant 38 in 1
Makarii Gubaydullin
4.91 (22)
Çok Fonksiyonlu Araç: Lot Hesaplayıcı, Grid Emirleri, R/R Oranı, İşlem Yöneticisi, Arz ve Talep Bölgeleri, Fiyat Hareketi ve çok daha fazlası Demo Sürüm   |   Kullanım Kılavuzu İşlem Asistanı   strateji test cihazında çalışmaz :   Demo Sürümü BURADAN indirerek   aracı test edebilirsiniz. Herhangi bir sorunuz / iyileştirme fikriniz / bulunan bir hata için benimle iletişime geçin MT4 sürümüne ihtiyacınız varsa burada mevcuttur İşlem   sürecinizi basitleştirin, hızlandırın ve otomatikleştirin. Sta
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
Exp COPYLOT CLIENT for MT5
Vladislav Andruschenko
3.82 (34)
MT5 için ticari kopyalayıcı, МetaТrader 5 platformu için bir ticari kopyalayıcıdır   . arasındaki   forex işlemlerini kopyalar.       COPYLOT MT5 sürümü için   herhangi bir hesap   MT5   -   MT5, MT4   -   MT5 (veya COPYLOT MT4 sürümü için   MT4 -   MT4 MT5   -  MT4) Güvenilir fotokopi makinesi! MT4 sürümü Tam tanım   +DEMO +PDF Nasıl alınır Nasıl kurulur     Günlük Dosyaları nasıl alınır?     Nasıl Test Edilir ve Optimize Edilir     Expforex'in tüm ürünleri Ayrıca МТ4 terminali   (МТ4   -  
Universal Soul Reaper
Pieter Gerhardus Van Zyl
Universal Soul Reaper is an atmospheric market-flow oscillator designed to interpret price behavior as a cycle of spiritual energy. Instead of reacting to raw price alone, it visualizes the state of the market’s soul —revealing when momentum is awakening, stabilizing, or fading. The indicator operates in a separate window and presents three interwoven entities: the Ectoplasmic Veil , the Spirit Boundary , and the Soul Core . Together, they form a living framework that helps traders sense pressu
TriParity AfterShock Catcher TriParity AfterShock Catcher is the execution-side tool of the TriParity workflow. It helps you turn a selected “aftershock regime” into a repeatable trading decision with defined Entry / TP / SL and baseline stats—without relying on predictions or “guaranteed mean reversion.” Important: This is NOT triangular arbitrage execution . TriParity AfterShock Catcher trades the aftershock (time-lag / overshoot → convergence) that can appear after interbank parity correcti
Signal Copy Multiplier automatically copies trades on the same account, for example, to get a better entry and adjusted volume on a subscribed signal. MT4-Version:  https://www.mql5.com/de/market/product/67412 MT5-Version:  https://www.mql5.com/de/market/product/67415 You have found a good signal, but the volume of the provider's trades is too small?  With Signal Copy Multiplier you have the possibility to copy trades from any source (Expert Advisor, Signal, manual trades) and change the volume
PROTECT YOUR FTMO Account in a simplest way Must-Have Account Protector for any Prop-trading Account and Challenge MT4 / MT5 Expert Advisor that protects your Forex Prop Trading account from an unexpected drawdown! FTMO Protector  is a Tool that lets you manage trades and control your profit and loss across multiple Robots and currency pairs using a simple parameters and settings. Use as many EAs and Instruments you need, the Protector will: 1.   Calculate your midnight (01:00 System time) Balan
| Fully-automated Smart Money Concept (ICT) inspired trading solution with multi-strategy capabilities | Built by a grid trader >> for grid traders.  This is MT5 version, click  here  for  Blue CARA MT4  (settings and logics are same in both versions)     Real monitoring signal  -->  Cara Gold Intro Blue CARA EA   ('CARA') - short for  C omprehensive  A lgorithmic   R esponsive   A dvisor is a next-gen  multi-currency    multi-timeframe  EA base on the widely known (and perhaps the most popul
PipFinite Exit EDGE MT5
Karlo Wilson Vendiola
4.87 (31)
Did You Have A Profitable Trade But Suddenly Reversed? In a solid strategy, exiting a trade is equally important as entering. Exit EDGE helps maximize your current trade profit and avoid turning winning trades to losers. Never Miss An Exit Signal Again Monitor all pairs and timeframes in just 1 chart www.mql5.com/en/blogs/post/726558 How To Trade You can close your open trades as soon as you receive a signal Close your Buy orders if you receive an Exit Buy Signal. Close your Sell orders if
The Quantum VPOC indicator has been developed to expand the two dimensional study of volume and price, to a three dimensional one which embraces time. The volume/price/time relationship then provides real insight to the inner workings of the market and the heartbeat of sentiment and risk which drives the price action accordingly. The Quantum VPOC indicator displays several key pieces of information on the chart as follows: Volume Profile - this appears as a histogram of volume on the vertical pr
MT5'ten Telegram'a tamamen özelleştirilebilir sinyaller gönderin ve bir Sinyal Sağlayıcı olun! Bu ürün, kullanımı kolay ve görsel olarak çekici bir grafik arayüzünde sunulmaktadır. Ayarlarınızı özelleştirin ve ürünü birkaç dakika içinde kullanmaya başlayın! Kullanıcı Kılavuzu + Demo  | MT4 Sürümü  | Discord Sürümü Demo denemek istiyorsanız, Kullanıcı Kılavuzuna bakın. MT5'ten Telegram'a gönderen, strateji testinde çalışmaz. MT5'ten Telegram'a Özellikler Büyük bir seçenek yelpazesi ile sinyali
Bu ürünün alıcıları ayrıca şunları da satın alıyor
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.
Bu kütüphane, herhangi bir EA'nızı kullanarak işlemleri yönetmenize izin verecektir ve açıklamalarda belirtilen komut dosyası koduyla ve ayrıca tüm süreci gösteren videodaki demo örnekleriyle kendi başınıza yapabileceğiniz herhangi bir EA'ya entegrasyonu çok kolaydır. - Limit Ver, SL Limit Ver ve Kar Al Limit Emirleri - Market, SL-Market, TP-Market siparişlerini verin - Limit emrini değiştirin - Siparişi iptal et - Siparişleri Sorgula - Kaldıraç, marjı değiştir - Pozisyon bilgisini al ve
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
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. Important: you need to have source code to properly implement the library. With Binance Library MetaTrader 5, you can easily add instruments from Bi
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions. Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lot (1,3,5,8,13) you can use it in different way calculate when loss=1 ,when profit=0. Mode 2: Multiplier Lot (1,2,4,8,16) you can use it in different way calculate when loss=1 ,when profit=0. Mode 3: Plus Lot (1,2,3,4,5) you can use it in different way calculate when loss=1 ,when profit=0. Mode 4: SL/Risk Lot calculate based on s
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
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
The following library is proposed as a means of being able to use the OpenAI API directly on the metatrader, in the simplest way possible. For more on the library's capabilities, read the following article: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual IMPORTANT: To use the EA you must add the following URL to allow you to access the OpenAI API as shown in the attached images In order to use the library, you must include the following Hea
Here   is   the   English translation   of   your   description   for   the EA   (Expert   Advisor): --- This   is a   time -based   automatic trading   EA . It allows   you   to   set the   exact   time   for trading , down   to   the   second , and   specify the   maximum number   of   orders . You   can choose   to   place   either   buy   or   sell   orders . It   is possible to   set take   profit and   stop   loss   points . Additionally , you can   specify   how   long after   placing  
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
***** Ana ticaret XAUUSD'dir. Teste yaparsa, XAUUSD'e ayarlanma tavsiye ediliyor. Diğer ticaret hedefleri faydallığını garanti edemez****** Teste ihtiyacınız olursa, lütfen bir mesaj bırakın (gördüğüm anda cevap vereceğim). Çalışma sonuçlarını korumak için belirli parametreler girmeli. Sistemin öntanımlı parametreleri ekran fotoğrafında gösterilen etkileri ulaşamaz! Teste ihtiyacınız olursa, lütfen bir mesaj bırakın (gördüğüm anda cevap vereceğim). Çalışma sonuçlarını korumak için belirli par
Bu ürün 3 yıldır geliştirilmektedir. MQL5 programlama dilinde her türlü Yapay Zeka ve makine öğrenimi kodlarıyla çalışmak için en gelişmiş kod tabanıdır. MetaTrader 5'te birçok yapay zeka destekli ticaret robotu ve gösterge oluşturmak için kullanılmıştır. Bu, MQL5 için makine öğrenimi üzerine ücretsiz ve açık kaynaklı bir projenin premium sürümüdür. Bağlantı burada:  https://github.com/MegaJoctan/MALE5 . Ücretsiz sürüm daha az özelliğe sahiptir, belgelenmemiştir ve düzenli olarak bakım görmez. S
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 Connector for MT5 – MT5 ile Sorunsuz Entegrasyon Genel Bakış Pionex API EA Connector for MT5 , MetaTrader 5 (MT5) ve Pionex API arasında sorunsuz entegrasyon sağlar. Bu güçlü araç, traderların doğrudan MT5 üzerinden işlemler yapmasına, bakiyelerini görüntülemesine ve emir geçmişini takip etmesine olanak tanır. Öne Çıkan Özellikler Hesap ve Bakiye Yönetimi Get_Balance(); – Pionex hesabındaki mevcut bakiyeyi alır. Emir Yönetimi ve Uygulama orderLimit(string symbol, string side,
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
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
突破交易策略:智能风控系统升级版‌ 当价格突破关键阻力位时,往往意味着趋势的质变时刻。我们的突破交易策略通过三重智能系统——‌动态阈值识别‌、‌量能验证机制‌和‌自适应止损算法‌,帮助交易者精准捕捉这些跃迁机会。 ‌核心优势‌: ‌智能预警‌:实时监测200+技术指标,自动标记潜在突破位 ‌风险对冲‌:突破失败时自动触发0.5秒内止损,保护本金安全 ‌多周期验证‌:结合日线/4小时/1小时数据过滤假信号 ‌实战案例‌: 2025年第二季度,该策略在现货黄金市场实现连续23次有效突破,平均持仓周期缩短至4.7小时,收益率达传统趋势策略的3.2倍。 ‌智能风控系统‌: ‌动态止盈‌:根据ATR指标自动调整止盈位,锁定利润的同时保留上行空间 ‌分级止损‌:首次突破失败后自动切换至1:1盈亏比保护模式,二次突破确认后恢复原策略 本EA依下图设置做黄金1小时图线,经长时期实盘验证年利润达到30多倍,修改参数可以用作比特币和纳斯达克指数都有很好的收益。
[Gold Intelligent Trading EA | Risk Control is Steady, Profit Breakthrough] The intelligent trading EA, which is customized for the fluctuation characteristics of gold, takes the hard-core trading system as the core, and each order is derived from the accurate judgment of market trends and supporting pressures by quantitative models, so as to eliminate subjective interference and make trading decisions more objective and efficient. Equipped with multi-dimensional risk control system, dynamic s
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
First contact Telegram - @BerlinOG for more files and installation The   Telegram Signal EA   is a powerful tool designed to bridge your Telegram communications with your MetaTrader 5 (MT5) charts. It enables you to display messages from your Telegram channels, groups, and private chats directly on your MT5 charts as comments. This integration simplifies the process of monitoring trading signals and important messages while you're actively trading. Features Real-time Message Display : View mes
Yazarın diğer ürünleri
WalkForwardOptimizer MT5
Stanislav Korotky
3.78 (9)
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 5. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a CSV file and some special global variables.
This 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
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
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
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
ADXSignal
Stanislav Korotky
Classical ADX revamped to provide faster and more solid trading signals. 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 speaking, any conversion to an absolute value destroys a part of information, and it mak
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
FreqoMaster
Stanislav Korotky
The main idea of this indicator is rates analysis and prediction by Fourier transform. The indicator decomposes exchange rates into main harmonics and calculates their product in future. The indicator shows 2 price marks in history, depicting price range in the past, and 2 price marks in future with price movement forecast. Buy or sell decision and take profit size are displayed in a text label in the indicator window. The indicator uses another indicator as an engine for calculations - FreqoMet
Filtrele:
Flying Dutchman
246
Flying Dutchman 2021.09.18 22:35 
 

Full of bugs. Doesn't work

Stanislav Korotky
50845
Geliştiriciden yanıt 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 
 

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

İncelemeye yanıt