Release Notes: MetaTrader 4

MetaTrader 4 Forex Trading Platform

8 September 2006
Updated MetaTrader 4 Mobile build 196

New MetaTrader 4 Mobile build 196 has been released.

What's new:
1. Fixed error of symbol list saving in the Quotes window.
2. Fixed error of indicators dialog box displaying.

29 August 2006
New MetaTrader 4 Mobile build 195

MetaTrader 4 Mobile build 195 has been released.

What's new:
1. Fixed pending orders checking.
2. Fixed Stop Levels checking before trade request sending.
3. Added interruption of history pumping at account changing.
4. Fixed error of account history updating at account changing.
5. Improved the memory management at data pumping.
6. Added the new type of margin requirements calculation Contract-leverage.
7. Improved work with 240x240 resolution.

14 August 2006
Updated version of MetaTrader 4 Build 195 with visualization of testing

On our website new updated client terminal MetaTrader 4 build 195 is released.

What's new:
1. Added visualization of testing.
2. At testing the expert template <expert_name> .tpl is applied. If such template is not found, tester.tpl is used.
3. Improved drawing of balance at testing.
4. Tester: the reopening positions mode is added.
5. Tester: now works with all historical data which have been not limited with В«Max bars in chartsВ».
6. Corrected function MarketInfo() for symbols with zero spread parameter.
7. Corrected positioning the cursor on the charts at large scales.
8. At failure of array initialization the message is logged in journal.
9. Improved working with memory. Experts now not reallocate small ranges of memory.
10. MQL4: updated checking of parameter of function at compilation.
11. MQL4: restriction of array initialization is increased up to 100 million elements.
12. Updated Dictionary of MetaEditor.

This version of the terminal can be downloaded only from a website via:

Official release will be next week under build 196.

Flash-file (4Mb) with demonstration of work of testing in a visual mode can be downloaded via:

3 July 2006
New version of MetaTrader 4 Build 195

MetaTrader 4 build 195 has been released.

What's new:
1. Tester: Added genetic algorithm.
2. Tester: Added more parameters to be optimized.
3. Tester: Added relative drawdown, in percents, into the report.
4. Tester: Improved the optimizer cache operation.
5. Tester: Ticks are generated more precisely.
6. Tester: Fixed error at test restart when custom indicators with objects are used.
7. Tester: Fixed error of free margin calculation.
8. Tester: Fixed error of the test graph reinitialization.
9. Tester: Fixed wrong requote at testing experts that trade with the slippage equal to 0.
10. MQL4: Added the MODE_MAXLOT parameter into the MarketInfo().
11. MQL4: Added functions named IsOptimization(), IsTradeContextBusy(), IsExpertEnabled().
12. MQL4: Fixed error of determining the line end in some source files.
13. Fixed error of displaying the background of huge ellipses and rectangles.
14. Added immediate refreshing of the account data after opening of a position.
15. Added features to use Ctrl-V and Ctrl-C in the fast navigation line.
16. Added configuration file named datacenter.ini
17. Added feature to use the configuration file at the terminal startup.
18. Client Terminal Help Files: Added sections named «Configuration at Startup» and «Datacenter.ini».
19. Modified checking of stop levels before sending the request to the server.
20. Fixed checking of pending orders.
21. Fixed linear regression calculation.
22. Added autosave of global variables after they have been modified.
23. Added autosave of the experts log after the execution of the start() function has been completed.
24. Added saving the client terminal journal to the disk after trade operations.
25. Added Italian and Dutch localizations of the interface.
26. Fixed working with offline charts that have a standard period.
27. Added forced closing of MessageBox called from an expert or a script at deinitialization.
28. Added interruption of history pumping when account is changed.
29. Added selection of all objects in the list (the «Objects List» dialog box) using Ctrl-A.
30. Fixed chart windows arrangement when they are rearranged.

2 June 2006
Development of the new mobile terminal MetaTrader 4 Smartphone

