Back to blog
Automation
AutomationNov 1, 2026 · 9 min read

Weekend Gap Risk and Automated Trading: What an EA Should Do on Friday

Key takeaways

  • Weekend gap risk comes from the market being closed: price can reopen past your stop loss, and the fill happens at the first available price, not at your level.
  • On a prop account the gap is commonly counted against the loss limits like any other loss, and the maximum drawdown does not reset with the new trading day.
  • An expert advisor holds over the weekend by default unless it has an explicit Friday rule, because no exit condition fires while the market is closed.
  • The three practical Friday policies are flatten everything, reduce size to what a large gap can absorb, or block new entries late in the week.
  • Size any position you carry for the gap, not for the stop: the useful question is what the account looks like if Sunday opens several stop distances away.
  • Weekend holding terms are commonly set per firm and per account type and change over time, so verify them on the firm's own site before you decide.

Weekend gap risk in one paragraph

Weekend gap risk is the chance that a market reopens on Sunday far from Friday's close, skipping every price in between. Your stop loss cannot fill at a price that never traded, so it fills at the first one that does, and on a prop firm account that loss commonly counts against your daily and maximum drawdown like any other. The only defence an EA has is a rule that acts before Friday's close: flatten, cut size, or stop opening trades.

Gaps happen because news does not stop when the market does. Political statements, central bank comments and conflict headlines land on Saturdays too. When liquidity returns, price reprices to the new information in one step. We covered the event driven version of this in gap risk on a funded account. This post is about the routine version, the one that arrives every Friday, and what an automated strategy should do about it.

Why a stop loss does not cap a weekend gap

A stop loss is an instruction, not a floor. It tells the broker to close the position once price reaches or passes a level. While the market trades continuously, price usually passes through your level and the fill lands close to it, with some slippage in fast conditions. Across a weekend there is no continuous path. The last Friday price and the first Sunday price can be far apart, and every price in between is skipped.

If your stop sits inside that skipped range, the broker fills it at the opening price, which can be several times further away than planned. That is not a fault in the platform or in the EA. It is how stop orders work on any market that closes. The same mechanism shows up on a smaller scale around news and illiquid hours, which is why slippage and execution quality deserves attention even on weekdays.

The practical takeaway is that the planned risk on a position you hold over the weekend is not your stop distance. It is the stop distance plus whatever the gap adds, and the gap has no fixed size.

How the gap meets daily and max drawdown

Prop firm loss limits are commonly structured in two layers: a daily loss limit measured from a daily reference value, and a maximum drawdown measured from the starting balance or from a trailing high. How each one treats a weekend gap is the part traders tend to discover the hard way. If the two limits still feel blurry, daily loss vs max drawdown explains the difference in detail.

The Sunday open usually falls in a new trading day, so a gap commonly lands in a fresh daily window. That sounds forgiving, but the daily limit is often the smaller problem. The maximum drawdown does not reset on Sunday. If the account was already sitting close to its floor on Friday, the gap can take it through the floor before the EA, or you, can act at all.

Floating losses matter too. Many firms measure limits on equity, which includes open positions at their current value. A gap against a position you did not close can push equity through a limit at the open, even if the stop is filled a moment later. On trailing drawdown plans the picture can be worse, because the floor may have risen during a good week, so the cushion on Friday is thinner than the balance suggests.

Every one of these points is commonly structured, not universal. Firms differ on how the day is defined, which timezone they use, and whether limits are measured on balance or equity. Check the definitions in your account terms before deciding what to carry into Saturday.

Worked example: XAUUSD carried over the weekend

This is a worked example with round hypothetical figures, not a forecast and not any firm's current terms. Assume a $100,000 evaluation with a 5 percent daily loss limit and a 10 percent maximum loss fixed to the starting balance, so the floor is $90,000. On a typical MT5 gold contract, 1 lot is 100 ounces, so a $1 move in XAUUSD is worth $100 per lot. Contract specifications vary by broker, so check yours.

Case one: the account is flat for the challenge at $100,000. The EA holds 0.5 lots long gold into Friday's close with a stop $10 below entry, a planned loss of $500, or 0.5 percent. Gold reopens $30 lower on Sunday. The stop fills at the open, and the loss is $1,500, three times the plan. Painful, but inside both limits.

Case two: the same trade on an account that had a rough fortnight and sits at $93,000, only $3,000 above the floor. This time the EA holds 1.0 lot with the same $10 stop, planning a $1,000 loss. Gold reopens $35 lower. The loss is $3,500, and equity reaches $89,500, through the maximum loss. The account is commonly closed on the open, and no Friday stop could have prevented it.

The lesson is not that gold always gaps. Most weekends it opens close to Friday's price. The lesson is that the outcome depended entirely on how much room the account had left, which is why the Friday decision has to read the account, not only the chart. Our gold trading bot guide covers why XAUUSD needs tighter risk settings than most forex pairs in general.

