Snelle Moda
Snelle Moda
Snelle Moda
Added topic Wrong description in documentation about multidimensional arrays
Hi The article about multidimensional arrays has a mistake. https://www.mql5.com/en/articles/567 It should be the other way around. The first index contains the number of ROWS. The second index contains the number of COLUMNS. double Variable[ 10
Snelle Moda
Added topic Rename MQL4/5 data folder (Windows 10)
Hi  Is it possible to rename the MQL data folder to use normal broker names? (Windows 10) These names (2 different brokers) are very confusing. The old system in Windows 7 is more practical were the MQL4/5 is stored in the "c: program files"
Snelle Moda
Added topic MT4 variant for MT5 SymbolIsSynchronized() function.
Hi all. I'm making a custom indicator in MT4 and MT5 using the SymbolIsSynchronized(). The indicator uses the data of multiple Indexes. But this function does not work with MT4. Is there a substitute MT4 variant for this function
Snelle Moda
Added topic Need help for calculating relative price Index basket
Hi all. I'm trying to built a 'relative price index' based on a number of major world Indexes: S&P500, DAX30, EUR50, CAC40, SWISS20, JPN225 and UK100.  My problem is that the calculated output is not reliable. Sometimes it works but
Snelle Moda
Panic in the financial markets after Donald Trump has won the US election. The DAX index future opens 500 points lower. There will be an increase in volatility for the next coming weeks/months...
Snelle Moda
The day after Brexit 24-06-2016 Opening DAX index future, almost 10% lower. Biggest market crash in recent history! https://www.youtube.com/watch?v=8qwP2sPnfS0...
Snelle Moda
Added topic How to effectively add a "0" before the hour or minute to a string variable for displaying the time, when using "MqlDateTime" variable?
Hi I use some code for showing the current and past time when my EA performs an action or event.  It converts the time from a MqlDateTime variable to a string variable with this format: "HH:MM" When the hour or
Snelle Moda
Added topic Is it possible to make a struct with contain static variables
Hi I try to make a struct with contains static variables but I get this error in the compiler:   "struct has no members, size assigned to 1 byte" "unresolved static variable "myData::Var1" "unresolved static variable
Snelle Moda
Added topic Compilation error in MT4 not MT5 why?
Hi all. I have a mqh file with this example. When I compile this code in MT4, the compiler gives the error: "'i' - variable already defined" But when I compile this in MT5 everything is oke. Why does the MT4 compiler
Snelle Moda
Added topic Passing a struct as argument into a function. Is it possible?
Hi. I'm going to build a function (mqh) file which uses a lot of different variables and data types. Is it possible to combine these variables into a struct and pass the structure itself as a parameter into a function? This
Snelle Moda
Added topic Strange behaviour of the NormalizeDouble() function.
Hi I use some notification alerts in my EA for displaying variables. See the picture. To minimize the number of decimal numbers I use the NormalizeDouble() function  to decrease the number of decimals to 2. 
Snelle Moda
Added topic Does anyone know a good copy tool to duplicate code to another terminal?
Hi all. I have 5 terminals running on my pc. When I have update/improve the code of my EA, I need to copy manually this code to the other four 4 terminals (with the windows explorer). Is it possible to do this automatically with a copy
Snelle Moda
Added topic FileWriteDouble() generates wrong output (strange symbols)
Hi I try to copy the CLOSE price value of a serie of 1 min BARS to a CSV file. But the CSV file generates wrong output. see below: Here is my code: #property indicator_chart_window #property indicator_buffers 1 #property
Snelle Moda
Added topic How to "ignore" the stoploss value when the market is closing at the end of the week.
Hi.   Last Friday, the stoploss was triggered on my EURNZD EA (demo) just before the market closed. I have seen this before in other currency pairs (AUDUSD and NZDUSD).  This was caused by the extreme spread when
Snelle Moda
Added topic Detect automatically summer/winter time switch period between America and Europe?
Hi all. Is it possible to detect automatically (script) the switch period between winter/summer time in America when i'm located in Europe? In the United States, Summer Time begins on the second Sunday in March and reverts to standard time
Snelle Moda
Added topic How to detect the source when a custom indicator is called?
Hi all.     I have searched this site for several day’s but I can’t find an answer for his problem. Is it possible to check the source of the call (EA or Chart) of a custom indicator from within the code of that custom indicator? There are
Snelle Moda
Registered at MQL5.community