hi, I'm using MetaEditor and MT4 via Wine and whenever I try to use the offline help, it crashes everything. Where would I locate the .chm file within the MT4 folders? I would like to access this with a CHM viewer. Thank you
I've been coding for about a year now but I've coded from a procedural paradigm. If this then that, if price does this, modifyOrder that, so to speak I noticed that MQL4 also can be an object orientated language but I just cannot conceieve
Hi, at the start of my program I am declaring a bunch of arrays, and they all increment in size +1 per tick and they all maintain equal size to one another. double array1[], array2[], array3[], ..... , array99999[] void OnTick () {
The OnTick() function is driven by the receiving of a new tick. But what if I want to execute a block of code immediately after the last tick of the trading week, long before the first tick of the following trading week? Any suggestions on how
Hello, I'm writing a function that utilizes FileWriteArray to simplify the body of my code as my program will need to utitlize this function serveral times. I am getting the errors: "bidArray - parameter conversion not allowed" "bidArray - invalid
It appears the strategy tester actually uses the current spread from the broker but we know that the spread can change throughout the day. Is there anyway to declare the spread within the code, I would be interested in setting the spread
I may consider running a lengthy For loops in my code. Is there a function or something within MQL4 that allows you to time a block of code like %%timeit in a ipython notebook? Thanks
A friend of mine brought to my attention the best way to learn a speaking language is just learn the 2000 most commonly used words. I've seen him pick up local languages with high competency in impressively short amounts of time. So I'm wondering
I'm running a strategy in the tester where certain actions is supposed to call the WebRequest function and send me a Telegram message. In the MQL Reference manual, it clearly states " WebRequest () cannot be executed in the Strategy Tester " on both
Hi, I'm learning how to play with time on MQL4. I would like the Day to begin on Zero rather than One. For some reason the output on the comment still starts at 1 at the beginning of the week rather than 0 as intended eventhough I have the day
Hi, I'm learning how to create struct arrays and so I attempted to replicate the concept from the FileWriteArray() example code in the MQL Reference. I think my logic seems sound but there may be something I'm overlooking as I'm just learning about
I am currently using MT4 version 4.00 build 1260 I am trying to get FileWriteArray to store all the values of an array into a .bin file The way the script is supposed to work is there is an array called secondsArray[] that stores the actual seconds
hi, backtesting in visual mode can take forever. is there anyway to save the visual charts afterwards? and I'm not talking about a picture, rather, able to load the chart entries and exits back into MT4 to be re-used again for analysis