MT5 GUIDE · BK CORP CLUB
Overnight Swap Fees in EA Trading: What They Are and How They Affect Your Results
If your EA holds trades overnight, you are paying or earning swap fees every single night. These costs accumulate silently and can significantly impact your strategy's profitability. This guide explains what swaps are and how to account for them in your EA trading.
<h2>What Are Swap Fees?</h2><p>When you hold a forex or gold position overnight, your broker charges (or pays) you a swap fee — also called a rollover fee. This reflects the interest rate differential between the two currencies in a pair. If you hold a buy position on a currency pair where the base currency has a higher interest rate than the quote currency, you may earn a positive swap. If the base currency has a lower rate, you pay a negative swap. In practice, the vast majority of retail forex positions involve a net negative swap charge.</p><h2>How Swaps Are Calculated</h2><p>The swap rate is expressed in pips or points per lot per night. For example, a swap of -0.5 pips on EURUSD means you pay 0.5 pips per standard lot for every night the position is held open. On a 0.1 mini lot, that is 0.05 pips per night — small individually, but after 20 nights on a trade, that is 1 full pip of cost added to the position.</p><h2>Triple Swap Wednesday</h2><p>Forex markets are closed on weekends but swap charges still accrue for Saturday and Sunday. Brokers charge three days of swap on Wednesday night to cover the weekend rollover. If your EA holds positions through Wednesday, the swap cost for that night is three times the daily rate. This is not a glitch — it is standard practice across all brokers.</p><h2>Swaps on XAUUSD (Gold)</h2><p>Gold typically carries a negative swap on both long (buy) and short (sell) positions, though the long side is usually more negative. The swap on gold can be substantial — some brokers charge -3 to -6 points per lot per night on XAUUSD. For EAs that hold gold positions for days or weeks, this becomes a significant ongoing cost. Always check the swap rate for gold specifically in your MT5 terminal under View → Symbols → XAUUSD → Properties.</p><h2>How to Check Swaps in MT5</h2><p>In MetaTrader 5: right-click any symbol in the Market Watch window → Symbol Info → Swap. You will see the long swap rate, short swap rate, and the swap calculation type (usually in points). Check these before running any EA that holds trades overnight. Some brokers charge swaps as a fixed dollar amount per lot rather than in pips — the calculation type tells you which applies.</p><h2>Islamic (Swap-Free) Accounts</h2><p>Many brokers offer Islamic accounts that do not charge or pay swaps, to comply with Islamic finance principles. If you are trading a strategy that holds positions for extended periods, an Islamic account can significantly reduce costs. However, some brokers apply an administration fee instead of swaps on these accounts — read the terms carefully.</p><h2>How Swaps Affect EA Backtesting</h2><p>The MT5 Strategy Tester includes swap charges in its backtesting calculations by default. This means well-run backtests already account for swap costs. However, if you switch brokers after backtesting, the new broker's swap rates may be significantly different. Always verify swap rates at your live broker and re-evaluate strategies that hold positions overnight if you change providers.</p><h2>Summary</h2><p>Swap fees are a hidden but real cost for any EA trader holding positions overnight. Check rates in MT5 before running your strategy, account for triple swap Wednesday, and consider a swap-free account if your strategy holds positions for days at a time. Factoring in swaps is part of honest strategy evaluation — a strategy that looks profitable before swaps may not be after.</p>
Educational content only, not financial advice. Trading involves risk and losses are possible. Automated trading does not guarantee profits.
