XAUUSD – discrepancy between Tick Value and OrderCalcProfit on MetaQuotes-Demo
1. No the tick value reported is not correct.
2. OrderCalcProfit returns the correct value.
3. OrderCalcProfit.
4. It's a common issue that tickvalue and or ticksize are wrongly set on several servers (brokers, and sometimes on MetaQuotes-Demo).
Hello,
I am investigating a discrepancy in the XAUUSD symbol specifications on a MetaQuotes-Demo account.
The following values were read directly from MT5:
Symbol: XAUUSD
Calculation mode: SYMBOL_CALC_MODE_CFDLEVERAGE
Contract size: 100
Tick size: 0.01
Point: 0.01
Profit currency: USD
Account currency: USD
SYMBOL_TRADE_TICK_VALUE: 0.10 USD
SYMBOL_TRADE_TICK_VALUE_PROFIT: 0.10 USD
SYMBOL_TRADE_TICK_VALUE_LOSS: 0.10 USD
However, OrderCalcProfit returns:
BUY, 1.00 lot, 3986.42 → 3986.43: +1.00 USD
BUY, 1.00 lot, 3986.42 → 3986.41: -1.00 USD
SELL, 1.00 lot, 3986.29 → 3986.28: +1.00 USD
SELL, 1.00 lot, 3986.29 → 3986.30: -1.00 USD
The price movement in each case is exactly one tick (0.01).
Could you please clarify:
Is the reported tick value of 0.10 USD per 1.00 lot correct for this XAUUSD contract?
If so, what explains the difference from the 1.00 USD result returned by OrderCalcProfit?
What is the officially correct method and value to use when calculating position size and monetary risk for this symbol?
Is this a known issue or a specific contract specification on MetaQuotes-Demo?
I would appreciate an explanation of the intended contract calculation and tick-value convention.
Thank you.