close all orders that has 50 pips or more profit -------------------------------------------------------- first: close all orders open order(s) for 3 magic numbers that has most loss EA will wait until function 2 has finished the right calculations. second: wait until account has gained at least 2 times what it has lost previously after account has gained at least 2 times what it had lost previously: EA will close all orders open order(s) for 3 magic numbers that has most and repeat -------------------------------------------------------- if account has a drawdown of 30% or more: make all lots equal for all magic numbers. if drawdown is below 30%: EA will no longer try to make lots equal for all magic numbers.