This is weird. My Expert Advisor was working and 5 minutes later I couldn't make it work again.
Investigating led me to this issue. It seems like some numbers get corrupted, because NormalizeDouble() and other functions
taking doubles as input will only output zero with them.
Note that I didn't touch the problematic function before it broke. And the little I changed I converted to comments to narrow down the problem.
Thanks for your input. I just saw other threads about this notation on the forum, but in my case most of the problematic numbers don't have a leading
It hasn't "broke without reason." You just didn't notice it before. 1E-5 is less characters than 0.00001.
It hasn't "broke without reason." You just didn't notice it before.
I would have noticed if didn't work, but like I said it was working and BOOM, it stopped working out of nowhere 5 minutes later.
1E-5 is less characters than 0.00001.
Yes but why do other people on the forum get 1e-05? I just noticed that the results I was getting earlier when searching for "e-05" on this forum
have disappeared. Who is messing with me again?
I found something.
_Point and MarketInfo(_Symbol,MODE_POINT) are both = 1e-05 !?