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
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"
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
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
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...
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...
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
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
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
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
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.
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
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
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
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
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