This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
token_reference_for_file_exports [2023/01/16 22:31] tickstory [Bar] |
token_reference_for_file_exports [2023/05/08 04:22] tickstory |
||
---|---|---|---|
Line 11: | Line 11: | ||
* **{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). | * **{BarMaxSpread}** - The maximum spread that occurred in the bar, expressed in decimal (eg. 0.00021 for a 2.1 pip spread). | ||
- | * **{BarMinSpreadInt}** - The minimum 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". | * **{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". | ||
+ | * **{BarMinSpread}** - The maximum spread that occurred in the bar, expressed in decimal (eg. 0.00021 for a 2.1 pip spread). | ||
+ | * **{BarMinSpreadInt}** - The minimum 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 ===== | ||
**(These fields only applicable when using 'Tick' time frame)** | **(These fields only applicable when using 'Tick' time frame)** | ||
Line 40: | Line 42: | ||
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 (*). | 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: | ||
+ | |||
+ | <code>{Close:F0}</code> | ||
+ | |||
+ | The "0" indicates the number of digits to round to. "0" being whole numbers, "1" being 1 decimal place and so forth. | ||
===== Date/Time ===== | ===== Date/Time ===== |