• 미리보기
  • 리뷰 (2)
  • 코멘트 (21)
  • 새 소식

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 
 

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

추천 제품
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 );    //复杂开单
KopierMaschine - локальный копировщик сделок между различными счетами MetaTrader 4 и MetaTrader 5 в любом направлении расположенных на одном компьютере с интуитивно понятным интерфейсом. Направления копирования: MT4 --> MT5 MT4 --> MT4 MT5 --> MT5 MT5 --> MT4 для копирования между терминалами MetaTrader 4 и   MetaTrader   5 необходимо приобрести версию продукта   KopierMaschine  для    MetaTrader  4 Особенности Программа работает в двух режимах Master и Slave На один подчиненный счет можно коп
Matrix is the foundation of complex trading algorithms as it helps you perform complex calculations effortlessly and without the need for too much computation power, It's no doubt that matrix has made possible many of the calculations in modern computers as we all know that bits of information are stored in array forms in our computer memory RAM, Using some of the functions in this library I was able to create machine learning robots that could take on a large number of inputs To use this libra
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.
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.07 (28)
MT4 버전  |  FAQ Owl Smart Levels Indicator 는 Bill Williams 의 고급 프랙탈, 시장의 올바른 파동 구조를 구축하는 Valable ZigZag, 정확한 진입 수준을 표시하는 피보나치 수준과 같은 인기 있는 시장 분석 도구를 포함하는 하나의 지표 내에서 완전한 거래 시스템입니다. 시장과 이익을 취하는 장소로. 전략에 대한 자세한 설명 표시기 작업에 대한 지침 고문-거래 올빼미 도우미의 조수 개인 사용자 채팅 ->구입 후 나에게 쓰기,나는 개인 채팅에 당신을 추가하고 거기에 모든 보너스를 다운로드 할 수 있습니다 힘은 단순함에 있습니다! Owl Smart Levels 거래 시스템은 사용하기 매우 쉽기 때문에 전문가와 이제 막 시장을 연구하고 스스로 거래 전략을 선택하기 시작한 사람들 모두에게 적합합니다. 전략 및 지표에는 눈에 보이지 않는 비밀 공식 및 계산 방법이 없으며 모든 전략 지표는 공개되어 있습니다. Owl Smart Levels를
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   a
Premium level Pro
Dmitriy Kashevich
Premium level is a unique indicator with more than 80% accuracy of correct predictions! This indicator has been tested for more than two months by the best Trading Specialists! The author's indicator you will not find anywhere else! From the screenshots you can see for yourself the accuracy of this tool! 1 is great for trading binary options with an expiration time of 1 candle. 2 works on all currency pairs, stocks, commodities, cryptocurrencies Instructions: As soon as the red ar
자동 주문 및 위험 관리를 위한 유틸리티입니다. 이익을 최대한 활용하고 손실을 제한할 수 있습니다. 트레이더를 위한 실무 트레이더가 만들었습니다. 유틸리티는 사용하기 쉽고 거래자가 수동으로 또는 고문의 도움을 받아 열린 시장 주문과 함께 작동합니다. 매직 넘버로 거래를 필터링할 수 있습니다. 유틸리티는 동시에 원하는 수의 주문을 처리할 수 있습니다. 다음과 같은 기능이 있습니다. 1. 손절매 및 이익 수준 설정 2. 후행 정지 수준으로 거래를 마감합니다. 3. 손익분기점 설정. 유틸리티는 다음을 수행할 수 있습니다. 1. 각 주문에 대해 개별적으로 작업(각 주문에 대해 수준이 별도로 설정됨) 2. 단방향 주문 바스켓으로 작업(레벨은 모든 주문에 대해 공통으로 설정되며 별도로 구매 및 판매) 3. 다방향 주문 바구니로 작업(레벨은 모든 주문에 대해 공통으로 설정되며 BUY 및 SELL 함께) 옵션: STOPLOSS - =-1이
표시기는 현재 시세를 작성하여 과거 시세와 비교할 수 있으며 이를 바탕으로 가격 변동을 예측합니다. 표시기에는 원하는 날짜로 빠르게 이동할 수 있는 텍스트 필드가 있습니다. 옵션: 기호 - 표시기가 표시할 기호 선택. SymbolPeriod - 지표가 데이터를 가져올 기간 선택. IndicatorColor - 표시기 색상. HorisontalShift - 지시자가 그린 따옴표를 지정된 막대 수만큼 이동합니다. Inverse - true는 인용 부호를 반대로, false - 원래 보기를 반전합니다. ChartVerticalShiftStep - 차트를 수직으로 이동합니다(키보드의 위/아래 화살표). 다음은 날짜를 입력할 수 있는 텍스트 필드의 설정으로, '엔터'를 누르면 즉시 이동할 수 있습니다.
Orbit Rage Final 2
BILLY ARANDUQUE ABCEDE
Note : i only sell this EA on MQL5, any other sellers is fake. Orbit Rage Final, a cutting-edge trading strategy meticulously designed around the bull/bear candle approach and divergence analysis. This powerful tool is engineered to empower you to shape the life you desire. To embark on this transformative journey, simply download and seamlessly integrate it into your MetaTrader 4 platform by placing it in the experts advisors folder. Orbit Rage Final revolutionizes trading by offering a risk-f
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 fo
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
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 tra
Cloner for MT5
Volodymyr Hrybachov
이 유틸리티는 귀하의 거래 계정에서 거래를 복제하도록 설계되었습니다. 프로그램은 귀하의 매개 변수로 추가 거래를 엽니다. 로트를 늘리거나 줄이고, 많이 추가하고, 손절매를 변경하고, 이익을 얻을 수 있는 기능이 있습니다.이 프로그램은 "Windows PC" 및 "Windows VPS"에서 작동하도록 설계되었습니다.  Buy a cloner and get the second version for free 옵션: CLONE_POSITIONS - 복제 명령; MAGIC_NUMBER - 매직 넘버; DONT_REPEAT_TRADE - true인 경우 수동 마감 후 거래가 반복되지 않습니다. REVERSE_COPY - 역방향 복사, 예를 들어 BUY 대신 SELL을 엽니다. LOT_MULTIPLIER - PROVIDER 계정에서 복사하는 볼륨 계수(=0인 경우 FIXED_LOT에 지정된 로트로 복사); PLUS_LOT, MINUS_LOT - 플러스 및 마이너스 로트; MAXIMUM_
Exp COPYLOT CLIENT for MT5
Vladislav Andruschenko
4.08 (24)
MT5용 트레이드 복사기는 metaТrader 5 플랫폼용 트레이드 복사기입니다   . 그것은 사이의   외환 거래를 복사합니다       모든 계정   COPYLOT MT5 버전의 경우   MT5   -   MT5, MT4   -   MT5 (또는 COPYLOT MT4 버전의 경우   MT4 -   MT4 MT5   -  MT4) 믿을 수 있는 복사기! MT4 버전 전체 설명   +DEMO +PDF 구입 방법 설치하는 방법     로그 파일을 얻는 방법     테스트 및 최적화 방법     Expforex의 모든 제품 МТ4 터미널에서 거래를 복사할 수도 있습니다(   МТ4   -   МТ4, МТ5   -   МТ4   ):   COPYLOT CLIENT for MT4 이 버전은 МТ5   -   МТ5, МТ4   -   МТ5   터미널 간을 포함합니다. 거래 복사기는 2/3/10 터미널 사이의 거래/포지션을 복사하기 위해 만들어졌습니다. 데모 계정 및 투자 계
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
FTMO Protector 8
Vyacheslav Izvarin
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
Quantum Volume Point of Control Indicator for MT5
QUANTUM TRADING SOFTWARE LIMITED
4 (1)
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
TradePad
Ruslan Khasanov
5 (1)
여러 거래 상품에 대한 빠른 거래 작업 및 위치 제어를 위한 간단한 솔루션입니다. 패널 인터페이스는 간단하고 직관적입니다. 상인의 편안한 작업을 위해 패널에는 다음이 있습니다. 모든 거래 작업 및 차트 기간을 관리할 수 있는 "핫" 키 관리자; 손절매/이익실현 수준을 설정할 때 위험과 잠재적 이익을 평가하기 위해 보류 또는 시장 주문을 할 때 거래 수준을 표시하는 도구; 여러 거래 도구를 제어하고 거래 신호를 수신하기 위한 내장 표시기 MultiCharts ; 거래 상품 및 거래 계정에 대한 다양한 유용한 정보뿐만 아니라 일정 기간 동안의 거래 통계를 검토하기 위한 Quick Info 유틸리티: 대기 주문 관리를 위한 대기 주문 관리자 - 대기 주문 단일 또는 그룹 설정, 단일 기호 또는 거래 계정에서 주문 유형 및 모든 유형별로 그룹 삭제; 포지션/포지션 관리를 위한 포지션 매니저(계정 유형에 따라 다름) - 모든 포지션의 그룹 청산 - 수익성/비수익성, 숏/롱 또는 모두. 포지션
PipFinite Exit EDGE MT5
Karlo Wilson Vendiola
4.86 (29)
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 orde
Blahtech Market Profile MT5
Blahtech Limited
5 (9)
Was: $249  Now: $99   Market Profile defines a number of day types that can help the trader to determine market behaviour. A key feature is the Value Area, representing the range of price action where 70% of trading took place. Understanding the Value Area can give traders valuable insight into market direction and establish the higher odds trade. It is an excellent addition to any system you may be using. Inspired by Jim Dalton’s book “Mind Over Markets”, this indicator is designed to suit the
Your Trend Friend
Luigi Nunes Labigalini
5 (1)
The trend is your friend! Look at the color of the indicator and trade on that direction. It does not  repaint. After each candle is closed, that's the color of the trend. You can focus on shorter faster trends or major trends, just test what's most suitable for the symbol and timeframe you trade. Simply change the "Length" parameter and the indicator will automatically adapt. You can also change the color, thickness and style of the lines. Download and give it a try! There are big movements
Native Websocket
Racheal Samson
5 (5)
An   easy to use, fast,  asynchronous   WebSocket library  for MQL5. It supports: ws://   and   wss://  (Secure "TLS" WebSocket) text   and   binary   data It handles: fragmented message  automatically (large data transfer) ping-pong   frames  automatically (keep-alive handshake) Benefits: No DLL required. No OpenSSL installation required. Up to 128 WebSocket Connections from a single program. Various Log Levels for error tracing Can be synchronized to MQL5 Virtual Hosting . Completely native to
Supply and Demand Pro
Godbless C Nygu
4 (1)
Join Deriv link on profile>>> GET THIS FULL COPY AND GET ANOTHER FREE INDICATOR ONE OF THE BEST AND USEFULL INDICATORS IN THE WORLD ..This is the one of the best usefull indicators which has chosen to be used by top traders in the world. AUTOMATIC SUPPORT AND RESISTANCE This way of trading is also called Supply and demand, On this way of trading you can see auto colours appear where the market changes direction buying or selling Direction. ALL KIND OF PAIRS METALS AND INDICIES ARE INCLUDE
The Trade Tracker Library is used to automatically detect and display trade levels on custom charts. It is an especially useful add-on for EAs that trade on custom charts in MT5. With the use of this library, the EA users can see trades as they are placed via the EA (Entry, SL & TP levels) in real-time. The header file and two examples of EA skeleton files are attached in the comments section (first comment). The library will automatically detect the tradable symbol for the following custom
Mt5TradeCopier
Mcblastus Gicharu Ndiba
Forex Trade copier MT5.  It copies forex trades, positions, orders from any accounts to any other account,  MT5 even multiple accounts. The unique copying algorithm exactly copies all trades from the master account to your client account. It is also noted for its high operation speed and Tough error handling. It also can copy from demo account to live account too. It is one of the best free trade copiers that can do ,  MT5 or to multiple accounts  MT5 to multiple accounts  Features of Trade Copi
Atomic Analyst MT5
Issam Kassas
4.28 (18)
우선적으로 언급할 점은이 거래 지표가 다시 그리지 않고 지연되지 않으며 이를 통해 수동 및 로봇 거래 모두에 이상적이라는 점입니다. 사용자 매뉴얼: 설정, 입력 및 전략. Atomic Analyst는 가격의 강도와 모멘텀을 활용하여 시장에서 더 나은 이점을 찾는 PA Price Action Indicator입니다. 고급 필터를 장착하여 잡음과 거짓 신호를 제거하고 거래 잠재력을 높이는 데 도움이 됩니다. 복잡한 지표의 다중 레이어를 사용하여 Atomic Analyst는 차트를 스캔하고 복잡한 수학적 계산을 간단한 신호와 색상으로 변환하여 초보 트레이더가 이해하고 일관된 거래 결정을 내릴 수 있도록합니다. "Atomic Analyst"는 새로운 및 경험이 풍부한 트레이더를위한 종합적인 거래 솔루션입니다. 프리미엄 지표와 최고 수준의 기능을 하나의 거래 전략에 결합하여 모든 종류의 트레이더에 대한 다재다능한 선택지가되었습니다. 인트라데이 거래 및 스캘핑 전략 : 빠르고 정확한
이 제품의 구매자들이 또한 구매함
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
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
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.
이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니다. - Place Limit, SL Limit, Take Profit Limit 주문 - 플레이스 마켓, SL-마켓, TP-마켓 주문 - 지정가 주문 수정 - 주문 취소 - 쿼리 주문 - 레버리지, 마진 변경 - 위치 정보 얻기 그리고 더... MT5에 바이낸스 차트가 없는 경우를 제외하고 암호화폐 차트 대여는 선택 사항입니다. 스크립트 데모를 보려면 여기를 클릭하세요. 트레이딩 패널과 거래하고 싶다면 이 제품에 관심이 있으실 것입니다. 이 제품은 Crypto Charting의 애드온입니다. 이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를
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
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 c
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,
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, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample https://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
The library is used to develop automatic trading on Binance Futures Market from MT5 platform. Support all order types: Limit, Market, Stop-Limit, Stop-Market , StopLoss and TakeProfit. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceFuturesLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries -  Download Header file and EA sample https://www.mql5.com/en/code/download/34976_252386.zip Copy BinanceFutures.mqh header file to folder \MQL5\Include C
If you're a trader looking to use Binance.com and Binance.us exchanges directly from your MetaTrader 5 terminal, you'll want to check out Binance Library MetaTrader 5. This powerful tool allows you to trade all asset classes on both exchanges, including Spot, USD-M   and COIN-M futures, and includes all the necessary functions for trading activity. With Binance Library MetaTrader 5, you can easily add instruments from Binance to the Symbols list of MetaTrader 5, as well as obtain information ab
AO Core
Andrey Dik
3 (2)
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
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 installa
This is standard library built for flexible neural Networks with performance in mind. Calling this Library is so simple and takes few lines of code:    matrix Matrix = matrix_utils.ReadCsv( "Nasdaq analysis.csv" );       matrix x_train, x_test;    vector y_train, y_test;         matrix_utils.TrainTestSplitMatrices(Matrix,x_train,y_train,x_test,y_test, 0.7 , 42 );    reg_nets = new CRegressorNets(x_train,y_train,AF_RELU_,HL, NORM_MIN_MAX_SCALER); //INitializing network       reg_nets.RegressorN
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 cl
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
This is an EXPERT with a FOCUS on LEARNING and PROFESSIONAL DEVELOPMENT!!! The idea of this product is to commercialize the source code, allowing those who want to develop their own robots, or start a professional activity developing customized experts, to have a reference source code that helps them in the learning and development process. This source code will be increased, that is, new functionalities will be created, thus allowing the project to continue evolving. For every 10 sales a new v
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
Nmt5
Liang Qi Quan
这段代码是一个简单的交易专家顾问(Expert Advisor)示例,主要功能如下: 使用两个移动平均线(MA)作为交易信号: 快速MA(FastMA)和慢速MA(SlowMA) 初始化函数(OnInit): 创建两个MA指标句柄 设置数组为时间序列模式 清理函数(OnDeinit): 释放指标句柄,防止内存泄漏 主要交易逻辑(OnTick): 获取最新的MA值 判断趋势和交易信号 在无持仓时执行交易 交易规则: 上升趋势+买入信号时开多单 下降趋势+卖出信号时开空单 使用固定的止损和止盈点数 风险管理: 使用输入参数设置交易手数、止损和止盈 每次只允许一个持仓(inTrade变量) 使用MQL5的Trade库进行交易操作,简化了下单过程 这个EA适合初学者学习,展示了基本的EA结构和简单的交易策略实现方法。但在实际使用前,还需要进行更多的测试和优化。
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
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
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.
이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를 사용하여 모든 EA에 통합하기가 매우 쉽습니다. - Place Limit, SL Limit, Take Profit Limit 주문 - 플레이스 마켓, SL-마켓, TP-마켓 주문 - 지정가 주문 수정 - 주문 취소 - 쿼리 주문 - 레버리지, 마진 변경 - 위치 정보 얻기 그리고 더... MT5에 바이낸스 차트가 없는 경우를 제외하고 암호화폐 차트 대여는 선택 사항입니다. 스크립트 데모를 보려면 여기를 클릭하세요. 트레이딩 패널과 거래하고 싶다면 이 제품에 관심이 있으실 것입니다. 이 제품은 Crypto Charting의 애드온입니다. 이 라이브러리를 사용하면 EA를 사용하여 거래를 관리할 수 있으며 설명에 언급된 스크립트 코드와 전체 프로세스를 보여주는 비디오의 데모 예제를
Want to get all events like Previous/Forecast/Actual values for each news to analyze/predict it? By this simple library you can do it easily,Just import/integrate the library into your system,then get all possible values for each news   Even In Strategy Tester   . Note: Please add the address " https://www.forexfactory.com/ " of news feed at your MT5 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL. Since the WebRequest() function can't be called from indicator ba
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
Order Book, known also as Market Book, market depth, Level 2, - is a dynamically updated table with current volumes of orders to buy and to sell specific financial instument at price levels near Bid and Ask. MetaTrader 5 provides the means for receiving market book from your broker, but in real time only, without access to its history. The library OrderBook History Library reads market book state in the past from archive files, created by OrderBook Recorder . The library can be embedded into you
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 c
Teclado trader, é uma BIBLIOTECA que você pode chamar no OnChartEvent para abrir posição de compra/venda/zerar, os botões padrões são: V = venda C = compra Z = zerar posições a mercado S = zerar posições opostas e depois a mercado X = zerar posições opostas Além da função de teclado, é possível mostrar os estados do ExpertAdvisor usando o MagicId, com informação de: lucro mensal, semanal, diario, e posição aberta, para isto use o OnTick, ou qualquer outro evento (OnTimer / OnTrade / OnBookEv
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,
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, Stop-Limit and Stop-Market. Support margin trading. Automatically display the chart on the screen. Usage: - Open MQL5 demo account - Move BinanceLib.ex5 from folder \MQL5\Scripts\Market to MQL5\Libraries - Download Header   file and EA sample https://www.mql5.com/en/code/download/34972_260999.zip Copy Binance.mqh header file to folder \MQL5\Include Copy  BinanceEA-
제작자의 제품 더 보기
WalkForwardOptimizer MT5
Stanislav Korotky
3.86 (7)
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.
VolumeDeltaMT5
Stanislav Korotky
This indicator provides the analysis of tick volume deltas. It calculates tick volumes for buys and sells separately, and their delta on every bar, and displays volumes by price clusters (cells) within a specified bar (usually the latest one). This is a limited substitution of market delta analysis based on real volumes, which are not available on Forex. The indicator displays the following data in its sub-window: light-blue histogram - buy (long) volumes; orange histogram - sell (short) volumes
RenkoFromRealTicks
Stanislav Korotky
4.5 (2)
This non-trading expert utilizes so called custom symbols feature ( available in MQL API as well) to build renko charts based on history of real ticks of selected standard symbol. RenkoFromRealTicks generates custom symbol quotes, thus you may open many charts to apply different EAs and indicators to the renko. It also transmits real ticks to update renko charts in real time. The generated renko chart uses M1 timeframe. It makes no sense to switch the renko chart to a timeframe other than M1. T
CCFpExt
Stanislav Korotky
CCFpExt is an extended version of the classic cluster indicator - CCFp. 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, including cases when tickers have different trading schedule; Using up to 30 instruments for market calculation (only first 8 are displayed). Parameters Instruments - comma separated list of instruments with a common cu
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
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
CustomVolumeDelta
Stanislav Korotky
5 (1)
This indicator displays volume delta (of either tick volume or real volume) encoded in a custom symbol, generated by special expert advisers, such as RenkoFromRealTicks . MetaTrader does not allow negative values in the volumes, this is why we need to encode deltas in a special way, and then use CustomVolumeDelta indicator to decode and display the deltas. This indicator is applicable only for custom instruments generated in appropriate way (with signed volumes encoded). It makes no sense to ap
FREE
This 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
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
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
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
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
PointsVsBars
Stanislav Korotky
This indicator provides a statistical analysis of price changes (in points) versus time delta (in bars). It calculates a matrix of full statistics about price changes during different time periods, and displays either distribution of returns in points for requested bar delta, or distribution of time deltas in bars for requested return. Please, note, that the indicator values are always a number of times corresponding price change vs bar delta occurred in history. Parameters: HistoryDepth - numbe
FREE
ReturnAutoScale
Stanislav Korotky
5 (2)
The indicator calculates running total of linear weighted returns. It transforms rates into integrated and difference-stationary time series with distinctive buy and sell zones. Buy zones are shown in blue, sell zones in red. Parameters: period - number of bars to use for linear weighted calculation; default value - 96; smoothing - period for EMA; default value - 5; mode - an integer value for choosing calculation mode: 0 - long term trading; 1 - medium term trading; 2 - short term trading; defa
FREE
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
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
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
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
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
Mirror
Stanislav Korotky
This indicator predicts rate changes based on the chart display principle. It uses the idea that the price fluctuations consist of "action" and "reaction" phases, and the "reaction" is comparable and similar to the "action", so mirroring can be used to predict it. The indicator has three parameters: predict - the number of bars for prediction (24 by default); depth - the number of past bars that will be used as mirror points; for all depth mirroring points an MA is calculated and drawn on the ch
If you like trading crosses (such as AUDJPY, CADJPY, EURCHF, and similar), you should take into account what happens with major currencies (especially, USD and EUR) against the work pair: for example, while trading AUDJPY, important levels from AUDUSD and USDJPY may have an implicit effect. This indicator allows you to view hidden levels, calculated from the major rates. It finds nearest extremums in major quotes for specified history depth, which most likely form resistence or support levels, a
EvoLevels
Stanislav Korotky
The indicator displays most prominent price levels and their changes in history. It dynamically detects regions where price movements form attractors and shows up to 8 of them. The attractors can serve as resistance or support levels and outer bounds for rates. Parameters: WindowSize - number of bars in the sliding window which is used for detection of attractors; default is 100; MaxBar - number of bars to process (for performance optimization); default is 1000; when the indicator is called from
ExtraMovingPivots
Stanislav Korotky
This is an intraday indicator that uses conventional formulae for daily and weekly levels of pivot, resistance and support, but updates them dynamically bar by bar. It answers the question how pivot levels would behave if every bar were considered as the last bar of a day. At every point in time, it takes N latest bars into consideration, where N is either the number of bars in a day (round the clock, i.e. in 24h) or the number of bars in a week - for daily and weekly levels correspondingly. So,
Most of traders use resistance and support levels for trading, and many people draw these levels as lines that go through extremums on a chart. When someone does this manually, he normally does this his own way, and every trader finds different lines as important. How can one be sure that his vision is correct? This indicator helps to solve this problem. It builds a complete set of virtual lines of resistance and support around current price and calculates density function for spatial distributi
The indicator draws a histogram of important levels for several major currencies attached to the current cross rates. It is intended for using on charts of crosses. It displays a histogram calculated from levels of nearest extremums of related major currencies. For example, hidden levels for AUDJPY can be detected by analyzing extremums of AUD and JPY rates against USD, EUR, GBP, and CHF. All instruments built from these currencies must be available on the client. This is an extended version of
StatBars
Stanislav Korotky
The indicator provides a statistic histogram of estimated price movements for intraday bars. It builds a histogram of average price movements for every intraday bar in history, separately for each day of week. Bars with movements above standard deviation or with higher percentage of buys than sells, or vice versa, can be used as direct trading signals. The indicator looks up current symbol history and sums up returns on every single intraday bar on a specific day of week. For example, if current
PriceProbability
Stanislav Korotky
This is an easy to use signal indicator which shows and alerts probability measures for buys and sells in near future. It is based on statistical data gathered on existing history and takes into account all observed price changes versus corresponding bar intervals in the past. The statistical calculations use the same matrix as another related indicator - PointsVsBars. Once the indicator is placed on a chart, it shows 2 labels with current estimation of signal probability and alerts when signal
CCFpExtra
Stanislav Korotky
CCFpExtra is an extended version of the classic cluster indicator - CCFp. This is the MT4 version of indicator  CCFpExt available for MT5. Despite the fact that MT5 version was published first, it is MT4 version which was initially developed and tested, long before MT4 market was launched. Main Features Arbitrary groups of tickers or currencies are supported: can be Forex, CFDs, futures, spot, indices; Time alignment of bars for different symbols with proper handling of possibly missing bars, in
PriceProbabilities
Stanislav Korotky
This is a signal indicator for automatic trading which shows probability measures for buys and sells for each bar. It is based on statistical data gathered on existing history and takes into account all observed price changes versus corresponding bar intervals in the past. The core of the indicator is the same as in PriceProbablility indicator intended for manual trading. Unlike PriceProbability this indicator should be called from MQL4 Expert Advisors or used for history visual analysis. The in
필터:
Flying Dutchman
245
Flying Dutchman 2021.09.18 22:35 
 

Full of bugs. Doesn't work

Stanislav Korotky
45759
개발자의 답변 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 
 

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

리뷰 답변
버전 1.6 2024.09.27
Recompilation using MT5 build 4570. Warning: ex5-file is incompatible with pre-4500+ builds.
버전 1.5 2024.09.05
Re-compiled with currently latest release 4410 due to changes in MQL5 compiler.
버전 1.4 2021.10.19
Support for multiple symbols is added. You can now enable monitoring of many different symbols (just call OrderBook_MarketBookAdd for them) and then receive market book events from corresponding history files (they should be stored by the recorder running on charts with these symbols). Don't forget to check symbol parameter in OnBookEvent handler.

New function is added to get open interest of specific symbol: bool OrderBook_SessionInfoSymbol(string symbol, double &openInterest, double &buysVolume, double &sellsVolume).
버전 1.3 2020.05.09
New hob-file format 1.2 is added. In this format, 3 values of current session volumes are saved along with every book: SYMBOL_SESSION_INTEREST, SYMBOL_SESSION_BUY_ORDERS_VOLUME, SYMBOL_SESSION_SELL_ORDERS_VOLUME.

It's not necessary to convert all historical hob-files to format 1.2, both formats are supported in parallel.

New function OrderBook_SessionInfo(double &openInterest, double &buysVolume, double &sellsVolume) is added to get total current volumes, saved along with current book.
버전 1.2 2019.09.19
The library is recompiled in a newer build because MetaQuotes introduced another change to their compiler, which broke back-compatibility of exports/imports (exported functions with typedef-ed parameters compiled in older builds can not be imported since build 2085 or so).
버전 1.1 2019.04.20
Starting from build 1930 MetaQuotes broke MQL5 back compatibility with MqlBookInfo structure by adding new field volume_real into it.

This version of the product supports new structure format, but it will not work on older builds.