New MetaTrader 4 build 199

 
The new MetaTrader 4 build 199 has been released:

1. Removed Multilanguage Pack, the distributive size decreased to 3 MByte;

2. Tester: Reduced limitations on the amount of passes in genetic optimization (minimum 200 passes);

3. Tester: Imrpoved fractal modeling of a bar. Now more smoothed patterns are used to model price movements;

4. Tester: Fixed free margin calculation, which was incorrect in some cases;

5. Tester: Fixed stopuot status calculation, in case of the absolute level, not a percent one;

6. Tester: Added the margin_stopout_mode parameter in the FXT file heading structure, the heading size not being changed. The version number became 403;

7. Tester: Corrected drawing of the Ask line at visual testing in the pause status;

8. MQL4: Improved working with temporary variables of the 'string' type;

9. MQL4: Added functions AccountFreeMarginMode, AccountStopoutMode, AccountStopoutLevel, AccountFreeMarginCheck;

10. MQL4: Added functions IsVisualMode, TerminalPath, WindowExpertName, WindowPriceMin, WindowPriceMax, GlobalVariablesTotal, GlobalVariableName;

11. MQL4: Changed operation logic of the GlobalVariablesDeleteAll function - it is now possible to specify the prefix for mass deletion of global variables;

12. MQL4: In the MarketInfo function, added identifiers MODE_SWAPTYPE, MODE_PROFITCALCMODE, MODE_MARGINCALCMODE, MODE_MARGININIT, MODE_MARGINMAINTENANCE, MODE_MARGINHEDGED, MODE_MARGINREQUIRED;

13. MQL4: Due to functions restructuring, renamed the following functions PriceOnDropped, TimeOnDropped, FirstVisibleBar, BarsPerWindow, ScreenShot, HistoryTotal, CompanyName, ClientTerminalName, ServerAddress, Lowest, Highest, CurTime, LocalTime;

14. MetaEditor: Due to functions renaming, added the "Outdated Functions" section into the Dictionary;

15. Added the ray property to the object named Fibo Expansion;

16. Fixed and improved scanning of servers when connection is broken;

17. Added downloading and import of data in the History Center;

18. Fixed saving of the objects' default flag named background;

19. Fixed saving of charts multiline comments in configuration files;

20. Added a sound file notifying about that testing is over;

21. Improved displaying of empty databases in History Center - after the first call, data are pumped and displayed;

22. Strongly accelerated working with databases on huge arrays of historical data;

23. Strongly accelerated operation of deleting large amounts of historical data from History Center, fixed error of re-offsetting the history just deleted;

24. Fixed small errors in trade logs output.


The temrinal can only be downloaded from our web-site at "MetaTrader 4 trading terminal"
The new build will be officially announced in a few days, then the client temrinal updates will be available through the LiveUpdate system, as well.
 
6. Tester: Added the margin_stopout_mode parameter in the FXT file heading structure, the heading size not being changed. The version number became 403;


Could you please instruct me about the margin_stopout_mode parameter. What is it? What is its size and does it go at 00x161 in the FXT header?

Thank you,
Kevin
 
Kevin see AccountStopoutMode function in the MetaEditor dictionary
===
int AccountStopoutMode( )
Returns the calculation mode for the Stop Out level. Calculation mode can take the following values:

0 - calculation of percentage ratio between free margin and equity;
1 - comparison of the free margin level to the absolute value.
===
Your 0x0161 is uninitialized field value in the 402-th FXT. This field will be set properly in the new FXT