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.
Craig:
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 ???
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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)..'