Hamed Vahabi / Profile
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![PettreMelitz](https://c.mql5.com/avatar/2020/4/5E9B6A4D-7AAF.jpg)
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Florent](https://c.mql5.com/avatar/2014/10/544F77F4-7E27.png)
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Functions for Money Management in an Expert Advisor](https://c.mql5.com/2/0/money_management_MQL5__1.png)
The development of trading strategies primarily focuses on searching for patterns for entering and exiting the market, as well as maintaining positions. If we are able to formalize some patterns into rules for automated trading, then the trader faces the question of calculating the volume of positions, the size of the margins, as well as maintaining a safe level of mortgage funds for assuring open positions in an automated mode. In this article we will use the MQL5 language to construct simple examples of conducting these calculations.
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Migrating from MQL4 to MQL5](https://c.mql5.com/2/0/logo__4.png)
This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Hamed Vahabi](https://c.mql5.com/avatar/avatar_na2.png)
![Guide to writing a DLL for MQL5 in Delphi](https://c.mql5.com/2/0/delphi_DLL_MQL5__1.png)
The article examines the mechanism of creating a DLL module, using the popular programming language of ObjectPascal, within a Delphi programming environment. The materials, provided in this article, are designed to primarily target beginner programmers, who are working with problems, which breach the boundaries of the embedded programming language of MQL5, by connecting the outside DLL modules.