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
Check out the new article: Risk Management (Part 4): Completing the Key Class Methods.
Continuing from the previous article on risk management, we will explain the main variables and initial methods for our specialized class. This time we will focus on completing the methods needed to check whether established maximum loss or profit limits have been exceeded. In addition, we will present two dynamic approaches to per-trade risk management.
We will start by optimizing some functions, as well as the class constructor and destructor. Then we will define new structures, enums, and core constants. Next, we will implement functions for managing positions opened by the Expert Advisor, including mechanisms for detecting when established maximum profit or loss values are exceeded. Finally, we will add methods for managing dynamic per-trade risk.
Author: Niquel Mendoza