On 1 June 2006 the development of the new mobile terminal MetaTrader 4 Smartphone has started.

The new mobile terminal will work on smartphones under the following operating systems:
- Windows Mobile 2003 SE for Smartphone;
- Windows Mobile 5.0 Smartphone Edition.

The following functions will be available in the terminal:
- viewing of quotes, news, charts, and internal mail;
- the lite set of technical indicators;
- sound alerts;
- the complete support of trading;
- all security modes (the standard 128-bit encrypting + RSA 1024 bit);
- LiveUpdate system;
- multilanguage interface.

3 May 2006
New version of MetaTrader 4 Build 193

New MetaTrader 4 build 193 has been released.

What's new:
1. Fixed free margin check for demo accounts on symbols with margin currency differing from the symbol base currency.
2. Revised MetaEditor Dictionary.

21 April 2006
MetaTrader 4 Client Terminal Build 192 Announcement

MetaTrader 4 Client Terminal Build 192 will be released on 26 April, 2006.

What’s new:
1. Fixed error of libraries compiling.
2. Fixed error of history updating when changing accounts.
3. Fixed drawing of the list of open positions.
4. Fixed drawing of anchoring points for Equidistant Channel.
5. Only selected trendlines are available for grouped moving of objects.
6. Expert initialization function can only be called after all data have been income when starting the terminal or changing accounts.
7. РњQL4: Added access to Fibo objects levels properties from programs.
8. MQL4: Fixed reading error for large strings with the FileReadString function.
9. Tester: Added optimization results cache.
10. Tester: Immediate stopping of testing when not enough memory.
11. Tester: The result is discarded if a testing limit has been reached during optimizing.
12. Tester: Added automated deletion of testing sequences in 28 days after the last access.
13. Tester: Manual changing of the «Recalculate» parameter is stored and applied at terminal starting.
14. Tester: Added automated controlling of the «Recalculate» parameter when working with testing data.
15. Tester: Added possibility to display optimization results as a 2D-graph.
16. Tester: Improved working with memory.
17. Tester: Fixed tooltips drawing on optimization graph.
18. Fixed opening of a new chart when there is a large amount of symbols available.
19. Added keeping saved of the Full Screen mode.
20. MetaEditor: Improved working when using two monitors.
21. MetaEditor: Fixed displaying of compilation error line pointer.
22. Enhanced saving of the terminal settings when using two monitors.
23. Added displaying of SL and TP for symbols processed in the Request mode.
24. Fixed drawing of objects in monthly charts.
25. Extended operation of the data publishing function: The Publisher now sends a GIF file, as well, if an detailed report is applied.
26. Added possibility to hide and show symbols as a group in the «Market Watch» window.
27. Fixed internal news and internal mail displaying.
28. Added the attempt to add the new or hidden symbols symbols in «Market Watch» at opening a profile with the charts containing these symbols.
29. Added the selection of objects from Object List window.
30. Fixed the final calculation of maximal drawdown in the detailed report.
31. Revised MetaEditor Dictionary.

1 March 2006
New MetaTrader 4 Mobile build 191

MetaTrader 4 Mobile Terminal build 191 has been released.

What's new:
1. Fixed fonts displaying error in VGA mode for some models of PDAs.
2. Fixed history data pumping.
3. Fixed updating of available internal mailing system mailboxes list at switching between accounts.

1 March 2006
New version of MetaTrader 4 build 191

New MetaTrader 4 build 191 has been released.

