No. During weekends or an instrument's daily market closure period, the server does not accept close requests. Please wait until the market opens before closing your positions.
GTC trading hours by instrument (MT server time, GMT+3 during daylight saving time, GMT+2 during standard time): Forex trades from Monday 00:00 to Friday 23:59; Gold trades from Monday 01:00 to Friday 23:57, with a daily closure from 23:57–01:00; major indices trade Monday to Friday 01:00–23:15; stocks follow the hours of their respective exchanges. Trading hours may be adjusted during holidays. Please refer to the real-time status in Market Watch in MT.