call your broker & ask him how it's calculated
och: MarketInfo(Symbol(),MODE_TICKVALUE) does simply do not retrive the rigth value, so this is not possible to calculate a pip value
You only have half of the equation. See DeltaValuePerLot()
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Dear All,
As MT4 support does not take care to response can someone explain how to calculate the pip value for one lot for some instrument.
For all major currencies when MODE_TICKVALUE is correctly provide by the broker, it is easy, but when the value is not given how can we calculate this value?
Does anyone have any experience on that?
Regards,
Dear Support,
Long time ago I posted the following https://forum.mql4.com/41872 because on some broker and support (indice, gold or Silver) MarketInfo(Symbol(),MODE_TICKVALUE) does simply do not retrive the rigth value, so this is not possible to calculate a pip value (in account currency) for 1 lot.
Can you please :
1. explain why OrderCalcProfit() is not implemented in the new MQL Object Oriented language. Will it be impemented?
2. Can you provide the code from MQL5?
3. or can you explain for example how we can retrieve the pip value (in account currncy) of SPX500 on FXCM broker. Or broker you want but we need an instrument and a broker with a wrong MODE_TICKVALUE.
Regards,
Olivier
No response?
Regards,
Olivier