Hi maya007, Could you please share the code you added to close all open trades at the StopTime of the EA? Thanks a lot in advance. S.