Here is a tough question for the big brains!

 

Check this out.


When I use iOpen/iClose/iLow/iHigh I get 2 or 4 digitis returned depending on currency - eurusd 1.4320 usdjpy 90.21


BUT


In reality the price on the chart is 5 digits! That is, they include pipettes!


So how come that iClose and the rest cant pick up the pipette!!!?


Regards

 
soniabvc:

When I use iOpen/iClose/iLow/iHigh I get 2 or 4 digitis returned depending on currency - eurusd 1.4320 usdjpy 90.21


Not that tough..

I guess you are using Print to check values of variables?

Print defaults to 4 digits so you will only see up to 4 digits unless you use DoubleToStr to show the full precision

Good Luck

-BB-

 
BarrowBoy:


Not that tough..

I guess you are using Print to check values of variables?

Print defaults to 4 digits so you will only see up to 4 digits unless you use DoubleToStr to show the full precision

Good Luck

-BB-


... and Alert() and Comment() also work in this way.

 

I always get the correct amount of digitis with iClose, etc. too...

thank you

Automated (automatedfx@gmail.com)

--
http://www.forexmosaic.com/ - free publishing, analyzing and portfolio building service

Reason: