doesn't exist. You have to use an array of integer and depending on how your struct is composed and the data is aligned more or less complicated bit manipulation/shifting/anding/oring. Integer in mql4 is a 32 bit signed long integer (4 byte). If you have control over the C++ code then just make it pass data only as arrays of long (or arrays of double (8 byte) for floating point numbers) or structs that are only composed of either only long or only double and treat them as arrays on the mql4 side.
I was hoping these russians would make things a little easier than that, but what you said will work. Thanks again!
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
can i define a C++ Struct in MQL4?
i typed in "struct" to see if it gets highlighted like int, double, etc, but it doesn't seem to exist. Is there anything equivalent?