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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
New article Functions for Money Management in an Expert Advisor is published at mql5.com:
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.
Author: MetaQuotes