Carlos Moreno Gonzalez: I've bumped into some snippets here and there for normalizing the lot size, and I've seen two different versions. I've searched the documentation, and it seems both are active, not obsolete, so I'm not sure if there's some sort of nuance in using one way or another. Can anyone clarify that for me, please?
"MarketInfo" is the old MQL4 functionality, which I personally consider almost obsolete (only available on MQL4).
"SymbolInfoDouble" is the modern MQL4+/MQL5 functionality (available on both MQL4 and MQL5).

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
Hello,
I've bumped into some snippets here and there for normalizing the lot size, and I've seen two different versions. I've searched the documentation, and it seems both are active, not obsolete, so I'm not sure if there's some sort of nuance in using one way or another. Can anyone clarify that for me, please? Thanks in advance.
Option 1
Option 2