![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
ArraySort sorts an array of any dimension by the the first dimension.
So if I have data in the dimension [2] that I want to sort, I have to move it to [1]. Then sort it...
Ok...
As for the different datatype thing, I assume datetimes are ints, so you could store one in an array of doubles.
This highlights one of mqls biggest problems, no composite data structures (therefore no lists, etc).
I am currently writting EA's which make extensive use of arrays & debugging them is an exercise in frustration.
I don't understand why instead of recreating C, Metaquotes just don't offer a . NET or COM API so we can use a language of choice and the associated debugger.
Yep.
As for the different datatype thing, I assume datetimes are ints, so you could store one in an array of doubles.
This highlights one of mqls biggest problems, no composite data structures (therefore no lists, etc).
I am currently writting EA's which make extensive use of arrays & debugging them is an exercise in frustration.
I don't understand why instead of recreating C, Metaquotes just don't offer a . NET or COM API so we can use a language of choice and the associated debugger.
Good Idea dude...MT4 language is soo close to C and C# anyways !
Any chance you looking at my other request on moving average code ???
Thanks heaps : 'Moving average code (not predefind data)..'