calculate the profit / loss for the pair that has the most loss in terminal close all orders for the pair that has most loss with profitable orders open in terminal. minimal total gain before EA will close orders together: 0.3$ if balance is 30$ or less so if balance is 60$ EA will close at total gain of: 0.6$ and so on