Spread, Commission and Slippage: The Hidden Costs of Forex Trading Explained
Three costs every trader pays on every trade. What spread, commission and slippage are, how to measure them, and how they affect a trading bot.
Every trade you place pays three costs before the market does anything: the spread, the commission and slippage. None of them is visible as a separate line on a chart, which is why they are easy to ignore. For an Expert Advisor that trades often, they can decide whether a strategy that looks fine on paper holds up on a live account. Here is what each one is, how to measure it and how to keep it in check.
Spread
The spread is the gap between the price you can buy at (the ask) and the price you can sell at (the bid). When you open a position, you start slightly negative by exactly that gap.
- Spreads are quoted in pips on currency pairs and in dollars of price on gold.
- They are not fixed. They usually widen around major news releases, at the daily rollover, on Monday opens and when liquidity is thin.
- In MetaTrader 5 you can see the live spread by enabling the spread column in Market Watch, or by showing the ask line on the chart.
Example (hypothetical numbers): on EUR/USD, a spread of 0.2 pips on 1.00 lot costs about 0.2 x $10 = $2 per trade. On gold with a 100-ounce contract, a spread of $0.20 on 0.10 lots costs about 0.20 x 10 ounces = $2.
Commission
Many brokers offer two account types. A standard account builds its cost into a wider spread and charges no separate commission. A raw-spread (often called ECN) account shows a tighter spread and charges a commission per lot traded. Neither is automatically cheaper: you have to add the two together.
Example (hypothetical numbers): Account A has a 1.2-pip spread and no commission. Account B has a 0.2-pip spread and a $7 round-trip commission per standard lot. On 1.00 lot of EUR/USD, Account A costs about $12 per trade, and Account B costs about $2 + $7 = $9. With these numbers B is cheaper, but different numbers can reverse the result, so always do the arithmetic with your broker's actual figures.
Slippage
Slippage is the difference between the price you expected and the price you got. It happens because prices move between the moment an order is sent and the moment it is filled.
- It can be negative (a worse price) or positive (a better price).
- Market orders and stop orders are the most exposed, because they fill at whatever price is available.
- It tends to grow during fast markets, news releases and price gaps, exactly when stops are most likely to trigger.
- Network delay between your MT5 terminal and the broker's server adds to it.
Example (hypothetical numbers): a stop-loss at a level 20 pips away fills 2 pips further, so the loss is 22 pips instead of 20. On 0.10 lots that is about $2 extra.
Why costs matter more for an EA
A person might place a handful of trades a week. An EA can place many more, and costs are paid on every single one. Small per-trade costs therefore add up quickly.
Example (hypothetical numbers): an EA that pays $3 in combined spread and commission per trade and takes 200 trades over a period pays $600 in costs over that period, before any gain or loss from the market. If the average result per trade before costs is small, costs can turn it negative.
How to measure your real costs
- Open MT5's history tab and add the commission and swap columns.
- For a sample of trades, note the spread at entry (or compare entry price with the chart's bid and ask).
- Compare requested prices with fill prices on stop and market orders to estimate slippage.
- Add it up per trade and per lot, and compare with the strategy's average result per trade.
Checklist for keeping costs under control
- Compare total cost (spread plus commission) between account types, not spread alone.
- Check typical spreads at the times your EA actually trades, not only during quiet hours.
- Run MT5 on a machine with a stable connection that stays online, so orders are not delayed.
- Read the broker's execution policy and contract specifications.
- Remember that swap (overnight financing) is a fourth cost for positions held past rollover.
Common mistakes
- Picking a broker for "zero commission" without checking that the spread is wider.
- Judging costs during quiet hours when the EA trades around active sessions.
- Treating a backtest with fixed spreads and no slippage as what live trading will cost.
How Gixodia fits
Gixodia's EAs run on MetaTrader 5 on an account you choose: your own broker account for GIX-GOLD, or the account a prop firm issues for GIX-PROP and GIX-PROP GOLD. Gixodia is not a broker and does not set spreads, commissions or execution, so the cost checks above are yours to do. A demo account during the 72-hour free trial is a good time to read spreads and fills in your MT5 history before risking money. Start at /start.
FAQ
Which costs the most: spread, commission or slippage?
It depends on the broker, the instrument and how often you trade. Measure all three in your own history rather than assuming.
Is a raw-spread account always cheaper?
No. It has a lower spread but adds a commission. Add both together and compare with a standard account using real numbers.
Can slippage be positive?
Yes. A fill can be better than requested, but in fast markets negative slippage on stops is common, so plan for it.
Do these costs show in MT5?
Commission and swap appear in the history tab. Spread and slippage are built into the fill prices, so you need to compare prices to see them.
Trading involves risk and you can lose money. Past results do not guarantee future results. Gixodia is software, not financial advice.