There is no limit to how long you can leave your trades open in the forex market, usually you should follow your trading strategy on this decisions as you your trading strategy should contain trade entry and exit criteria and this with determine for how long your trade should remain open.