input int Slippage=5;
Pips=Point;// 0.0001 and 0.01 on old broker or .00001 and .001 on new broker
if(Digits==5 || Digits==3) //0.00001 becomes 0.0001 and 0.001 becomes 0.01
Wrong. Only way(for now) is to cretae user setting point_koef=10;
and than use Point*point_koef
USDRUB has 4 digits, so your construction of tranforming to pip will be ignored(3 or 5).
So it is mistake.
P.S. 1pip for USDRUB=0.001
As I said
Not wrong unless you think that 1 pip is not 0.0001 for 4 digit symbols
I consider 1 pip to be 0.0001
As you wish.
Use function that will works not in all pairs.
you are the most "funny" guy here around.
All these debates around a pip are waste of time, a pip is what the trader want it to be.
To add comments, please log in or register