{"id":9363,"date":"2015-03-03T19:13:42","date_gmt":"2015-03-04T03:13:42","guid":{"rendered":"http:\/\/www.tradingheroes.com\/?p=9363"},"modified":"2024-03-22T11:31:49","modified_gmt":"2024-03-22T18:31:49","slug":"how-to-download-historical-forex-data-for-the-timeframe-you-need","status":"publish","type":"post","link":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/","title":{"rendered":"How to Download Historical Forex Data For the Timeframe You Need"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9366\" src=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/forex-historic-data.jpg\" alt=\"forex-historic-data\" width=\"600\" height=\"300\" \/><\/p>\n<h2>Why You Need Historical Forex Data<\/h2>\n<p>The obvious use for historical data is backtesting. You can easily upload it into your backtesting software to test a manual or automated strategy.<\/p>\n<p>But the raw historical data itself can be useful. <strong>There are some studies that you can do with raw data that are much <em>easier<\/em> to do in Excel, than with a full-blown software solution.\u00a0<\/strong>You might be surprised at how easy is it to find some things in Excel that are much harder to do in backtesting software.<\/p>\n<p>So in this post, I'm going to show you where to get free Forex historical data for Excel analysis and tailor it to suit your needs. This skill will give you more ways of analyzing the markets and extracting profitable trading patterns.<\/p>\n<h2>Where To Get Forex Data<\/h2>\n<p>There are a few ways to download historical Forex data. I provide my latest finds on the <a href=\"https:\/\/www.tradingheroes.com\/resources\/\" target=\"_blank\" rel=\"noopener noreferrer\">Resources<\/a> page.<\/p>\n<p>Most quality sources provide data back to about 2001. If you can find clean data sources that go back further than that, let me know in the comments below.<\/p>\n<p>But for all intents and purposes, 14+ years of data is good for most testing purposes. I would list the data sources here, but blog posts do not get updated nearly as often as the Resources page, so just check that page for my latest suggestions.<\/p>\n<p><strong>Now let's get into how to do the actual Forex data mining.<\/strong><\/p>\n<h2>Load The Data Into Your Forex Software<\/h2>\n<p>Before we get into the more manual methods, let's take a look at the easiest way to examine multiple timeframes. The first way of using your data is simple. Your <a href=\"https:\/\/www.tradingheroes.com\/naked-markets-software-review\/\"  data-wpil-monitor-id=\"56\">backtesting software<\/a> will take care of most of heavy lifting, so you just need to have a Comma Separated Values (CSV) file and use the upload feature.<\/p>\n<p>For example, you just click a button in <a href=\"https:\/\/www.tradingheroes.com\/fxtester\" target=\"_blank\" rel=\"noopener noreferrer\">Forex Tester 2<\/a>. The software creates the data for the different timeframes and you are all set.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9369\" src=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/data-center-import.jpg\" alt=\"data-center-import\" width=\"564\" height=\"462\" \/><\/p>\n<p>If you want to make it even easier, then simply click on the <em>Update from server button. <\/em>The software will manage the download for you. In a couple of minutes, you will have the latest data and you don't have to mess around with a separate file.<\/p>\n<p>Then simply change the timeframe on the chart and you instantly have the chart you need. But looking at a chart isn't always the best way to analyze data.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9370\" src=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/trading-timeframes-for-charts.jpg\" alt=\"chart timeframes\" width=\"200\" height=\"305\" \/><\/p>\n<p>Now let's take a look at what it takes to work with the raw files. This may work for some people, but it isn't the easiest way to go about it.<\/p>\n<p>However, I would like to show it to you so you understand how much trouble it can be to do everything 100% manual. <em>Don't worry, I will show you an easier way after this.<\/em><\/p>\n<h2>Using Excel Analyze Your Data<\/h2>\n<p>You can use Excel to get the data you need, if you are in a pinch. And I mean if you are <em>really<\/em> in a pinch. You will see what I mean in a moment.<\/p>\n<p>For example, let's say that you want to create daily candles from 4 hour candles. The more likely scenario is that you will want to create something like 1 hour candles from 1 minute candles, but this example is easier to demonstrate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9372\" src=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/fx-market-open-close.jpg\" alt=\"fx-market-open-close\" width=\"700\" height=\"128\" \/><\/p>\n<p>First, you can add references to the open and close. Just set the open and close to the open and close of the day. That is super simple.<\/p>\n<p>Next, you can find the highest high and lowest low in the series by using the formulas:<\/p>\n<ul>\n<li>=Max(High Column)<\/li>\n<li>=Min(Low Column)<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9375\" src=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/high-low.jpg\" alt=\"high-low\" width=\"700\" height=\"128\" \/><\/p>\n<p>This will give you the high and the low for the day. Then highlight all the cells for that day, including the formula cells and drag it down to replicate the formula. You can then copy all the cells with the daily totals and sort by the date to give you a new data set.<\/p>\n<p>Whew, yeah that takes a long freaking time. Especially if you are dealing with tick data. It can also take some trial and error to get it right.<\/p>\n<p><strong>That is why I prefer the hybrid data collection method.<\/strong><\/p>\n<h2>Hybrid Analysis<\/h2>\n<p>There is a far easier method than using only Excel however. Think of it as a hybrid, taking the best of both worlds. This gives you the benefit of Excel analysis, without the pain of all the manual setup.<\/p>\n<p>You can use <a href=\"https:\/\/www.tradingheroes.com\/fxtester\" target=\"_blank\" rel=\"noopener noreferrer\">Forex Tester 2<\/a> to create the data aggregation for you. Simply go into Data Center and make sure that the data is updated to the most recent data.<\/p>\n<p>Then click on the <em>Export<\/em> button. In the next window, select where you want to export the file to and the date range. Select the currency pair, then the timeframe that you want to export.<\/p>\n<p>Finally, click on the <em>Export<\/em> button (yes the other one) and you are all set. Unlike importing new data, the export is actually pretty quick.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9378\" src=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/exporting-daily-bars.jpg\" alt=\"exporting-daily-bars\" width=\"564\" height=\"464\" \/><\/p>\n<p>Now you have a file that is aggregated into the timeframe that you want to analyze. How easy was that?!<\/p>\n<h2>Conclusion<\/h2>\n<p>This post is setting the foundation for future tutorial in which I will use Excel analysis to examine price patterns. Using Excel is not the best method in all cases. But as you will see, it is much more efficient in certain instances.<\/p>\n<p>Understanding how to get this data will allow you to follow along in future posts and hopefully help you do some of your own analysis. Stay tuned as we really dig into the analysis of different common trading setups. Find out if they really work and what you can expect.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><em>Disclosure: I do get a commission if you buy through some of the links on this page. But it does NOT cost you anything extra, it helps me create more useful trading stuff and I donate a portion to my charity partner.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you are looking for data for a particular timeframe and you cannot find it. For example, maybe you want 4 hour data, but all you can find is 1 minute data. This post will show you how to convert that data easily and quickly. <\/p>\n","protected":false},"author":2022,"featured_media":9367,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201007],"tags":[885],"class_list":["post-9363","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trading-software-tutorials","tag-forex-data","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Download Historical Forex Data For A Specific Timeframe<\/title>\n<meta name=\"description\" content=\"It&#039;s not hard to download historical Forex Data. You can find it on a lot of sites. The trick is to get it for the timeframe you need, here&#039;s how to do it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Download Historical Forex Data For A Specific Timeframe\" \/>\n<meta property=\"og:description\" content=\"It&#039;s not hard to download historical Forex Data. You can find it on a lot of sites. The trick is to get it for the timeframe you need, here&#039;s how to do it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/\" \/>\n<meta property=\"og:site_name\" content=\"Trading Heroes\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/tradingheroes\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-04T03:13:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-22T18:31:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/trading-watch.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hugh Kimura\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tradingheroes\" \/>\n<meta name=\"twitter:site\" content=\"@tradingheroes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Download Historical Forex Data For A Specific Timeframe","description":"It's not hard to download historical Forex Data. You can find it on a lot of sites. The trick is to get it for the timeframe you need, here's how to do it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/","og_locale":"en_US","og_type":"article","og_title":"Download Historical Forex Data For A Specific Timeframe","og_description":"It's not hard to download historical Forex Data. You can find it on a lot of sites. The trick is to get it for the timeframe you need, here's how to do it.","og_url":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/","og_site_name":"Trading Heroes","article_publisher":"https:\/\/www.facebook.com\/tradingheroes","article_published_time":"2015-03-04T03:13:42+00:00","article_modified_time":"2024-03-22T18:31:49+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/trading-watch.jpg","type":"image\/jpeg"}],"author":"Hugh Kimura","twitter_card":"summary_large_image","twitter_creator":"@tradingheroes","twitter_site":"@tradingheroes","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/#article","isPartOf":{"@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/"},"author":{"name":"Hugh Kimura","@id":"https:\/\/www.tradingheroes.com\/#\/schema\/person\/7224f1a7b68144f87391c62a49d7890a"},"headline":"How to Download Historical Forex Data For the Timeframe You Need","datePublished":"2015-03-04T03:13:42+00:00","dateModified":"2024-03-22T18:31:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/"},"wordCount":1001,"publisher":{"@id":"https:\/\/www.tradingheroes.com\/#organization"},"image":{"@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/trading-watch.jpg","keywords":["Forex Data"],"articleSection":["Trading Software Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/","url":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/","name":"Download Historical Forex Data For A Specific Timeframe","isPartOf":{"@id":"https:\/\/www.tradingheroes.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/#primaryimage"},"image":{"@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/trading-watch.jpg","datePublished":"2015-03-04T03:13:42+00:00","dateModified":"2024-03-22T18:31:49+00:00","description":"It's not hard to download historical Forex Data. You can find it on a lot of sites. The trick is to get it for the timeframe you need, here's how to do it.","breadcrumb":{"@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/#primaryimage","url":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/trading-watch.jpg","contentUrl":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/trading-watch.jpg","width":150,"height":150,"caption":"Use the right timeframe for trading"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tradingheroes.com\/how-to-download-historical-forex-data-for-the-timeframe-you-need\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tradingheroes.com\/"},{"@type":"ListItem","position":2,"name":"Trading Software Tutorials","item":"https:\/\/www.tradingheroes.com\/category\/trading-software-tutorials\/"},{"@type":"ListItem","position":3,"name":"How to Download Historical Forex Data For the Timeframe You Need"}]},{"@type":"WebSite","@id":"https:\/\/www.tradingheroes.com\/#website","url":"https:\/\/www.tradingheroes.com\/","name":"Trading Heroes","description":"Discover Your Grail Trading Strategy","publisher":{"@id":"https:\/\/www.tradingheroes.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tradingheroes.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.tradingheroes.com\/#organization","name":"Trading Heroes","url":"https:\/\/www.tradingheroes.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tradingheroes.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/login-logo.png","contentUrl":"https:\/\/www.tradingheroes.com\/wp-content\/uploads\/login-logo.png","width":300,"height":150,"caption":"Trading Heroes"},"image":{"@id":"https:\/\/www.tradingheroes.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/tradingheroes","https:\/\/x.com\/tradingheroes","https:\/\/www.instagram.com\/tradingheroes\/","https:\/\/www.linkedin.com\/company\/tradingheroes\/"]},{"@type":"Person","@id":"https:\/\/www.tradingheroes.com\/#\/schema\/person\/7224f1a7b68144f87391c62a49d7890a","name":"Hugh Kimura","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tradingheroes.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/15cd48e3c506e09e7a3b4edf8b221373f1e4e1a9148bbce44c77ff5db1e86693?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/15cd48e3c506e09e7a3b4edf8b221373f1e4e1a9148bbce44c77ff5db1e86693?s=96&d=mm&r=g","caption":"Hugh Kimura"},"description":"Hi, I'm Hugh and I'm an independent trader. Before starting Trading Heroes in 2007, I used to work at the trading desk of a hedge fund, for one of the largest banks in the world and at an IBM Premier Business Partner. Learn more about me here and read more of my articles here.","sameAs":["https:\/\/www.tradingheroes.com\/"],"url":"https:\/\/www.tradingheroes.com\/author\/hughkimura\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/posts\/9363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/users\/2022"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/comments?post=9363"}],"version-history":[{"count":2,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/posts\/9363\/revisions"}],"predecessor-version":[{"id":1024940,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/posts\/9363\/revisions\/1024940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/media\/9367"}],"wp:attachment":[{"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/media?parent=9363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/categories?post=9363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tradingheroes.com\/wp-json\/wp\/v2\/tags?post=9363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}