What's new:
1. Fixed error of outgoing traffic increasing when computer has been working for more than a month.
2. Added possibility to work via proxy servers with NTLM authorization.
3. When a transaction is transferred from history, SHIFT being pressed, a trendline will be set that connects order opening and closing points.
4. Developed data center settings saving separately attached to each account.
5. Fixed opening of a new chart window at great amount of securities available.
6. Levels of the last price are shown in offline charts.
7. Added possibility of grouped moving of selected objects if their node points are in immediate proximity to each other (within 2 pixels).
8. Errors of uninitialized strings are not output in the experts log.
9. Added normalization of lot values returned by OrderLots() and MarketInfo() functions.
10. Fixed working of ObjectGetFiboDescription() and ObjectSetFiboDescription() functions, as well as description of these functions in MetaEditor Dictionary.
11. The «#property library» feature of the source code does not cancel the start() function, i.e., the library can be launched as a script or as an expert if the start() function is available in it.
12. In the absence of the start() function, MQL4 program cannot be launched, i.e., the unavailable start() function will not be replaced with the first function of MQL4 program now.
13. MQL4: All expressions to be calculated at a global level, beyond all the functions, are deleted.
14. MQL4: The StringSetText() function allows to add a symbol to a string if the position points at the end of the string.
15. Tester: Fixed swaps calculation for securities.
16. Tester: Fixed working with nonGTC symbols.
17. Fixed error causing, in some cases, early initializing of experts.
18. Corrected free margin calculation immediately after the position has been opened.
19. Corrected modeling quality calculation.
20. Corrected balance changes graph in the detailed report of the account history.
21. Added «Execution Errors» topic to the MetaEditor Dictionary.
22. Added anchoring feature for the third point of FiboExpansion.
23. Added checking for the maximum positive integer amount of bars in history in the «Tools — Options — Charts».
24. Enhanced the drawing accuracy of the second line of ’Equidistant Channel’.

6 February 2006
New versions of MetaTrader 4 and MetaTrader 4 Mobile build 190

Released new versions of MetaTrader 4 and MetaTrader 4 Mobile, in which the method of profit calculation for futures orders is corrected.

3 February 2006
New MetaTrader 4 Client Terminal build 189

New MetaTrader 4 Client Terminal build 189.

