ordticket[orders][0] = (int)OrderOpenTime()
Keith Watford:
ordticket[orders][0] = (int)OrderOpenTime()
Thank you, it solved the issue.
![Structures, Classes and Interfaces - Data Types - Language Basics - MQL4 Reference Structures, Classes and Interfaces - Data Types - Language Basics - MQL4 Reference](https://c.mql5.com/36/12/structures-classes-and-interfaces.png)
Structures, Classes and Interfaces - Data Types - Language Basics - MQL4 Reference
- docs.mql4.com
Structures, Classes and Interfaces - Data Types - Language Basics - MQL4 Reference
Yep, use a single dimension array of a structure. See Sort multiple arrays - MQL4 and MetaTrader 4 - MQL4 programming forum
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
How to solve "Possible loss of data due to type conversion"?
Thanks for the help.