Table of Contents

Token Reference for Custom File Formats

Special “tokens” are simply text within parenthesis that is translated by the system before being output. For example, the {Symbol} token automatically gets translated into the instrument symbol that is currently being exported (eg. “EURUSD”). Below is a list of special tokens that are recognised by the system and you can use to design your own custom export file formats.

Bar

(These fields are only applicable when generating bar data i.e. all except for 'Tick' time frame)

Tick

(These fields only applicable when using 'Tick' time frame)

Special

Instrument

Altering Token Output

Some numeric tokens provide the ability to modify their values. If, for example, you wish to add an additional spread to the BidPrice of a token, you can specify:

{BidPrice+0.0001}

This will add an amount of 0.0001 to the original output value. Similarly, most mathematical calculations can be applied including subtraction (-), division (/) and multiplication (*).

It is also possible to round numbers to the nearest digit using the “F” specifier like so:

{Close:F0}

The “0” indicates the number of digits to round to. “0” being whole numbers, “1” being 1 decimal place and so forth.

Date/Time

Data/time format specifiers & descriptions

The specifiers below allow you to fine-tune the format of any date/time fields.

Date/Time Examples

Outputting the Tick Time-stamp

Outputting the Bar Time-stamp