At any time, you may manually close your open trades.
However, the software has a News Filter that monitors news events and if set to do so, will turn itself off and close trades prior to an event and back on after.
Make sure to configure these settings inside the “inputs” tab in the expert advisor settings if desired.