
Keep Sleeping MT5 is an expert advisor that places limit orders during a configurable night-time window on the M5 timeframe. It supports fixed or balance-based lot sizing, pause intervals and a forced close time.
Get one message the moment it launches, with its price.
Keep Sleeping is an MT5 expert advisor built around the overnight session. Instead of trading all day, it works only inside a time window you define, places limit orders on the M5 timeframe and manages them with a safety stop loss and a trailing take profit.
The EA calculates entry levels from recent price action and places limit orders at a distance controlled by an open price deviation ratio. A larger ratio puts the entry further from the current price, which generally means fewer trades. Targets are set by a take profit ratio, and the take profit then trails, so that many positions are closed by the trailing logic before the main stop loss is ever reached. The stop loss is intended mainly as protection against spread widening or sudden spikes.
The strategy is described as not using martingale. You should still confirm how lot sizes behave in the strategy tester and on a demo account before relying on it.
The EA always works on M5 internally, so the timeframe of the chart you attach it to does not change its logic. It is designed for several instruments at once: you attach one copy to each symbol chart and give each copy a separate magic number. Spreading activity across symbols can smooth the equity curve in some conditions, but it also uses more margin. Choose symbols that your broker quotes reliably during the night.
The parameter list is short. Check the defaults in the inputs window, because they are best tuned per symbol and per broker.
| Setting | Purpose |
|---|---|
| Open price deviation ratio | Distance of the limit order from price; larger means fewer trades |
| Take profit ratio | Size of the profit target; larger means a higher target |
| Working time | Trading window in the format HH:MM-HH:MM, can cross midnight |
| Pause intervals | One or more periods with no trading, separated by semicolons |
| Close opened positions at | Time of day when all open positions are closed as they are |
| Volume | Fixed lot size |
| Balance amount per min lot | Balance step used to scale the lot with account size |
| Stop trading balance | Trading stops when the balance reaches this level |
| Remove pending orders before weekend | Switch to clear unfilled orders ahead of the weekend |
| Magic and Comment | Identify the orders of each EA copy |
Night sessions can have thin liquidity and wider spreads around the daily rollover. Test the pause intervals around that period with your own broker, and avoid sizing positions on the assumption that quiet hours are safe.
Trading carries risk, and past results do not predict future ones. Test on a demo account first and trade only with money you can afford to lose.
Before going live, run the strategy tester and a demo account for a period that covers different market conditions, and check the results against the spread and commission of your broker.
| Product type | Expert Advisor |
|---|---|
| Platform | MetaTrader 5 (expert advisor) |
| Strategy focus | Volume |
| Delivery | Download from your account after purchase |
| License key | Not needed |
| Status | Launching soon |
| Category | Expert advisor, volume-tagged strategy |
| Working timeframe | M5 regardless of the chart timeframe |
| Trading window | Night session, set by the working time string (broker server time) |
| Order type | Limit orders with safety stop loss and trailing take profit |
| Money management | Fixed volume or lot based on a share of the balance |
| Multi-symbol use | One copy of the EA per chart, each with its own magic number |
| Requirements | Algo trading enabled, hedging or netting account, stable overnight quotes |
No reviews yet. Customers who own Keep Sleeping MT5 can review it here.
No. This listing is the MetaTrader 5 build and it will not load in MT4. Check that your broker offers MT5 accounts before you buy.
Attach a separate copy of the EA to a chart for each symbol you want to trade. Give each copy its own magic number so the positions and orders of one chart are not mixed up with another.
The time strings are normally read against your broker's server time, not your local clock. Compare the server time in the Market Watch window with your own settings before going live, and remember that some brokers shift the server clock for daylight saving.
The strategy relies on tight overnight conditions, so look for a broker with a reasonable balance of spread and commission and with stable quotes at night. Test on a demo account with your broker's real conditions first.
The needed deposit depends on the symbols, lot size and number of charts you run. Check the minimum lot and margin requirements at your broker, run the strategy tester and a demo account, and only then choose a size you can afford to lose.
Copy the EA into the Experts folder through File, Open Data Folder, MQL5, Experts in MT5, then refresh the Navigator or restart the terminal. Drag it onto a chart and make sure algorithmic trading is allowed.
Keep Sleeping MT5
Notify me at launchQuestions about this tool?
Ask us on Telegram Install guide for MT4 and MT5 Get a custom version builtFree, practical help with testing, sizing and running expert advisors.
Own Keep Sleeping MT5? Sign in to review it.