Tab: Daily Purge (Close All) ⭐ New v17.4
Automatically close every trade and order at a fixed time each day
At one fixed time every day, the EA closes all open positions and deletes all pending orders on the account — including manual trades and trades from other EAs. It is designed for traders who must be flat by a certain hour (for example, no positions held overnight, or a prop-firm rule that requires closing before a cut-off).
Enable Daily Purge
Master switch. When enabled, the EA prints a confirmation line on startup showing exactly at what broker time the purge will run, so you can verify your timezone setting.
Purge Hour & Purge Minute
The time of day (hour 0–23 and minute 0–59) at which the purge runs. You enter this in your own reference time; the offset below converts it to the broker's clock.
Broker Time − Your Time (hours)
MetaTrader runs on the broker's server time, which is often different from your local time. This field tells the EA how many hours the broker is ahead of (or behind) the time you typed above, so the purge fires at the moment you intended.