Confirmed by Service Desk. They say "Please look through Scripts\PeriodConverter.mq4 script in order to understand new format"
Format of HST files has changed; RateInfo structure is/was same as HST files; therefore RateInfo structure has changed; therefore existing DLLs using data from ArrayCopyRates() are broken. Including the DLLSample from MetaQuotes.
History files have changed so reading history is broken. If you use ACR to DLL that should still work as the MqlRates array will be copy/converted to a double so old files should work.
The only thing I'm not sure about is, does the statement imply that ACR() must me called each tick for the copy/conversion?
1. Actually I realized I was not correct. Boolean consumes really 1 byte, but the leak of the object appears in 4-byte increments.
2. It is in the link you provided: https://www.mql5.com/en/docs/basis/types/integer
Erroneous execution of a simple indicator showing the price.
Variable pprice isn't explicitly initialized, change this :
I hope everyone understands that I do-know about the delete command. I was intentionally trying to create the memory leak so that I could see the Log message. I did-not classify it as a Bug | Suggestion. I said if MetaQuotes is still interested in Bugs and Suggestion because I didn't know what to classify it as. Again .. my concern is that Currently ... mt4 does-not say which Class the memory leak is being generated from (at the time my script was run). This question might keep coming up within the forum ... and I think it'll be a helpful tool for the programmer to know. If the error message is pointless ... then why display it within the logs to begin with.
Anyways to your above comment. I was aware of this before I performed my Memory_Leak test.
Edit: (Other questions removed) I'm using an out-dated version of the mql5.chm docs. The on-line docs are closer to mt4 version.
Is there really NO memory-leak ... meaning a program could never crash due to Memory Leak?
My question to you ... if you have the answers is the following.
Is my interpretations of the above documents correct?
Does mt4 and mt5 clean out their memory leak in the same manner?
I can only give you my opinion, as it's more a question for someone of Metaquotes (is mt4 and mt5 are working the same regarding this issue ?).
As I understand, a mql4/mql5 program can never crash due to memory leak. Unless there is a bug in MT4/MT5 platform itself. If memory is released during the program unloading or after the end of events handler function is depending of the scope of the pointer, if it's global or local.