Hi Guys,
I'm writing a function that takes as parameters pair, current price, pips and returns price by adding or subtracting specified pip amount to/from quote price.
I understand the special cases like JPY need separate handling, however what is the general formula to find new price based on current price +/- pips?
I'm making a custom order entry calculator, that will help me adjust SL and TP based on PIP amount by constantly recalculating TP and SL prices.
I'm writing a function that takes as parameters pair, current price, pips and returns price by adding or subtracting specified pip amount to/from quote price.
I understand the special cases like JPY need separate handling, however what is the general formula to find new price based on current price +/- pips?
I'm making a custom order entry calculator, that will help me adjust SL and TP based on PIP amount by constantly recalculating TP and SL prices.