How To Get Indicator Value From a Different Timeframe in Mql5 - page 2

To add comments, please log in or register
Seng Joo Thio
750
Seng Joo Thio  
bahtah7:


i tested your code on M30 and the value of shift 1 in the comment is 6.4 but shift 1 in Data Windows is 0.0000642 , i changed the code to get shift 4 and i get it right it still the last shifts 1, 2, and 3 that get wrong values .

Oh... 0.0000642 equals to 6.42x10^-5, and 10^-5 is just a way to express 1/100000...this is not wrong. 
You can try DoubleToString(OsMaS3) in your Comment(). 
bahtah7
40
bahtah7  
Seng Joo Thio:
Oh... 0.0000642 equals to 6.42x10^-5, and 10^-5 is just a way to express 1/100000...this is not wrong. 
You can try DoubleToString(OsMaS3) in your Comment(). 

oh , i didn't see the 10^-5 part, that's correct , thank you very much .

12
To add comments, please log in or register