MetaTrader4
Collect Tick Data Easily: A Handy Indicator for MetaTrader 4
Description:
If you're looking to dive deeper into trading strategies or backtest your ideas, but lack high-frequency forex data, this post is for you!
I’ve got a simple tick data collector written in MQL4 that allows you to gather tick data on any symbol you choose. Think of it as your quiet assistant—once you drop it on your chart, it goes to work fetching every tick and saving it to a file in the experts\files subfolder.
The collected data is stored with the symbol in the file name. For example, if you’re working with the Euro against the Dollar, your file will be named EURUSD_tick.csv. This data will be saved from the moment you add the indicator until you decide to remove it from your list.
Here’s a sneak peek of what the saved CSV file will look like:
datatime,open,high,low,close,volume
1317642960,1.54739,1.54739,1.54697,1.54697,20
1317642960,1.54739,1.54739,1.54697,1.54701,21
1317643020,1.54705,1.54705,1.54705,1.54705,1
1317643020,1.54705,1.54709,1.54705,1.54709,2
1317643020,1.54705,1.54716,1.54705,1.54716,4
1317643020,1.54705,1.5472,1.54705,1.5472,5
1317643020,1.54705,1.54723,1.54705,1.54723,6
... (continues)
This data can be a game changer for your trading strategies. With this tick data collector, you’re not just trading; you’re trading smart!
2011.10.17