Forum

iMAonArray on simple array

Hi all, Was trying to get my head around the iMAonArray function. I noticed that if you use a simple array then the iMAonArray function reads from lower to upper bound of the array variable whereas if the array is an indicator buffer array then the iMAOnArray function reads from upper to lower bound

Explanation of results in the Strategy tester

Hi, is there an article showing the meaning of the results in the strategy tester ? Regards

MQL5 on Intel Atom N455 @ 1.66GHz, 2037 MB

Hi, I tried running an EA on the Intel Atom N455 @ 1.66GHz, 2037 MB memory Netbook Dell Inspiron mini. I created many Print statements in the code so that I could analyse the log file of the strategy tester. I noticed that many of the Print statements did not print at all in the log file which

How to run one EA over one currency pair but two different time frames

Hi, I ran the code in the following article https://www.mql5.com/en/articles/112 to understand the concept of magic numers . I ran the code magic_exp0_en.mq5. Whie debugging I tried to switch the focus of the current chart between two different time frames i.e. EURUSD M5 and EURUSD H1 to see if

How to find Time frame of current chart

Hi, Is there a function to get the time frame of the current chart in string format? Regards

Magic numbers

Hi, I am having some difficulty understanding the way magic numbers are used in MQL5. If I declare a global variable my_magic = 12345 and then in the onTick() function if I try to place only one buy order would the POSITION_MAGIC, ORDER_MAGIC and the DEAL_MAGIC be the same as my_magic? If magic

Please help With rules of trading in ATC 2007

Hi I would like someone to explain the rules of the ATC 2007 . Dont want to get disqualified