Go Back   DailyFX Forex Forum | FX Forum

View Single Post
  #2 (permalink)  
Old 07-26-2009, 08:39 PM
Nikolay.Gekht Nikolay.Gekht is offline
Member
 
Join Date: Oct 2008
Posts: 609
Nikolay.Gekht is on a distinguished road
A data file is a simple text file. Each line is one period, data are separated by the semicolon (;). Decimal point symbol is the point (.)
The first line is a common description of the file:
Fields:
1 Must be HDR, a marker of the header line
2 Name of the instrument
3 Date and time of the snapshot start in DD.MM.YYYY hh:mm:ss format
4 Date and time of the snapshot end in DD.MM.YYYY hh:mm:ss format
5 The duration of the period (e.g. m1, m5, m15, m30, h1, h2, h4... and so on)
6 flag (1 or 0) indicating whether data lines contains volume of trades
7 Pipsize of the instrument.
Example:
HDR;AAPL;15.05.2006 00:00:00;12.05.2008 00:00:00;d1;1;0.01
All other lines shall contains prices
Fields:
1) Must be DAT, a market of the data line
2) Date and time of the period
3) Open price of the Bid candle
4) High price of the Bid candle
5) Low price of the Bid candle
6) Close price of the Bid candle
7) Open price of the Ask candle
8) High price of the Ask candle
9) Low price of the Ask candle
10) Close price of the Ask candle
11) Bid volume (if field 6 of the header is 1)
12) Ask volume (if field 6 of the header is 1)
Example:
DAT;15.05.2006 00:00:00;67.37;68.38;67.12;67.79;67.4;68.41;67.15; 67.82;18899200;18899200

You can also save any data from the Marketscope application for the further usage in the debugger. (File->File->Save Chart As (Choose "Indicore SDK Data" format").
Reply With Quote
 


Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.

All times are GMT -5. The time now is 09:05 AM.
Copyright ©2009 Daily FX. All Rights Reserved.