Page 1 of 1

XAUUSD MT5 2 digits data

Posted: Mon May 08, 2023 1:18 am
by aikokc
Hello,

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

Thanks,
Aikokc

Re: XAUUSD MT5 2 digits data

Posted: Mon May 08, 2023 4:23 am
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.