I sometimes (thought rarely) receive " array out of range error" in the following code: focusedIndex = iBarShift( NULL , 0 , focusedDate); if (focusedIndex>- 1 ) { datetime realTime = Time[focusedIndex]; } which leads me to a
This topic is about applying VAT to EU residents, and it is intended for all sellers, which deliver Metatrader-compatible digital goods to EU users automatically by the Metatrader Market (not only). Just a few links from Google about the duty
I am experiencing unstable terminal behaviour or freezing if OBJ_BITMAP objects count reaches some critical amount (about 10k). At some point the objects stop rendering, and then the platform becomes heavy and finally stops responding at all
When the indicator thread becomes busy and misses the next tick, the missed tick data is still displayed in the Market Watch tick chart window. So I wonder if there is a way how to get the missing tick data that is on display in the
There was some unlucky update made in the current MetaEditor (1035), which causes numerous compile errors in my code. All the code that has been developed in Metaeditor ver. 1019 or earlier now generates compile error with the current version, like
I assumed that every regular timeframe has regular timestamps, and candles from a fine timeframe do not cross boundary of the coarser timeframe (except month timeframe , which is incompatible with this rule). But some brokers do not follow this
How do the events work? I followed the documentation, and it read that the events were sent into a queue. But I am often getting conflicts that indicate the events ( custom events and timer events) severely interfere with the main thread. So, how the
I have a question about tick volumes in Metatrader data. Though the week interval in Metatrader evaluates to Sunday - Saturday, many weekly charts data show volume sum from Monday to Sunday. So, how is the volume for the weekly chart
I encounter problems with CopyRates on MT4. Could someone give me a clue, where the problem is? When I attach an indicator to a chart, the indicator crashes on CopyRates command, producing this expert tab output: 14 : 32 : 59 Access
Hi, I wonder how you pack the source code for delivery if it uses many #include directives with code distributed in many files. I think that solution could be smart replacing the #include directives by files content. It is actually not a trivial
May I ask expert coders here, how the custom events queue is organized? 1. Is every custom event queued, or are the events sorted? 2. If applicable, what is the key to remove the event from the queue? Is it only the ID entry, or combination off
When I am firing custom events , I would often need different data than the hardcoded mix of double, long and short string. I would prefer appending a custom structure. How to achieve that
The custom event can carry only very tiny data. The MQL4 event data is limited to three numbers (short, long, double) and a string (up to 65 characters), inclusive the event identification. Not really much for working with objects. I would like to
I did not find any relevant information in documentation on this site. The question is about difference between those chart windows: and about the property in those chart Properties: I noticed, that if I change this property manually, nothing happens
I would like to obtain a unique ID in indicator code, to ensure that indicators on a chart do not interfere with each other. Originally, I used the MathRand() function , which unfortunately does not return unique numbers as I expected. Probably the