What’s new:
1. Fixed appearance of messages in internal mailing system;
2. Tester: The contents of Results and Graphs tabs will be cleared after testing settings (symbol, period, expert) have been changed;
3. Tester: If orders are closed forcedly, the same comments as in the trading server will be set in them;
4. Fixed refreshing of symbols list in the popup quotes window;
5. In objects of Ellipse, Gann’s Tools, Fibonacci Arcs, fixed scaling error in charts of symbols having the number of digits after point other than 4;
6. Fixed error in scaling of Fibonacci Arcs;
7. Remade and significantly expanded Help Files in English;
8. Fixed error of double expert deinitialization at closing of the chart;
9. Fixed looping error at recursive calls in experts;
10. Fixed critical error of memory access at simultaneous working of many experts;
11. *OnArray indicators are not shown in the Graphs of testing results anymore;
12. Sorting parameters of the «Account History» tab are saved in the terminal settings;
13. At generation of account status reports, closed positions are sorted like thos in the «Account History» tab;
14. Fixed receiving of news through data centers;
15. MQL4: Fixed processing of «continue» operator in a complex expression in «case» operator body.
16. In window «Navigator» after removing of the account from the accounts list of tab «Common», this account also will be removed from the list of tab «Favorites»;
17. Advanced status bar: after click on connection status the «Login» menu will shown as popup menu. And if there exists several access points of the server, then their list with the active connection will be displayed. At click on other access point, terminal will try to reconnect to server through selected access point.
18. Improved «Andrews` Pitchfork» object drawing.

1 February 2006
New MetaTrader 4 Mobile Terminal build 189 has been released

New MetaTrader 4 Mobile Terminal build 189 has been released.

What's new:
1. Improved autoselection of access point servers.
2. Added indication of working through data center.
3. Fixed functioning of accounts with extended authorization.
4. Fixed receiving of news through data center.

19 January 2006
New MetaTrader 4 Mobile Terminal build 188 has been released

New MetaTrader 4 Mobile Terminal build 188 has been released.

What's new:
1. Performed complete tests under Windows Mobile 5.0.
2. Added displaying of HTML emails of the Internal Mailing System.
3. Fixed errors in dialog windows operation.
4. Improved updating process of the terminal through LiveUpdate.
5. New Order Window: Added automated replacing of zero prices (0.0000) with the market ones at the fisrt modification.
6. Fixed errors in indicators named Standard Deviation and Envelopes.
7. Fixed errors in program working in Qtek 9100 (i-Mate K-Jam) communicator.
8. Improved automated selection of access points.

12 January 2006
New MetaTrader 4 Client Terminal build 188

New MetaTrader 4 Client Terminal build 188 has been released.

What’s new:
1. Modify Order Window: Stop levels are defined under taking the minimal permissible levels above/below the market price into consideration.
2. New Order Window: Added displaying of price levels in tick chart + new colors.
3. New Order Window: Added automated replacing of zero prices (0.0000) with the market ones at the fisrt modification.
4. New Order Window: Added notification dialog for an early refuse to trade.

5. Experts: Added automated deletion of expert logs in 5 days.

6. Fixed updating error of the last known server time.
7. The Background property remains in objects of TextLabel and Text.
8. Added the balance chart in the «Detailed» report of trading history.
9. Fixed deletion of objects from the chart during deinitialization of scripts and experts at closing of the terminal.
10. Remade and essentially enlarged the built-in Help files in Russian for the terminal.
11. Remade the MetaEditor Dictionary in Russian.
12. Fixed saving of MagicNumber at manual confirmation of trades from experts.
13. Fixed deletion of pending orders at manual confirmation during the OrderDelete() function execution from experts.

14. Fixed the MarketInfo() function at using of MODE_MINLOT, MODE_LOTSTEP.
15. When working in the investor mode, one cannot call any trade dialog windows.
16. Fixed dialog window of file opening and saving in MetaEditor.
17. Fixed the account currency output in the tool tip appearing when the cursor is placed over the account number in the «Navigator» window.
18. MQL4: Fixed processing of ’continue’ inside of the ’switch’ operator in compiler.
19. MQL4: Removed constraints for the operational buffer capacity of 4KB for operations with strings.
20. MQL4: Introduced the new encoding of EX4 files, they are much more difficult to decode now.
21. MQL4: Added new functions named ScreenShot and SendFTP.
22. MQL4: Completely removed the SpeechText function.

23. MQL4: Removed functions named ObjectSetVisibility and ObjectGetVisibility, ObjectSet and ObjectGet with corresponding parameters to be used instead.
24. MQL4: Fixed the FirstVisibleBar function.
25. MQL4: Introduced new properties in description of indicators #property indicator_styleN, indicator_widthN, indicator_levelcolor, indicator_levelstyle, indicator_levelwidth.
26. Tester: Fixed error of placing of mistaken SL and TP in pending orders.
27. Tester: Fixed error of pending order price modification.
28. Tester: Fixed error of profits converting into the deposit currency.
29. Tester: Testing limiting dates are shown in reports.
30. Tester: Fixed error of partial position closing named CloseBy.

31. Tester: Fixed recalculation of margin requirements.

32. Tick history for Market Watch is stored separately for each server.
33. Added viewing of emails in HTML format.
34. Improved operation of DDE.
35. Fixed triggering of Trailing Stop when the TP order level has been approached.
36. Improved sorting of open positions when tested.
37. Added the «Copy All» pop-up menu string at copying of lines of optimization and testing results.
38. Improved working through Data Center.

39. Improved pumping of charts at re-connections. 40. Indicators: Fixed the shift parameter in Standard Deviation.

41. New Order: Added support for hotkeys of Ctrl+C and Ctrl+V at prices setting.
42. MetaEditor: Added integrated access to web site. It is very easy to access to any script published at now.
43. MetaEditor: Expanded and remade Functions Dictionary.
44. MetaEditor: Changed the compiler version. All MQL4 programs will be recompiled forcedly.
45. MetaEditor: All settings have been removed from the registry.

45. A variety of small modifications.

9 December 2005
Updated Version: MetaTrader Data Center build 286

Released the new MetaTrader Data Center build 286. History data synchronization request has been fixed.

MetaTrader Data Center will be automatically updated through LiveUpdate system. New build of MetaTrader Data Center can be downloaded at

18 November 2005
New version of MetaTrader Data Center build 285

Released the new version of MetaTrader Data Center build 285. Reconnection after restarting of main trading server and proxy-mode functionality had been fixed.

MetaTrader Data Center will be automatically updated through LiveUpdate system. New build of MetaTrader Data Center can be downloaded at

16 November 2005
New version of MetaTrader 4 Mobile

MetaTrader 4 Mobile build 187

What's new:
1. Fixed error in order modification dialog.
2. Added the feature allowing to set trailing stops for pedning orders.
3. Improved trailing stops operation.
4. Improved working through Data Centers.

10 November 2005
New version of MetaTrader 4 build 186

MetaTrader4. Build 186

What's new:
1. Extended the field for account password. Password maximum length is 15 characters;
2. Fixed error of setting up alerts for symbols longer than 6 characters;
3. Improved operation of the terminal through Data Center;
4. Fixed setting of hot keys for Windows 98;
5. Fixed saving of ray properties for Fibonacci Channel;
6. Fixed the LocalTime() function;
7. Fixed template loading;
8. Fixed experts initialization when switching between accounts
9. Added displaying of arrows at the chart in the tester when pending orders trigger;
10. Fixed stop-orders processing during testing;
11. Improved displaying of logs at disabled auto scroll;
12. The value of the price level of the nearest object point will appear in tooltips, not that of the current cursor position;
13. The property of «Draw object as background» is kept for triangle objects;
14. Fixed displaying of the time in the «Market Watch» window header when the account switches between servers in different time zones;
15. In of testing and optimization tabs the selected strings only are copied to the clipboard. If there are no selected strings, all strings will be copied;
16.The MarketInfo() function returns real values for all symbols, not only for futures, when using MODE_TICKVALUE или MODE_TICKSIZE;
17. Fixed control over experts launching when changing the symbol list in the «Market Watch» window;
18. Fixed calling of the Alert() function when initializing a script;
19. Introduced a new code of error 147 «Setting of expiry date prohibited by broker»;
20. Fixed pending orders modification dialogue the property of using the expiry time being prohibited;
21. Updating based on crashlogs;
22. Updated MetaEditor dictionary.

2 November 2005
New version of MetaTrader Data Center build 282

Released the new version of MetaTrader Data Center build 282 in which TCP/IP connection parameter had been optimized and receiving of maximum and minimum daily prices had been fixed.

MetaTrader Data Center will be automatically updated through LiveUpdate system.
New build of MetaTrader Data Center can be downloaded at

25 October 2005
MetaTrader 4 Mobile now with line studies features!

MetaTrader 4 Mobile. Build 186.

1. Added line studies: horizontal, vertical lines, Fibonacci lines;
2. Added feature of working with email messages, menu В«Service->MailboxВ»;
3. Added feature of managing system events sound alerts, menu В«Service-> SettingsВ», tab В«EventsВ»;
4. Added German interface language;
5. Added feature of deleting the useless login;
6. Added feature of setting up the capacity of history to be stored and displayed, menu В«Service-> SettingsВ», tab В«ServerВ», parameter В«Max. bars in chartВ»;
7. Improved chart positioning at the В«Auto ScrollВ» option being enabled;
8. Added feature of opening chart window from the context menu of the В«OrdersВ» tab;
9. Improved appearance of prices and indicator data in the chart;
10. Modified dialogue used for changing passwords;
11. Fixed displaying of the order close price in В«By requestВ» execution mode.