This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
token_reference_for_file_exports [2019/05/22 06:36] tickstory Added new token info |
token_reference_for_file_exports [2019/05/22 06:38] tickstory [Special] |
||
---|---|---|---|
Line 10: | Line 10: | ||
* **{Volume}** - The traded volume for that bar. | * **{Volume}** - The traded volume for that bar. | ||
* **{BarTickCount}** - The number of tick/price movements that occurred within a bar. | * **{BarTickCount}** - The number of tick/price movements that occurred within a bar. | ||
+ | * **{BarMaxSpread}** - The maximum spread that occurred in the bar, expressed in decimal (eg. 0.00021 for a 2.1 pip spread). | ||
* **{BarMaxSpreadInt}** - The maximum spread that occurred within a bar, expressed as an integer. For a 4-digit symbol, this will appear as "2" for a 2.1 pip spread and for a 5-digit symbol, it would appear as "21". | * **{BarMaxSpreadInt}** - The maximum spread that occurred within a bar, expressed as an integer. For a 4-digit symbol, this will appear as "2" for a 2.1 pip spread and for a 5-digit symbol, it would appear as "21". | ||
===== Tick ===== | ===== Tick ===== | ||
Line 25: | Line 26: | ||
* **{Comma}** - Inserts a comma into the output (or you can just use the **,** character). | * **{Comma}** - Inserts a comma into the output (or you can just use the **,** character). | ||
* **{Tab}** - Inserts a tab into the output | * **{Tab}** - Inserts a tab into the output | ||
+ | * **{Random:x,y}** - A random number between x and y (inclusive). For example, {Random:1,20} will pick a random number between 1 and 20. These values can be used to generate random spreads, for example. | ||
===== Instrument ===== | ===== Instrument ===== |