Discussion of article "Controlling the Slope of Balance Curve During Work of an Expert Advisor" - page 6

 
mql5:
Conclusion.

Thank you for the very prompt reply! I think the author will make the necessary correction and post the updated mqh file in the article.
 
Dmitriy Skub #:
Not more quickly, but with less losses.
Did you think about equity curve instead of balance curve? I thought about this independently about a year ago but dont have the coding skills...
I wanted to run a parallel virtual trading equity curve with a moving average, switching off live trading when crossing down and vice versa