Worked example: an index CFD and a futures note

Indices gap for slightly different reasons. Cash index CFDs follow their underlying markets, and weekend headlines that move sentiment can reprice them at the Sunday open. Assume, again hypothetically, a NAS100 CFD where 1 lot is worth $1 per point at your broker, a position of 10 lots, and a stop 50 points away. Planned risk is $500. A Sunday open 250 points past entry turns that into a $2,500 loss, five stop distances instead of one.

On the futures side, a combine or PA account on an index future faces the same structural risk across the weekend close. Futures firms commonly require positions to be flat by a set time on Friday, and some by the end of every session, but policies differ by firm and change, and so does each firm's policy on automation. If you trade futures with Apex, Topstep, Tradeify or MyFundedFutures, confirm both the holding rule and the automation rule directly with the firm before you build any Friday logic around them.

What an EA should do on Friday: three policies for weekend gap risk

An expert advisor holds positions into the weekend by default. Nothing in a typical entry and exit model says Friday is different, and once the market closes no condition can fire. So weekend behaviour has to be an explicit rule in the EA. There are three sensible policies, and each one trades some opportunity for some safety.

Flatten is the simplest and the one most traders on challenge accounts should start with. The EA closes all open positions at a set time before the Friday close and stops opening new ones. It gives up whatever those trades would have made after the weekend, and in exchange the account opens Sunday with zero gap exposure. On accounts whose terms restrict weekend holding, this is commonly the only compliant option anyway.

Reduce is the middle path for accounts that allow holding. The EA keeps a position but cuts it to a size that a large gap could not turn into a breach. A useful rule of thumb is to size the carried position so that a gap of three to five stop distances still leaves a clear margin above the maximum drawdown floor. Filter is the lightest option: the EA stops opening new trades from a set time on Thursday or Friday, so it only carries positions it already had, and a time stop closes any that are still open late on Friday.

  • Define the cutoff in server time and confirm your broker's server timezone, since Friday afternoon in your city may be a different hour on the server.
  • Close or cut before liquidity thins: spreads commonly widen in the final minutes before the weekend close, which can trigger stops on its own.
  • Make the rule read the account: the closer equity sits to the drawdown floor, the stronger the case for flattening rather than reducing.
  • Log every Friday action, so you can check that the rule fired and review its cost over several months.
  • Treat holiday weekends and scheduled weekend events the same way, or more strictly, since the closed period is longer.

Sizing for the gap, not for the stop

If you decide to hold, change how you size. Normal position sizing works backwards from the stop distance: risk 0.5 percent, divide by the stop, get a lot size. Over a weekend that calculation assumes the stop is the worst case, and it is not. A better question for any carried position is what the account looks like if Sunday opens several stop distances away, and whether that result is survivable on both the daily limit and the maximum drawdown.

In practice this usually means the weekend size is a fraction of the weekday size. The prop firm risk management plan we published covers how to build a daily loss budget well inside the firm's limit, and the same logic applies here: the gap budget should come out of room you can afford to lose, never out of the last few percent above the floor.

Swap is the other quiet cost of holding. Positions held over the weekend commonly pay or receive a triple swap charge on one weekday night, and the charge goes to the account, not the chart. Our post on weekend holding and swap on a prop account explains how that drift can pull equity below a target that looked reached on Friday.

Where automation helps, and where it cannot

Automation is good at the Friday decision because it removes the temptation to hold a winner just one more weekend. A rule that flattens at a fixed time does not care that the trade is in profit, and that is exactly what you want from it. It is not good at the weekend itself. No EA, no risk tool and no stop order can act while the market is closed, so the protection has to be in place before Friday's close.

That is the honest boundary for PraxAI too. PraxAI GUARD is designed to flatten and lock the account before a daily or maximum loss limit is reached while the market is open, and the validated gold configuration takes a single position with no martingale and no grid, which keeps weekend exposure small and easy to see. Neither can stop a gap from happening, so the weekend decision, and verifying each firm's holding terms, stays with you. For a wider comparison, see the best AI trading bots for prop firms in 2026; PraxAI publishes this blog and appears in that list.

Frequently asked questions

What is weekend gap risk in trading?

Weekend gap risk is the chance that a market reopens after the weekend at a price far from Friday's close. Any open position jumps straight to the new price, and a stop loss inside the skipped range fills at the opening price rather than at its level, so the loss can be several times larger than planned.

Does a weekend gap count against my prop firm daily drawdown?

It is commonly counted against the loss limits like any other loss. The Sunday open usually starts a new trading day, so it commonly falls in a fresh daily window, but the maximum drawdown does not reset. How the day and the limits are measured varies by firm, so check your account terms.

