MetaTrader 4 Build 574 with Updated MQL4 Language and Market of Applications Released - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Press F1 and you will see mql4.chm file.
New version of online MQL4 documentation will be published after release.
Is anything going to be done with the Object vs Object terminology ? isn't this a recipe to cause confusion ? how do I delete an object ?
Creating and Deleting Objects
After a mql4 program is loaded for execution, memory is allocated to each variable according to its type. According to the access level all variables are divided into two types - global variables and local variables. According to the memory class they can be input parameters of a mql4 program, static and automatic. If necessary, each variable is initialized by a corresponding value. After being used a variable is unintialized and memory used by it is returned to the MQL4 executable system.
or
ObjectDelete() ?
ObjectDelete
The function removes the object with the specified name at the specified chart. There are two variants of the function:
By the way, unintialized is spelt incorrectly, there is a missing i uninitialized
Is the format of the .hst files changing ? I assume it is, if not where is spread and volume going to come from for OnCalculate, if it is how will existing compiled .ex4s that write offline charts work ? will they still work as intended ?
Changed.
Check the new version of PeriodConverter.mq4 from build 574.
Changed.
Will there be spread and real_volume predefined variables so this can be read from start() or OnTick(), etc. or is the only option CopySpread() and CopyRealVolume() ? spread and real_volume predefined variables are not currently included in the chm help file.
HST format is not documented and only for our service.
If you guys are still interested in bugs and suggestions, I found one today.
https://www.mql5.com/en/forum/148814.
My simple script below generates a Class location of the Memory-Leak within mt5 but not within mt4.
Try to add following line at the end of OnStart function.
delete MemoryLeak;