calculate profit and loss in terminal close all orders in terminal if total drawdown for account is less than 1% on fridays close all orders for 1 symbol that has most loss in terminal. and also close the profitable orders open in terminal & total profit has to be from 1% to 2% profit including the loss orders that has to be closed in terminal.