Skip to content
72lab

Exit time EA: no-code builder for MT4 / MT5

TimeExit time: close positions at a set time each day to avoid paying overnight swap, or to stay out of gaps around the close.

Rules you can build with it

Can only be used as an exit rule.

  • Long & shortExit at 21:00

Settings

SettingsDefaultRange
Exit hour210 – 23

How the backtest and the EA calculate it

Positions are closed on the first candle of the day whose open time (server time) reaches the set hour.

Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.

Example strategies

Example 1
  • Entry · MA crossover (10, 30, SMA, Close): Fast MA crosses above Slow MA
  • Exit · Exit time: Exit at 21:00
  • Stop-loss 300 points, take-profit 600 points
Open in the EA Workshop

Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.