Is it vooddoo? Why is e-05 added at the end of some of my doubles? A search engine query didn't help. - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Please guys don't give up.
Hey ...
https://www.mql5.com/en/docs/math/mathisvalidnumber
Hey ...
https://www.mql5.com/en/docs/math/mathisvalidnumber
I found something.
_Point and MarketInfo(_Symbol,MODE_POINT) are both = 1e-05 !?
In MQL programming, _Point is the smallest unit of price change, for example, price in EURUSD change every 0.00001, while price in GBPJPY change every 0.001.
MarketInfo(_Symbol,MODE_POINT):
Point size in the quote currency. For the current symbol, it is stored in the predefined variable Point
So yes, just two different ways to get the same value.
In MQL programming, _Point is the smallest unit of price change, for example, price in EURUSD change every 0.00001, while price in GBPJPY change every 0.001.
MarketInfo(_Symbol,MODE_POINT):
Point size in the quote currency. For the current symbol, it is stored in the predefined variable Point
So yes, just two different ways to get the same value.
What? You didn't explain why I get the useless value 1e-05 instead of 0.00001 or 0.001.
What? You didn't explain why I get the useless value 1e-05 instead of 0.00001 or 0.001.
He did, in fact more helpfull guys did.
Forum on trading, automated trading systems and testing trading strategies
Is it vooddoo? Why is e-05 added at the end of some of my doubles? A search engine query didn't help.
tomm73, 2020.01.09 20:10
What? You didn't explain why I get the useless value 1e-05 instead of 0.00001 or 0.001.
Wow, okay. I give up. Reread everything I wrote from the beginning. All your questions are long answered.
He did, in fact more helpfull guys did.
Why don't I get the numerical notation like I'm supposed to? Knowing that it's the same thing doesn't explain why it breaks my code.
Sorry. Looks like there was no supernatural explanation this time. I had just forgotten to comment out a faulty function that I had just modified, or something like that. At least I learned something about the scientific notation.
Still a question remains: why did the search results disappear? Yesterday I said: " I just noticed that the results I was getting earlier when searching for 'e-05' on this forum have disappeared. "
Sorry. Looks like there was no supernatural explanation this time. I had just forgotten to comment out a faulty function that I had just modified. At least I learned something about the scientific notation.
Still a question remains: why did the search results disappear? Yesterday I said: " I just noticed that the results I was getting earlier when searching for 'e-05' on this forum have disappeared. "
Are you stupid or just kidding us ?
Ask-Bid = <spread>e^05 ; it won't change your ea's math.
If you need to display it fully as a text then :
Got it ?
Are you stupid or just kidding us ?
Ask-Bid = <spread>e^05 ; it won't change your ea's math.
If you need to display it fully as a text then :
Got it ?
I just said the problem was not in the scientific notation, so there's no need to talk about that anymore.