I know that there has been a number of questions relating to the historical data on MT5 but none of them seem to have a good answer to solve the issue.....
My first issue:
My broker has had some problems with MT5 and it has frozen the feed to clients for upto 40 minutes at a time. Now there are gaps in the charts.
Before you say delete the history file, done that same gaps appear.
Yes I could ask my broker to update the gaps at there end, but honestly getting a broker to do that everytime there is an issue is not going to work is it.....
So come on Metatrader guys you get loads of money for this software how about setting up a proper reliable feed and maintaining a good historical base to get missing data from and altering MT5 so that it will get just the gap data?
My second issue:
MT5 supposedly builds all timeframe data from M1 data. But my M1 data only goes back a few months, whereas other timeframes go back many more and even years. This sounds like the old MT4 data setup to me which was to be blunt crap. So how is my MT5 getting this other timeframe data when it does not have the M1 data?
All the tools of MT5 become useless if the data is crap, and even allowing people to import there own data won't really help many, what we need is a single reliable history server to get all the missing M1 data.
Averager is intended for averaging your deals that has had a drawdown or had gone against the trend.
An example of operation of the averager in an Exeprt Advisor in the MetaTrader 5 terminal: Exp - TickSniper. The system is identical to the averaging system created for MetaTrader 4. A demo version of the averager for MetaTrader 5: Averager DEMO.Note: this is not an automated trading system (the EA doesn't work in the strategy tester). It monitors your deals and averages them in case o
Virtual TrailingStop is an Expert Advisor that manages trailing stop without sending its information to the broker server.
EnableVirtualTrailingStop: enable or disable whole function VirtualTrailingStop: the pip use for determine how far the Virtual Trailing Stop will placed calculated from current price StartFromBreakEven: true/false. If true, Virtual Trailing Stop will placed after breakeven BreakEvenPoint: point profit from order open price where the Virtual T
The script is intended for automatic placing of Sell Stop pending orders, Stop Losses and Take Profits on the user specified levels. This script is not that useful as "Virtual pending buy stop", since short positions are opened as Bid price crosses the levels. Thus spread widening is not dangerous. Nevertheless, you need to have this script to prevent unwanted hitting of the Stop Loss levels.
Automation of the process of placing the Sell Stop pending orders, Stop Losses and T
Does not support hedging orders on a single symbol on MT5
MultiMTCopier MT5Receiver - new and improved multi-terminal positions copier for your real/demo account, works faster, requires less, flexible in managing and upgrading, new information support. This Expert Advisor is designed for the MetaTrader 5 terminal, trades will be copied into this terminal.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user attention
The script is intended for automatic placing of Buy Stop pending orders, Stop Losses and Take Profits on the user specified levels.
Avoiding unwanted entering a long position in case of false hitting the level as a result of widening of the spread by a dealing center. Avoiding unwanted triggering of a Stop Loss in case a quote pierces a significant level (fractal) without further confirmation with the close price. Setting a necessary virtual order and entering the market in
The indicator represents an additional chart window with a lower time frame where bars are combined into groups that are equivalent in time to main chart time frame. Bars are synchronized by the right hand side of the window, i.e. the time of the last bar in the main window corresponds to the time of the last bar group in the additional window. The maximum number of groups is 16; the maximum number of bars combined into groups in the additional window is 256. Limitations on the numbers are requi
Safe Automatic is a safe MetaТrader 5 trading robot working autonomously on a VPS server. The good results are achieved on EURUSD.
The EA applies modified versions of a trend-following strategy, half-pyramiding, scalping, Elliott Wave method and speculating trading with a deposit protection. The EA switches the strategies automatically. The program also takes the news calendar into account: the robot does not enter the market in a 10-minute interval before and after a news rel
The indicator displays economic news on the currency chart (the appropriate data must be downloaded from the Internet - please see the download instructions on the screenshots provided). The list of currencies (countries) is customizable. By default it shows all currencies. The main parameters come with a built-in description. In addition, there are parameters for advanced users. News items are divided into 3 categories by degree of importance. There is a great flexibility in display parameter s
CandleTimer is an indicator that can be usable for scalper and short-term traders. It shows the following useful information:
Remaining and past time of a candle on the current chart or other timeframe Alarm setting for play sound at the start of the current candle Show SL/TP line defining whether the indicator has a Sell or Buy order or both Show a spread value Show Ask and Bid lines in different colors in high and low spread Compatible with a money management EA (you can buy it separat
The Expert Advisor implements the classic "triangular arbitrage", which is successfully used by hedge funds.
"Triangular" arbitrage refers to a class of neutral-market strategies, in which the profit or loss of open positions does not depend on the direction of the market movement as a whole.
In order to take profit, the EA exploits a weak spot of market makers - it utilizes the difficulty of balancing cross rates of all currency pairs.
The advantages of the strategy are the following:
DeltaVolumeDistribution indicator can be considered as the fusion of the DeltaVolume and TradeSizeDistribution indicators.
This indicator, inspired by the MarketDelta-family charts, computes the net difference between trades occurring at bid and at ask, while trades occurring between bid and ask quotes are not computed. The indicator plots the resulting DeltaVolume as a unique distribution plot.
With the DeltaVolumeDistribution indicator you will actually be able to see the order flow entering
The most profitable trend traders are the ones who know how to recognize not only the market trend, but also the trading opportunities that arise once a trend has been established. The Pz Trend Trading indicator has been designed to profit has much as possible from trends taking place in the maket.
Established trends offer dozens of trading opportunities, but most trend trading indicators neglect them completely, and leave the trader completely uninformed about what the market is doing during a
Auto Trade Driver is an automatic powerful tool (run as Expert Advisor) that helps you to manage risk and control orders and maximize your profit in multi-protect/trailing-stop rules.
This tool is very useful for both scalpers and trend followers. It not only calculates the trade risk exactly, but also protects and maximizes your profits in real-time.
With this tool, the only thing you have to do is to enter trade by your own strategy, then it will auto-drive your position with exit strategy y
The script allows users to easily close positions if their profit/loss reaches or exceeds a value specified in pips.
Please set slippage value first. Sometimes some positions do not close due to high volatility of the market. Please set larger slippage or restart the script.
Easy Order is an Expert Advisor allowing you to enter any type of trade with one click based on your RISK preferences.
You can choose to enter a trade and automatically calculate your lot size based on how much of your account you want to risk. Risk is calculated based on your Stop Loss placement. You can use a fixed lot size if you don't want to use risk based calculation of lot size. Your previous setting of risk based or fixed lot size remains saved for your next use of this Expert Advi
MACD All MAs-14 is a MACD indicator that allows choosing usual parameters of the standard MACD (constructed from EMA) as well as the type of the moving average to be applied: up to 14 different types.
You can select 9 standard MAs available in MetaTrader 5 - SMA, EMA, SMMA, LWMA, DEMA, TEMA, Frama, VIDYA, AMA, TRIX, and 4 non-standard - LRMA, HMA, JMA, AFIRMA.
Method MA - select the type of moving average to be displayed in the current graph. Period slow MA - the number
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.
Blahtech Limited presents their Market Profile indicator for the MetaTrader community. Inspired by Jim Dalton’s
Trade Copier Pro is a powerful tool to copy trade remotely between multiple accounts at different 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 signal after that
Auto Trade Copier is designed to copy trades between multi MetaTrader 5 accounts/terminals with 100% accuracy.
With this tool, you can act as either a provider (source) or a receiver (destination). All trading actions will be copied from the provider to the receiver with no delay.
Note: Demo version for testing can be downloaded at: https://www.mql5.com/en/market/product/5006.
Followings are highlight features:
Switch between Provider or Receiver role within one tool.One provider can copy tr
Ichimoku Kinko Hyo is a purpose-built trend trading charting system that has been successfully used in nearly every tradable market. It is unique in many ways, but its primary strength is its use of multiple data points to give the trader a deeper, more comprehensive view into price action. This deeper view, and the fact that Ichimoku is a very visual system, enables the trader to quickly discern and filter "at a glance" the low-probability trading setups from those of higher proba
We present you an effective software solution for arbitrage between brokers.
The Arbitrage on the market became widespread due to decentralization. There are many liquidity providers, whose quotes differ for various reasons. By tracking the dynamics of changes in the quotes of different brokers, it is possible to determine the delayed and leading brokers, thereby predicting the future prices of the delayed broker for a short time. Knowing these prices and using efficient built-in software filte
A script for opening a grid of orders
If you need to quickly open several pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) on a certain distance from the current price, this script will do all the routine for you! Allow AutoTrading before running the script.
Run the script on a chart.
Language of messages displayed (EN, RU, DE, FR, ES) - language of the output messages (English, Russian, German, French, Spanish). Price for open - open price. If set to
Does not support hedging orders on a single symbol on MT5
MultiMTCopier MT5Source - new and improved multi-terminal positions copier for your real / demo account, works faster, requires less, flexible in managing and upgrading, new information support. This expert is designed for terminal MetaTrader5 from which the position will be copied.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user attention Buttons for re
COSMOS4U Volume indicator facilitates your trade decisions. It gives confirmation of the running movement and market trends. It highlights current and past accumulation and distribution volumes, comparing them to moving average volume and the highest volume. In addition, it identifies and marks nuances as well as convergence and divergence patterns of bears and bulls in order to provide the market trend and price ranges.
The supported features are as follows:
Fast Volume Moving Average Slow
Pipfinite creates unique, high quality and affordable trading tools.
Our tools may or may not work for you, so we strongly suggest to try the Demo Version for MT4 first. Please test the indicator prior to purchasing to determine if it works for you.
We want your good reviews, so hurry up and test it for free...we hope you will find it useful.
Breakout Analyzer with Volume Critical
Strategy: Enter confirmed reversal setups Watch Video: (Click Here)Breakout Analyzer with Strength
The fractal analysis of the markets is used in the indicator operation algorithm. According to the fractals theory, after the breakthrough of the fractal level confirmed by the closing price located below or above the fractal, the trend wave in the direction of the breakthrough starts to develop. Until the fractal has been passed in the opposite direction, the trend is considered to be acting even if the price is flat or moves backwards. If a bullish fractal has been previously broken through on
MetaCOT 2 is a set of indicators and specialized utilities for the analysis of the U.S. Commodity Futures Trading Commission reports. Thanks to the reports issued by the Commission, it is possible to analyze the size and direction of the positions of the major market participants, which brings the long-term price prediction accuracy to a new higher-quality level, inaccessible to most traders.
These indicators, related to the fundamental analysis, can also be used as an effective long-term filte
Exp COPYLOT CLIENT for MT5 is a copier for the МetaТrader 5 platform. It copies forex trades from any accounts. Including those from terminals МТ5 and МТ4.
Install the Expert Advisor in the terminal where you want to copy trades. Specify any text label name as pathRead, for example, "COPY". This should match the master terminal (to bind the two terminals). To copy trades, you need to install the free Master copier in the terminal from where you want to copy the trades: COPYLOT
The script creates account summary report in a separate window.
The report can be created for all deals and on deals for selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
The script creates account summary report in a separate window.
The report can be created for all deals and for deals of the selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
The Heiken Ashi indicator drawn using a tick chart. It draws synthetic candlesticks that contain a definite number of ticks.
option prices - price option. It can be Bid, Ask or (Ask+Bid)/2. the number of ticks to identify Bar - number of ticks that form candlesticks. price levels count - number of displayed price levels (no levels are displayed if set to 0 or a lower value). calculated bar - number of bars on the chart.Buffer indexes: 0 - OPEN, 1 - HIGH, 2 - LOW, 3 - CLOSE.
I think you should familiar yourself with MT5 before accusing something, because not all of us have the same problem like yours.
1. Open MT5 > click Tools > click Option (or - damn it - just press Ctrl + O) > select chart tab > on "Max bars in chart" select "Unlimited" .
2. Must to do, Open Monthy Chart and scroll down to the left side of your chart (make sure to disable Auto scroll - coz auto scroll is annoying). Keep Scroll down to the left as long as you want/need. It will download all M1 data that is needed to built that Monthly chart.
I only have EURUSD and it's about 194 MB from MetaQuotes server alone. Remember that Euro was formed in 1999 so my .hcc files become big starting from 1999.hcc, and it took so long to download and built this huge size of data, so be patient is a good idea. If you want to see where your .hcc is stored, just click "File" and select "Open Data Folder".
After you finish with Monthly chart, do the same with other TF, and it also will take sometime. However don't worry about this, when the next time you open other TF (other than M1 chart) it will be shown in no time.
3. If you have gap data, right click your chart and select Refresh. It will download M1 and repair that gap.
4. If those doesn't works, you may check your broker against another broker by adding servers beside your broker. I have MT5 from MetaQuotes, and I add several server from different broker. Open MT5 > Open Navigator (Ctrl + N) > right click account and select "Open an account". There you will have "Open an Account -Trading server" window. Double click on "add new server like access:metatrader5.com:443", and type in any broker name that have or may have MT5 server.
I actually just type in any broker name without really knowing whether the broker have MT5 server or not, and viola ... now I have 7 servers from 6 brokers ... LOL ... I just need one :).
5. If you still have chart freeze up thing and data gap, check against MT4, just in case MT4 is also freeze up and check your internet connection - usually internet connection is the problem, because like I said, other user (like me) may never experience your issues. It may good idea to have several MT running at the same time, to smooth the data streaming. I have 3 - 4 MT4 running and everything is OK with all MT4 and MT5.
6. Cheer up, it is annoying but it's not the end of the world. I don't have your issue so there's good chance you will free from this problems, ... however, after all I write here to help you, and if the problem still persist ... thank God it's only you who have these problems.
All I write there, are based on my experience with MT prior 655, now is MT 655 with MetaQuotes server.
1. Unfortunately, the only way is to ask your broker. This can be fixed only on the broker side.
btw. deleting the history files completely is not necessary. It's enough t execute the "Refresh" command in the chart context menu. If the price data is corrected on the broker side, update will be applied the data on your side.
2. You're right about the M1 data. All timeframes are created on its basis. Probably, you limited the maximum bars that can be shown in a chart, and that is the reason why you see a few months of M1, and a few years on a weekly timeframe.
Just go to Options -> Charts and check the value of the "Max bars in chart" option
Hi, okay I have read your comments but unfortunately it does not solve the issue as follows:
1. The gaps were definately caused by the broker - they agreed it was their server that was down. Refreshing my chart makes no difference gaps are still there, so by the time brokers have been running a couple of years with system glitches everybodies data will be full of holes again just like MT4 was/is.
2. My charts are set to unlimited and having done the above suggestions I can confirm that my brokers M1 histoyr goes only as far as March 2012 - how crap is that I tried Alpari Uk theirs goes back to 2010 I tried Metaquotes demo like you and it goes back further.
3. So it seems clear to me that different brokers are choosing to limit the amount of M1 data available which is crap and I don't understand why the software developers are allowing it to occur as it makes mt5 useless for anything other than trading.
4. It also does not answer the question of how caome you still get daily data etc going back further - where is the info coming from if not M1.
SO I still stand by suggestion that metaquotes should provide a reliable history server where gap data can be collected from before it is too late and everyone dismisses MT5 test results because of poor data just like on MT4.
thanks for your help I learnt a little more but metaquotes need to put more pressure on brokers to do the right thing.
iCustomChart indicator allows to create custom charts based on custom history files.
Is not free, but highly recommended.
Thanks for the updates, that confirm what Alexx said (#1). I think the problem is at downloading cost. My EURUSD is about 194 MB goes back to 1999, for non-Euro pair that must be bigger than that. If there are 1,000 traders install 1 MT5, then there should be about 189 GB download from broker server for EURUSD alone - I know that's not big for server provider. However, how many are they if there are more than 1,000 traders install more than 1 MT5 and downloading more than 1 pair each month ?. I think downloading cost is what they want to avoid and so they limit the amount of M1 data.
Now that you brought this up, I do hope that MetaQuotes keeps their server data alive, so we can download more data back further time - especially since there are no means - at the moment - to create our own .hcc files, we certainly depend on what MetaQuotes provide with historical data then, and I do hope there are ways to create our own .hcc files also.
By the way, you may also want to use SymbolIsSynchronized (https://www.mql5.com/en/docs/marketinformation/symbolissynchronized) just to check if data is synched with broker's, though that does not tell whether our data has a hole and gap or not
I think all of us can create what FinGeR point at, however I prefer my data on it's own chart and not on some other pair chart. Thanks for the link FinGeR.
And thanks for the update MaxTrader.
If no good data avaiable, so data most close as possible to your brokers data, what is all the backtest worth then...?
@MaxTrader, I have found the same problem using Alpari. I posted about my problem here, and was redirected to your post.
It would seem that if a given broker decides not to store historical data before a certain date, then there is no way to get that data. As such, back-testing becomes impossible.
If I cannot back-test then I would posit that MetaTrader becomes useless to me. I am not going to spend times developing strategies in another platform's language, back-test them there, and then port that code over to MetaTrader to do the trading... I'm just going to do the trading on that other platform.
As such, I totally back your suggestion of a reliable history server.
At the moment it looks like I will have to look for another trading platform where this problem does not exist. This is very bad news for me, because I am a C++ programmer and as such was naturally keen to use MQL5 with it being so closely related to C++.
I would be very interested in hearing whether anyone has a solution to this.
Hi guys. This question is mostly to onewithzachy
I just started with this patform. I was using eSignal datafeeds 15 min delay for stocks on another platform(as apayd service). Does anyone knows how can I connect Metatrader5 to data feed provider of European stocks?
1. Find a broker that trade European stocks, maybe you can find it here for a start http://www.forexpeacearmy.com/public/forex_broker_reviews and http://www.forexfactory.com/forumdisplay.php?f=74. The data can be use for backtesting.
2. Or using what FinGer mention above (https://www.mql5.com/en/forum/7028#comment_217505 - if you can, write the code yourself, coz I hate promoting commercial product in forum ;) ), but that way, the data can not be used for backtesting :(
I have done a fair amount of work to try and resolve the above issue.
As @onewithzachy suggested - it is possible to download data from different brokers. I created a script (details here) to download the minute bars individually from each broker and export them to file.
The filename format is "number of minute bars"-"currency pair"-"time period"-"broker"
What a disparity - GoMarkets only has 88328 minute bars between now and 2000!
Anyway, I then parsed these files with a python script to do some sanity checking...
My first test was to look for gaps in time. Since I had requested minute-bars for the period of today back until 2000 I looked for any gap in time over 60 seconds long. If I found a gap which went over a weekend I subtracted the period of time for when the market is closed. This left me only with gaps which shouldn't have been gaps (ie: it pointed our missing data).
Sadly, every single broker had missing data. I created some graphs of the gaps (the x-axis is time, decreasing from now on the left until the year 2000 on the right; the y-axis is the length of the gap)
Even MetaQuotes-Demo, which has the largest number of minute bars, has huge gaps.
This is the gaps chart for GoMarkets-Demo:
This is the gaps chart for MetaQuotes-Demo, which has the most data of all the 'brokers':
As you can see there are gaps everywhere - the quality of data is quite appalling.
Anyway - I decided to press on... perhaps I could ignore the breaks in the data and do some other useful analysis. So I created a tick database:
The original idea was to have a record of each broker's ticks, and then calculate the average tick for each minute; following which I would be able to calculate the average standard deviation of each broker's data - thereby pointing to which offered the best spread etc.
Unfortunately I came up against a more serious problem... inserting the minute bars into the database violated my datetime_broker_currency constraint - this was that for a given currency pair and broker, the date/time should be unique. They weren't!!!
Several brokers had more than 1 set of OLHC for the same period of time! This is absolutely crazy - I really cannot believe that MetaQuotes would not use some kind of sanity check on its data to ensure it follows a certain set of criteria.
Let me illustrate with one simple point in time:
$ grep '2010.01.04 11:57' Files/*
Wow - AlpariFS has 2 entries for 4th January 2010 whilst MIGBank has 3 entries!
If I can jump to conclusions here I suspect what has happened is that both AlpariFS and MIGBank have loaded the MetaQuotes-Demo historical data on top of theirs (you can see that 1 of AlpariFS's ticks and 2 of MIGBank's ticks match the MetaQuotes-Demo tick).
The fact that MetaTrader allows duplicate dates is so dodgy - and it really calls into question the reliability of their system. It is for this reason that I have decided to move to another platform.
I hope this thread helps others others evaluate the quality of the back testing available in MetaTrader5.