XAUUSD MT5 2 digits data

General discussion about the Tickstory Lite software package.
Post Reply
aikokc
Posts: 1
Joined: Mon May 08, 2023 1:15 am

XAUUSD MT5 2 digits data

Post by aikokc »

Hello,

Is there a way to export XAUUSD data to MT5 in 2 digits instead of 3 digits?

Thanks,
Aikokc

tickstory
Posts: 4883
Joined: Sun Jan 06, 2013 12:27 am

Re: XAUUSD MT5 2 digits data

Post by tickstory »

Hi Aikokc,

I believe MT5 allows you to set the instrument to be 2 digits when you create it within Metatrader.
Alternatively, if you want to force 2 digits on the exported data you can use the "F2" format specifier like so:

{Close:F2}

This will round the price to the nearest 2 decimal places. You can find more information about this in this section of the manual.

Hope this helps.

Post Reply