How to convert pips into dollars?

 

Hi guys,

Do you know how to convert pips into dollars? Can you give a clear example about this? Please help me.

 

This code will calculate a value of a single pip value in base currencie for a current symbol and a current account

double pipModifier = MathPow(10,Digits==3 || Digits==5);

double baseCurrencie = pipModifier*MarketInfo(Symbol(),MODE_TICKVALUE);

Melle:
Hi guys, Do you know how to convert pips into dollars? Can you give a clear example about this? Please help me.
 

The actual pip value for each pair is determined by the counter currency. Below is a list of currency pairs and their respective pip value.

Pair Pip Value

EURUSD USD10

AUDUSD USD10

USDCHF CHF10

USDCAD CAD10

GBPAUD AUD10

USDJPY JPY1,000

For example, if your account is denominated in SGD, the pip value has to be expressed in SGD as well.

Let's say you are trading the EURJPY pair, the pip value is JPY1,000.

If the current SGDJPY = 64.00, then JPY1,000 = 1000/64 = SGD15.625.

So if you have a profit of 100pips, then your profit in monetary amount is SGD1562.50

Melle:
Hi guys, Do you know how to convert pips into dollars? Can you give a clear example about this? Please help me.
Reason: