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