From Dev.to
Writing a forex position size calculator in JavaScript: the pip value bugs
Most forex position size calculators online are one formula: lots = risk / (stop_pips × pip_value) That formula is right. The bugs live in the two inputs nobody explains: the pip value, and what you...
