
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
Here is the code:
Here are the compilation results:
As per the code example at https://docs.mql4.com/basis/types/casting#casting_structure, a struct with 1 element can be assigned to a struct with 2 elements of different numeric data type.
So why can't a struct with 8 elements be assigned to a struct with the same 8 elements, same numeric data types, along with one additional numeric element?