I would like some code or function to get the Factor for any currency
I would use the factor to calculate the dollars of Profit/Loss for any given Lot size.
Lot Size: 1.0
Pips Move: +100
CalcDollars = 100 * (Factor @ 1.0 Lot)
If calculated Factor = 1.15
CalcDollars = 100*(1.15)
CalcDollars= +$115 Profit
Does anyone have some code to get this Factor?
Any pair ending in USD , 1 pip move is worth $10 for 1 lot
XXXCAD, is 10 CAD
XXX GBP is 10 GBP
Most pairs are worth about $10 per PIP. A $5 risk with a
(very small) 5 PIP SL is $5/$10/5 or 0.1 Lots maximum.
Nothing is simple as it seems.
I will have to study this.
I was hoping that I could use an Existing function
that would just give me the Pre-Calculated Factor