![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
according to me the best way to do
calculate pointvalueperlot
profit / pointvalueperlot == profitpoints per lot
on 5 digitbroker 10 point is 1 pip
and 4 digitbroker 1 point is 1 pip
I don't like the calculations with trading several lotsizes and all counting difference orderopenprice and ordercloseprice
How can this ever be true ?
. . . the number of Digits can be 3 or 5 it can't be 3 AND 5 . . .
Profit is in Dollars or Euros. PipsMultiplier (or my pips2dbl) just adjusts for 4/5 digit broker points to pips. The two are unrelated. Like asking how many apples are in 5 oranges.
You need the conversion factor PipValuePerLot
if someone like me land here from google, this is the function I've developed
since I cut it from a class it's not a full code as you need to set those missing values like _digits, ...