Can anyone help me work out why the following code results in a zero, and hence returns a divide by zero error.
This code works fine on my machine, and only occurs a problem on my friends machine.
point=MarketInfo(pair,MODE_POINT);
Print("POINT=",point," ",pair);
pips_body=(close-open)/point;
We both use the same broker FXCM.
This code works fine on my machine, and only occurs a problem on my friends machine.
point=MarketInfo(pair,MODE_POINT);
Print("POINT=",point," ",pair);
pips_body=(close-open)/point;
We both use the same broker FXCM.