lastpunisher:
Try to pass a ref to the structure
Hi,
I would expect the following code to work. But MQL giving "'Order' - illegal returned type".
Any idea why?
Best Regards,
Hendrik
Because MQL supports only fundamental types as return values.
Convert structure to string and then send string, receive string convert back to structure.
Converting to string is inconsistent. Do not use strings for binary data.
Strings have a stop byte. It won't work due to length detection issues.
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
Hi,
I would expect the following code to work. But MQL giving "'Order' - illegal returned type".
Any idea why?
Best Regards,
Hendrik