Does anyone have experience using PCRE for Windows and MetaTrader 4? The dll has the functions: pcre *pcre_compile(const char *pattern, int options, const char **errptr, int *erroffset, const unsigned char *tableptr); pcre *pcre_compile2(const char
I was curious about the speed of mql4 compared to mql5, so I did a little test. I implemented a simple prime searching algorithm and ran in MT4 and MT5. Code in MQL4: int filehandle, i, d; double x; int start() { Print ( TimeLocal ());
I'm just wondering that is it possible to get an array's name (identifier) that was passed to a function ? For example: int ThisIsMyArray[ 10 ]; string MyFunction( int &array[]) { return (???); } void OnInit () { Print
I would like to display data on the chart in several lines. How could I do it without defining a new object for every line? I tried the following: ObjectSetString ( 0 , "InfoTable" , OBJPROP_TEXT , "First line\r\nSecond line\r\nThird line" ); ...but
Try the following EA in MetaTrader5: int arrayA[]; double arrayB[]; int OnInit () { ArrayResize (arrayB, 10 ); ArrayResize (arrayA, 10 ); Print ( "- Listing elements of ArrayA --" );