Should my EA close all trades before the weekend on a prop account?

For most challenge accounts, flattening before the Friday close is the simplest and safest policy, and on accounts that restrict weekend holding it is commonly required. If your terms allow holding, reduce the carried size so a large gap cannot push equity through the maximum drawdown floor.

Can a stop loss protect me from a weekend gap?

Not fully. A stop is an order to close at the next available price once your level is reached or passed. If the market reopens beyond your level, the fill happens at the opening price. Guaranteed stops exist at some brokers, but prop accounts commonly do not offer them, so verify with your firm.

Do futures prop firms like Apex allow holding over the weekend?

Futures firms commonly require positions to be flat before the weekend, and some before the end of each session, but rules differ by firm and change over time. Automation policies also differ by firm, so do not assume a bot is allowed. Confirm both the holding rule and the automation rule directly with the firm before trading.

Want the bot that runs this discipline for you?

PraxAIPraxAI™

The AI trading system that passes prop firm challenges and protects your funded accounts, hands free. Join 2,000+ traders running it today.

7-Day Money-Back
Secure Payment
Instant Delivery

Legal Disclaimer

PraxAI is not a broker and not a prop firm, and we do not open or provide trading accounts. Our software is not affiliated with, endorsed by, or sponsored by any of the prop firms named on this site; those names appear for compatibility reference only. Trading forex and leveraged products carries significant risk and is not suitable for every investor, so weigh your financial situation and risk tolerance carefully before trading. The bot and all material on this site are provided for educational and informational purposes only and do not constitute financial, investment, or trading advice. PraxAI is not a licensed financial advisor and does not provide advisory services.

Not Affiliated With Meta / Facebook

This site is not part of the Facebook or Meta websites and is not endorsed by Meta Platforms in any way. FACEBOOK is a trademark of Meta Platforms, Inc.

Earnings & Risk Disclaimer (U.S. Government Required)

Trading forex on margin offers large potential rewards but also a high level of risk. You must be aware of those risks and willing to accept them before trading the forex markets. Do not trade with money you cannot afford to lose. No representation is made that any account will, or is likely to, achieve profits or losses similar to anything discussed on this site. The past performance of any system or methodology is not necessarily indicative of future results.

CFTC Rule 4.41(b)(1) / NFA Rule 2-29

SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS HAVE INHERENT LIMITATIONS. UNLIKE AN ACTUAL TRACK RECORD, THESE RESULTS DO NOT REPRESENT REAL TRADING, AND BECAUSE THE TRADES WERE NOT ACTUALLY EXECUTED THEY MAY HAVE UNDER OR OVER COMPENSATED FOR MARKET FACTORS SUCH AS LACK OF LIQUIDITY. HYPOTHETICAL PROGRAMS ARE ALSO DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES LIKE THOSE SHOWN. IN PRACTICE THERE ARE OFTEN SHARP DIFFERENCES BETWEEN HYPOTHETICAL RESULTS AND THE ACTUAL RESULTS LATER ACHIEVED BY ANY TRADING PROGRAM. HYPOTHETICAL TRADING ALSO INVOLVES NO FINANCIAL RISK, AND NO HYPOTHETICAL RECORD CAN FULLY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN REAL TRADING.

Trading on a live account can lose real money, and the owners of PraxAI (praxai.io) cannot be held accountable for any losses that may occur, including losses arising from possible software bugs, glitches, or malfunctions.

PraxAI and its owners assume no responsibility for errors, inaccuracies, or omissions in these materials and do not warrant the accuracy or completeness of any information, text, graphics, links, or other items contained in them. PraxAI and its owners are not liable for any special, indirect, incidental, or consequential damages, including lost revenue or lost profits, that may result from these materials.

We assume you are legally permitted to purchase and use our products. Following the global and local laws and regulations that apply to you is your responsibility, and we cannot be held responsible for any damages or legal action against you arising from those regulations.

All information on this website, and any software or guide purchased from it, is for educational purposes only and is not intended as financial advice. Any statement about profit or income, express or implied, is not a guarantee. Your own trading may result in losses, as no trading system is guaranteed. You accept full responsibility for your actions, trades, and any profit or loss, and you agree to hold PraxAI (praxai.io) and any authorized distributors of this information harmless.

Important Notices

Risk of loss: forex trading carries a high level of risk and may result in the loss of your entire investment. No guarantees: past performance does not indicate future results, and there is no assurance you will achieve the same outcomes. Liability: we are not responsible for any losses incurred from using this bot, and by using it you agree to hold us harmless from any and all liabilities or damages. None of our services or information should be considered financial advice. All rights reserved. Using this website or its contents means you accept this disclaimer.

© 2025 PraxAI™ · All rights reserved.