MT5 is 64 bits (x64)
older MT4 is 32 bits (x86)
Yip Sin Hang #: Thank you for your explanation. So I was using mt4 to test it. Does it mean my MT4 was old ?
Please note that the text "//--- For the 32-bit system" is just a comment. It could easily say 1024-bit system. It has no influence in the code.
It was probably taken from something else and used out of context. Your example is just of normal MQL code.
Please read the following for more information ...
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
What means by? 32-bit system here? I think this is the only thing i need to fix.
//--- For the 32-bit system