• 概述
  • 评论 (2)
  • 评论 (18)
  • 新特性

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.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.

评论 2
AlexInRush
60
AlexInRush 2020.11.27 11:30 
 

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

推荐产品
The Matrix
Omega J Msigwa
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
KopierMaschine - локальный копировщик сделок между различными счетами MetaTrader 4 и MetaTrader 5 в любом направлении расположенных на одном компьютере с интуитивно понятным интерфейсом. Направления копирования: MT4 --> MT5 MT4 --> MT4 MT5 --> MT5 MT5 --> MT4 для копирования между терминалами MetaTrader 4 и   MetaTrader   5 необходимо приобрести версию продукта   KopierMaschine  для    MetaTrader  4 Особенности Программа работает в двух режимах Master и Slave На один подчиненный счет можно коп
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 );    //复杂开单
Owl Smart Levels MT5
Sergey Ermolov
4.47 (36)
MT4版本  |   FAQ Owl Smart Levels Indicator 是一個完整的交易系統,包含 Bill Williams 的高級分形、構建正確的市場波浪結構的 Valable ZigZag 以及標記準確入場水平的斐波那契水平等流行的市場分析工具 進入市場和地方獲利。 策略的详细说明 指示灯使用说明 顾问-贸易猫头鹰助手助理 私人用户聊天 ->购买后写信给我,我会将您添加到私人聊天中,您可以在那里下载所有奖金 力量在於簡單! Owl Smart Levels 交易系統非常易於使用,因此適合專業人士和剛開始研究市場並為自己選擇交易策略的人。 策略和指標中沒有隱藏的秘密公式和計算方法,所有策略指標都是公開的。 Owl Smart Levels 允許您快速查看進入交易的信號,突出顯示下訂單的水平並向您發送有關已出現信號的通知。 優點很明顯: 清楚地顯示主要和更高時間框架的趨勢方向。 指示儀器信號的出現。 標記開單、止損設置和固定利潤的水平。 沒有多餘的,只有必要的結構! ZigZag 表示全球趨勢的方向,因此也表示貿易方向。 市場反轉點的短線清楚地表明在什麼水平上構建斐波
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
Mine Farm
Maryna Kauzova
5 (1)
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
Volume by Price MT5
Brian Collard
5 (3)
The Volume by Price Indicator for MetaTrader 5 features Volume Profile and Market Profile TPO (Time Price Opportunity). Get valuable insights out of currencies, equities and commodities data. Gain an edge trading financial markets. Volume and TPO histogram bar and line charts. Volume Footprint charts. TPO letter and block marker charts including split structures. Versatile segmentation and compositing methods. Static, dynamic and flexible ranges with relative and/or absolute visualizations. Lay
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
用於自動訂單和風險管理的實用程序。讓您從利潤中獲得最大收益並限制您的損失。由執業交易員為交易員創建。該實用程序易於使用,適用於交易者手動打開的任何市場訂單或在顧問的幫助下。可以按幻數過濾交易。該實用程序可以同時處理任意數量的訂單。 具有以下功能: 1. 設置止損和止盈水平; 2. 通過追踪止損位平倉; 3. 設定盈虧平衡水平。 該實用程序可以: 1. 分別處理每個訂單(為每個訂單單獨設置級別) 2. 處理一籃子單向訂單(所有訂單的水平設置相同,買入和賣出分開) 3. 處理一籃子多向訂單(所有訂單的級別都設置為通用的,BUY 和 SELL 一起) 選項: STOPLOSS - 如果不使用 =-1,則以點為單位止損; TAKEPROFIT - 以點為單位獲利,不與 -1 一起使用; TRAILING_STOP - 價格變動的點數,如果不使用 =-1; TRAILING_STEP - 每一步利潤將增加的點數; BREAKEVEN_STOP - 將訂單轉移到盈虧平衡點的點數,如果不使用 =-1; BREAKEVEN_ST
该指标建立当前报价,可以与历史报价进行比较,并在此基础上进行价格走势预测。指示器有一个文本字段,用于快速导航到所需日期。 选项: 符号 - 选择指标将显示的符号; SymbolPeriod - 选择指标从中获取数据的时段; IndicatorColor - 指示器颜色; HorisontalShift - 由指标绘制的报价移动指定的柱数; Inverse - true 反转引号,false - 原始视图; ChartVerticalShiftStep - 图表垂直移动(键盘上的向上/向下箭头); 接下来是文本字段的设置,您可以在其中输入日期,您可以通过按“回车”立即跳转到该日期。 接下来是文本字段的设置,您可以在其中输入日期,您可以通过按“回车”立即跳转到该日期。
| 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
Atomic Analyst MT5
Issam Kassas
3.64 (11)
首先值得强调的是,该交易指标是非重绘、非延迟的指标,这使其成为手动和机器人交易的理想选择。 Atomic Analyst是一种PA价格行动指标,利用价格的力量和动量来寻找市场上更好的机会。配备了高级过滤器,可帮助去除噪音和假信号,并提高交易潜力。使用多层复杂的指标,Atomic Analyst扫描图表,并将复杂的数学计算转化为任何初学者都能理解并用来做出一致交易决策的简单信号和颜色。 “Atomic Analyst”是专为新手和经验丰富的交易者量身定制的综合交易解决方案。它将高级指标和一流功能融合为一体的交易策略,使其成为所有类型交易者的多功能选择。 日内交易和剥头皮策略:专为快速准确的日内交易和短期交易而设计。 日内和摆动交易策略:可用作追求价格大幅波动的日内和摆动交易者的可靠工具。 多货币和市场:凭借其可靠的精度,在不同的工具和市场上运作。 多个时间框架:可在多个时间框架上使用,性能良好。 稳定性:所有指标均不重绘、不重绘和不滞后,确保可靠的信号。 信号清晰度:提供箭头信号,用于清晰的入场和出场点。 实时警报:通过交易入场、SL和TP警报通知交易者。 多个利润水平:使用
Exp COPYLOT CLIENT for MT5
Vladislav Andruschenko
3.76 (17)
MT5 交易复印机是 МetaТrader 5 平台的交易复印机 。 它复制外汇交易 之间   任何账户 MT5   -   MT5, MT4   -   MT5 对于 COPYLOT MT5 版本(或 MT4   - MT4 MT5   -   MT4 对于 COPYLOT MT4 版本) 值得信赖的复印机! MT4版本 详细描述   +DEMO +PDF 如何购买 如何安装     如何获取日志文件     如何测试和优化     Expforex 的所有产品 您还可以在 МТ4 终端 (   МТ4   -   МТ4, МТ5   -   МТ4   ) 中 复制交易: COPYLOT CLIENT for MT4 此版本包括在终端 МТ5   -   МТ5, МТ4   -   МТ5 之间 。 交易复制器用于在 2/3/10 终端之间复制交易/头寸。 支持从模拟账户和投资账户复制。 该程序可以在多个终端绑定上运行。 使用它作为您在一个账户上交易的各种投资者账户的交易的同步器, - COPYLOT 会将您的交易复制到其他终端。 从 多个 终端复制到一个; 从一
Unlimited Trade Copier Pro MT5 is a tool to copy trade remotely between multiple MT4/MT5 accounts at different computers/locations over internet. This is an ideal solution for signal provider, who want to share his trade with the others globally on his own rules. One provider can copy trades to multiple receivers and one receiver can get trade from multiple providers as well. The provider can even set the subscription expiry for each receiver, so that receiver will not be able to receive the sig
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
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
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
Your Trend Friend
Luigi Nunes Labigalini
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
Cloner for MT5
Vladimir Gribachev
该工具旨在克隆你交易账户上的交易--程序用你的参数开立一个额外的交易。它能够增加或减少手数,增加一个手数,改变止损和止盈参数,该程序被设计为在 "Windows PC "和 "Windows VPS "上工作。  Buy a cloner and get the second version for free 参数。 CLONE_POSITIONS - 要克隆哪些订单。 MAGIC_NUMBER - 神奇的数字。 DONT_REPEAT_TRADE - 如果为真,交易在手动平仓后不会被重复。 REVERSE_COPY - 反向复制,例如打开SELL而不是BUY。 LOT_MULTIPLIER - 来自PROVIDER账户的数量复制率;如果=0,则以FIXED_LOT中指定的批次进行复制。 PLUS_LOT, MINUS_LOT - 加号和减号地段。 MAXIMUM_LOT - 最大的手数。 FIXED_LOT - 固定地段。 SYNCHRONIZE_STOPS - 如果为真,关闭的订单、TP和SL水平将与PROVIDER账户同步。 STOPLOSS, TAKEPROFIT -
Bober Real MT5
Arnold Bobrinskii
4.76 (17)
Bober Real MT5 is a fully automatic Forex trading Expert Advisor. This robot was made in 2014 year and did a lot of profitbale trades during this period. So far over 7000% growth on my personal account. There was many updates but 2019 update is the best one. The robot can run on any instrument, but the results are better with EURGBP, GBPUSD, on the M5 timeframe. Robot doesn't show good results in tester or live account if you run incorrect sets. Set files for Live accounts availible only for c
ET9 for MT5
Hui Qiu
2.33 (3)
ET9  新上架,推出促销活动 仅剩几个副本,599美元 下一个价格:799美元 最终售价:1599美元 最佳黄金(XAUUSD)自动交易程序, 它也可以同时用于GBPUSD! ET9 MT5 版 更新4.20 !!   重要更新: 启用自动利润平仓,可以修改ET1策略的各种参数,优化 ET1策略的稳定性 包括免费的 ET1 MT5版:  https://www.mql5.com/zh/market/product/113131 描述 ET9 MT5 版是一款在( XAUUSD) 黄金 与( GBPUSD) 英镑 交易中拥有9合一交易策略的强大自动交易程序 其中包括一个经典趋势策略ET1,另外8个突破策略,在黄金价格实现日线突破时尤为有效! 请在可视模式下对 ET9 进行回测,以便了解 ET9 的工作原理是多么专业。回测过程可能会很慢,请耐心等待 ET9这9大策略结合在一起 ,与其它一些虚假“完美回测”EA有着很大的区别:这是一款真实实盘放心使用的EA !! 没有网格系统!没有马丁格尔系统,没有剥头皮系统!每一个订单都设置有止盈止损,并且交易关闭时间超过几小时……实盘结果与回测
Blahtech Market Profile MT5
Blahtech Limited
5 (8)
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
这是一个 MTF 指标,它基于 带有价格标签的 Advanced ZigZag Dynamic 和/或 Extended Fractals 指标极值(可以禁用)。可以为 MTF 模式选择更多更高的 TF。默认情况下,级别是基于 ZigZag 指标点生成的。分形指标点也可以与 ZigZag 一起使用或代替它。为了简化使用并节省 CPU 时间,每根柱线在开盘时执行一次计算。 参数: ForcedTF - 水平计算的图表时间范围(可能等于或超过当前时间) MinPipsLevelWidth   - 以点为单位的最小关卡宽度(用于非常紧凑的关卡) Use ZigZag Extremums points - 启用/禁用使用 ZigZag 峰值计算支撑/阻力水平 Fixed pips range - 计算 ZigZag 指标的最小值和最大值之间的距离 UseDynamicRange   - 启用/禁用 ZigZag 指标最小值和最大值之间距离的动态计算 Dynamic volatility period - 用于计算 ZigZag 指标最小值和最大值之间的动态距离的波动期 Dynamic vola
!! BLACK FRIDAY !!  FOR LIFETIME !! ================== == 35$ ONLY !! == ================== BOOK YOURS NOW !! The Position Manager Contains A Lot of Functions such as; (How to Operate) 1. Adjustable Volume per Trade (You could change the volume as you wish per trade). 2. Adjustable Risk : Reward Ratio (1RR means sacrifice 1 Risk : 1 Reward, 1.5RR, 2RR etc. as you wish) 3. Adjustable Stop Loss Points (Calculated Points as Stop Loss and Automatically adjusted the Risk Reward Ratio) 4. Buy Butt
LaserAlgo EA MT5
Hamza Ashraf
2.75 (4)
Traders are humans. The markets are controlled by "fear" and "greed" and there are patterns for it. We found these patterns via years of writing and monitoring algorithm, and we now introduce to you our LaserAlgo MT5. We used our 7 years’ experience in the markets to convert this concept into a fully AI algorithm.   Link to MT4 version: https://www.mql5.com/en/market/product/89549 Link to live run of EA: https://www.mql5.com/en/signals/1780127 This is a promotional price and will be increased
Magic EA MT5
Kyra Nickaline Watson-gordon
Magic EA is an Expert Advisor based on Scalping, Elliot Waves and with filters such as RSI, Stochastic and 3 other strategies managed and decided with the robot smartly. Large number of inputs and settings are tested and optimized and embedded in the program thus inputs are limited and very simple. Using EA doesn't need any professional information or Forex Trading Knowledge. EA can trade on all symbols and all time frames, using special and unique strategies developed by the author. The EA
Risk Manager m5
Maryna Shulzhenko
Risk Manager at a Glance: A Revolutionary Robot with a Unique Trading System Risk Manager is a revolutionary robot. With its unique trading system using sentiment analysis and machine learning, Risk Manager is a game changer when it comes to executing trades. You can work on any hourly period, any currency pair and on the server of any broker. Risk Manager is a trading robot that uses its own algorithm to make trading decisions. Different approaches to analyzing input information are used, wh
Gyroscopes mt5
Nadiya Mirosh
Gyroscope        professional forex expert   (for EURUSD, GBPUSD, USDJPY, AUDUSD, USDCHF, EURGBP, EURJPY, NZDUSD, USDCAD, EURCHF, AUDJPY, CADJPY pairs)   alyzing the market using the Elliot Wave Index. Elliott wave theory is the interpretation of processes in financial markets through a system of visual models (waves) on price charts. The author of the theory, Ralph Elliott, identified eight variants of alternating waves (of which five are in the trend and three are against the trend). The mo
该产品的买家也购买
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
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.
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. 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 population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于A
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
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "MQL5\Files" directory. Then it uses these files to automatically build a cluster walk forward report and rolling walk forward reports that refine it (all of them in one HTML file). Using the WalkForwardBuilder MT5 auxiliary script allows building othe
BitMEX Trading API
Romeu Bertho
5 (1)
Cryptocurrency analysis has never been easier with Crypto Charts for MetaTrader 5. Now, trading on BitMEX has never been easier with BitMEX Trading API for MetaTrader 5. BitMEX Trading API library was built to be as easy to use as possible. Just include the library into your Expert Advisor or Script, call the corresponding methods and start trading! Features Trade on BitMEX and BitMEX Testnet. Build and automate your strategies. Concern more with the trading strategy logic and less with the 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
1. 这是什么 MT5系统自带的优化结果非常少,有时候我们需要研究更多的结果,这个库可以让你在回测优化时可以输出更多的结果。也支持在单次回测时打印更多的策略结果。 2. 产品特色 优化的输出的结果非常多。 可以自定义CustomMax。 输出结果在Common文件夹。 根据EA名称自动命名,且同一个EA多次回测会自动更新名称,不会覆盖上一次的结果。 函数非常简单,你一眼就可以看懂。 #import "More BackTest Results.ex5" // Libraries Folder, Download from the market. //---Set CustomMax void iSetCustomMax( string mode); //---Display multiple strategy results when backtesting alone (not opt). void iOnDeinit(); //--- void iOnTesterInit(); double iOnTester(); void iOnTesterPass( string lang
This library implements a few functions to simplify the programming of Expert Advisors. * Build your own EA for MT5 / Binance, with a easy support for multisymbol / multytimeframe * Different SFE EAs based on the library provided. * Base signals of SFE EAs are inlcuded in base version. All the Pro filters and management are included in the base version all the 2022. * Customize the provided SFE Lib EA by changing or implementing its rules.. * Review the existing or ask for video tutorials to
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
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
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
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
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.
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. 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 population algorithms.  High-speed calculation in HMA guarantees unsurpassed accuracy and high search capabilities,
Native Websocket
Racheal Samson
5 (2)
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
该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上没有币安图表。 对于脚本演示:单击此处 如果您想与交易面板进行交易,您可能对此产品感兴趣 该产品是加密图表的插件 该库将允许您使用任何 EA 来管理交易,并且非常容易集成到任何 EA 上,您可以使用描述中提到的脚本代码以及显示完整过程的视频演示示例自行完成。 - 下限价、止损限价和止盈限价订单 - 下达市场订单、SL 市场订单、TP 市场订单 - 修改限价订单 - 取消订单 - 查询订单 - 更改杠杆、保证金 - 获取位置信息 和更多... 租赁加密货币图表是可选的,除非您的 MT5 上
OpenAI Library MT5
VitalDefender Inc.
该库旨在提供一种尽可能简单的方法,直接在MetaTrader上使用OpenAI的API。 要深入了解库的潜力,请阅读以下文章: https://www.mql5.com/en/blogs/post/756098 The files needed to use the library can be found here: Manual 重要提示:要使用EA,需要添加以下URL以允许访问OpenAI API  如附图所示 要使用该库,需要包含以下Header,您可以在以下链接找到:  https://www.mql5.com/en/blogs/post/756108 #import "StormWaveOpenAI.ex5" COpenAI *iOpenAI(string); CMessages *iMessages(void); CTools *iTools(void); #import 这就是您需要的所有信息,以便轻松使用该库。 以下是如何轻松使用该库并与OpenAI的API交互的示例 #include <StormWaveOpenAI.mqh>       //--- 包含用于A
T5L Library is necessary to use the EAs from TSU Investimentos, IAtrader and others. It contains all the functions framework needed to Expert Advisors working properly.  ツ - The Expert Advisors from  TSU Investimentos does not work without this library,  the T5L library can have updates during the year - At this Library you will find several funcionalities like order sends, buy and sell, trigger entry points check, candlestick analyses, supply and demmand marking and lines, and much more. 
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
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
作者的更多信息
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.
RenkoFromRealTicks
Stanislav Korotky
4.67 (3)
This non-trading expert utilizes so called custom symbols feature ( available in MQL API as well) to build renko charts based on history of real ticks of selected standard symbol. RenkoFromRealTicks generates custom symbol quotes, thus you may open many charts to apply different EAs and indicators to the renko. It also transmits real ticks to update renko charts in real time. The generated renko chart uses M1 timeframe. It makes no sense to switch the renko chart to a timeframe other than M1. T
VolumeDeltaBars
Stanislav Korotky
This indicator is a conventional analytical tool for tick volumes changes. 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). The algorithm used internally is the same as in the indicator VolumeDeltaMT5 , but results are shown as cumulative volume delta bars (candlesticks). Analogous indicator for MetaTrader 4 exists - CumulativeDeltaBars . This is a limited substi
AutomaticZigZag
Stanislav Korotky
4.67 (3)
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
Time And Sales Layout indicator shows traded buy and sell volumes right on the chart. It provides a graphical representation of most important events in the time and sales table. The indicator downloads and processes a history of real trade ticks. Depending from selected depth of history, the process may take quite some time. During history processing the indicator displays a comment with progress percentage. When the history is processed, the indicator starts analyzing ticks in real time. The l
SOMFX1Predictor
Stanislav Korotky
If you like trading by candle patterns and want to reinforce this approach by modern technologies, this indicator and other related tools are for you. In fact, this indicator 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  - a script for training neural networks; it builds a file with generalize
CustomVolumeDelta
Stanislav Korotky
4.5 (2)
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
VolumeDeltaWaves
Stanislav Korotky
5 (1)
This indicator is an extended implementation of Weis waves. It builds Weis waves on absolute volumes (which is the classical approach) or delta of volumes (unique feature) using different methods of wave formation and visualization. It works with real volumes, if available, or with tick volumes otherwise, but also provides an option to use so called "true volume surrogates", as an artificial substitution for missing real volumes (for example, for Forex symbols), which was introduced in correspo
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
Comparator
Stanislav Korotky
4.14 (7)
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
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
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
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
RenkoFromRealTicks DEMO
Stanislav Korotky
1 (1)
This non-trading expert utilizes so called   custom symbols   feature 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. This is a functionally limited demo version of  RenkoFromRealTicks . RenkoFromRealTicks utility can not work in the tester because it uses CustomSym
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
HZZM
Stanislav Korotky
2.67 (3)
This is an adaptive ZigZag based on modification of  HZZ indicator (original source code is available in this article ). Most important changes in this version: two additional indicator buffers added for zigzag evolution monitoring - they show cross signs at points where zigzag direction first changes; zigzag range (H) autodetection on day by day basis; time-dependent adjustment of zigzag range. Parameters: H - zigzag range in points; this parameter is similar to original HZZ, but it can take 0
FREE
ReturnAutoScale
Stanislav Korotky
5 (2)
The indicator calculates running total of linear weighted returns. It transforms rates into integrated and difference-stationary time series with distinctive buy and sell zones. Buy zones are shown in blue, sell zones in red. Parameters: period - number of bars to use for linear weighted calculation; default value - 96; smoothing - period for EMA; default value - 5; mode - an integer value for choosing calculation mode: 0 - long term trading; 1 - medium term trading; 2 - short term trading; defa
FREE
WalkForwardDemo MT5
Stanislav Korotky
4 (2)
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
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
CyclicPatterns
Stanislav Korotky
This indicator shows price changes for the same days in the past. This is a predictor that finds bars for the same days in past N years, quarters, months, weeks, or days (N is 10 by default) and shows their relative price changes on the current chart. Number of displayed buffers and historical time series for comparison is limited to 10, but indicator can process more past periods if averaging mode is enabled (ShowAverage is true) - just specify required number in the LookBack parameter. Paramet
RenkoCharts
Stanislav Korotky
This non-trading expert utilizes so called custom symbols feature ( available in MQL as well ) to build renko charts based on historical quotes of selected standard symbol and to refresh renko in real-time according to new ticks. Also, it translates real ticks to the renko charts, which allows other EAs and indicators to trade and analyze renko. Place RenkoCharts on a chart of a work instrument. The lesser timeframe of the source chart is, the more precise resulting renko chart is, but the lesse
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
WalkForwardBuilder MT5
Stanislav Korotky
5 (1)
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
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,
筛选:
Flying Dutchman
239
Flying Dutchman 2021.09.18 22:35 
 

Full of bugs. Doesn't work

Stanislav Korotky
42974
来自开发人员的回复 Stanislav Korotky 2021.09.20 19:42
I'm very sorry, but it works ok for many people. You're doing something wrong, but did not provide technical details.
AlexInRush
60
AlexInRush 2020.11.27 11:30 
 

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

回复评论
版本 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.