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
I have found that if an argument type to a .DLL function is defined as "bool" in the function definition in the .mqh file a binary value of all zeros is passed to the the .DLL code whether the actual argument value is true or false. This problem is present irrespective of whether the C code defines the argument type as bool or int.
If the argument type is defined as "int" in the .mqh file then a correct binary value (0 for false and 1 for true) is passed.
This is on build 226, I have not tried it on previous versions.