HOW TO PROTECT BALANCE

 
How to do when there is profit, may put protection for this profit?
For example:
opening balance 5k
after a week's trade balance would be in 7k
next week there were big losses and EA to close all trade at 6k?
[Deleted]  

EAs are about more than just signaling and execution.

You've just realised that you need to write some money management and risk management code into your EA.

Congrats - many folks don't get this until much later in their MQL4 Forum posting career.


CB