Point value shows up as zero

 

I have the following simple code to test out MT4 ready for back-testing.

Alert("Symbol:= ",Symbol());
Alert("Ask:= ", Ask);
Alert("Bid:= ", Bid);
Alert("Bars:= ", Bars);
Alert("Point:= ",Point);
Alert("Value:= ", Digits);
Alert("Time:= ", Time[0]);

The Point value always shows up as 0 for any FX pair. I even tried using MarketInfo(Symbol(),MODE_POINT) but got the same result - 0.

I was expecting to see either 0.0001 or 0.01....what am I doing wrong?

MR

 

Because of the tiny numeric value, try using the DoubleToStr() function to preconvert to a known number of decimals.


e.g. --


Alert("Point:= ",DoubleToStr(Point,6));