Strategy
Scalping Strategy Explained: How Scalping EAs Work and Which Timeframe Suits Them
By Benjamin Lee · Updated · 8 min read
Scalping means taking many small profits from small price moves, usually holding a trade for seconds to a few minutes. For an Expert Advisor it is an appealing idea, because a machine can watch every tick and never gets tired. It is also the style of trading in which the broker, not the strategy, often decides the result. A target of a few pips leaves almost no room for spread, commission and slippage, and a strategy that looks excellent in a backtest can lose money at a real broker. This guide explains how scalping EAs work, shows with a worked example why costs dominate, compares the M1, M5 and M15 charts, and lists what to check before you run one.
Key takeaways
- A scalper earns a small amount per trade, so cost per trade is the largest single factor in its result.
- On a one-minute chart the spread can eat a third of every winning target; on M15 it is a much smaller share.
- M5 and M15 are the usual compromise for EAs: enough trades to matter, enough room above costs to survive.
- Execution quality, a raw-spread account and a VPS near the broker matter more for a scalper than for any other style.
- Broker rules on minimum holding time, order frequency and news can void a scalping strategy entirely.
What scalping is, and what an EA scalper actually does
A scalper aims for a few pips, or a few points on gold or an index, per trade, and makes up for the small size with many trades. A manual scalper sits at the screen. An Expert Advisor does the same with rules: when conditions line up, open a position with a tight stop and a nearby target, close it when either is reached or when a short timer ends. The attraction is that each trade risks a small amount and the exposure to overnight events is close to zero.
Most EA scalpers fall into a few families. Breakout scalpers place pending orders around a recent range or a session open and ride the first impulse. Mean-reversion scalpers fade a stretched move back to an average. Momentum scalpers enter in the direction of a short burst confirmed by volume or candle strength. News scalpers trade the seconds around a release, which is the riskiest version because spreads blow out. Each has its own failure mode, and all of them share one dependency: execution.
| Style | Typical hold | What breaks it |
|---|---|---|
| Breakout / pending orders | Seconds to minutes | Wide spreads at the open; slippage on the stop order |
| Mean reversion | Minutes | A trend that does not revert; the loss is larger than the target |
| Momentum burst | Seconds to a few minutes | Latency; filling after the burst has gone |
| News | Seconds | Spread explosion, requotes, platform lag, broker rules |
| Tick scalping / HFT-like | Sub-second | Any delay; most retail brokers restrict or reject it |
Why costs decide everything: a worked example
Take EURUSD on a raw-spread account. Suppose the average spread is 0.2 pips and the broker charges a commission that works out to 0.7 pips per round trip. The round-trip cost is about 0.9 pips, paid on every trade whether it wins or loses. Now compare what a typical target looks like on three charts. The numbers are illustrative, but the proportions are what matter.
| Chart | Typical target | Typical stop | Cost as a share of the target | Break-even win rate before costs | Break-even win rate after costs |
|---|---|---|---|---|---|
| M1 | 3 pips | 3 pips | 30% | 50% | 65% |
| M5 | 8 pips | 8 pips | 11% | 50% | 56% |
| M15 | 15 pips | 15 pips | 6% | 50% | 53% |
- M1 scalper, 3 pip target and stop65%
Needs to win about two trades in three just to cover costs
- M5 scalper, 8 pip target and stop56%
- M15 scalper, 15 pip target and stop53%
Read the first row slowly. A one-minute scalper with a 3-pip target and stop has to win 65 percent of its trades just to break even once costs are counted, compared with 50 percent in a world with no costs. Few strategies hold that edge reliably, and a spread that widens from 0.2 to 0.6 pips for a minute, which happens routinely at rollover and around news, wipes it out. On M15 the same cost is a rounding error. This is the entire argument for slower scalping timeframes, and you can test it on your own numbers.
Interactive: win rate is not edge
- Expected result per trade
- +0.35
- Profit factor
- 1.64
- Break-even win rate
- 33%
At these numbers the system has a positive edge before costs. Add spread, commission and slippage per trade and re-check.
Which timeframe is best for scalping?
There is no universal best, but the trade-offs are clear enough to give a ranking for Expert Advisors, which cannot compensate for poor fills the way a discretionary trader sometimes can.
- M1. The most trades and the least room. It needs the tightest spreads, the fastest execution and the most testing on real ticks. Backtests on a one-minute chart without real ticks are especially unreliable. Best left to experienced traders with a proven broker.
- M5. The workable middle. Targets large enough to absorb costs, enough signals to build a record in weeks, and fewer false starts than M1. Most scalping EAs that run on retail accounts sit here or on M15.
- M15. Strictly a short-term trader's chart rather than a scalper's, with a handful of trades a day. Costs are small relative to targets, and the EA is far less sensitive to the broker. The trade-off is fewer trades and a longer wait to see whether the edge is real.
- M30 and above. Not scalping. They belong to our trend following guide.
The honest summary: for an EA you will run unattended on a retail broker, M5 to M15 is where a scalping edge is most likely to survive real costs. The shorter the chart, the more the result depends on conditions you do not control. A gold scalper compounds the issue, because gold's spread changes sharply across sessions.
Execution: the part the backtest does not show
A backtest fills every order at the price it assumes. A live broker fills at what the market gives, and for a scalper the difference is the strategy. Four things matter.
- Spread and commission. Raw or ECN accounts with a commission usually beat standard accounts with a wide spread for scalping. See ECN, standard and cent accounts.
- Slippage. A stop order filled several points worse than its price turns a planned small loss into a larger one. It is far more common in fast markets, which is exactly when scalpers are active.
- Latency. The time from signal to fill. A VPS close to the broker's server cuts it; see our VPS setup guide.
- Fill policy. Some brokers re-quote, reject or delay orders that look like scalping. MT5 has different order filling modes that suit different brokers; see order filling modes explained.
One more habit separates scalpers who last from those who do not: they measure their own costs instead of trusting the broker's advertised figures. Record the spread at entry and the difference between the requested and the filled price on every live trade for a month. Divide the total by the number of trades and compare it with the cost your backtest assumed. If the live figure is more than a third higher, the backtest is flattering you, and the right response is to rerun it with the real cost, not to hope the gap closes. A scalping EA that stays profitable at the real, measured cost, and at a cost half a pip worse, has a margin worth trusting.
Broker rules that can end a scalping strategy
Some brokers and prop firms restrict very short trades. Common rules are a minimum holding time (a trade must stay open for, say, 60 seconds), limits on orders per minute or per day, and bans on trading during high-impact news. A strategy that violates them may have its profits cancelled or its account closed, whatever the backtest said. We researched published broker agreements and prop-firm rulebooks in our long guide on scalping brokers and minimum holding times, and the point carries over: read the rules before you pay for an EA, not after.
How to evaluate a scalping EA before you trust it
We apply the same questions to scalpers we review. In our ThunderGold Scalper verdict the main finding was a missing live record and a strong dependence on broker conditions. In our Gold Snap verdict the live signals held up but the trades lasted four minutes on average, which made slippage the key risk. For a wider view of how scalpers compare with grids and trend systems, see our strategy comparison and the short guide on scalping Expert Advisors.
Sources and further reading
- MetaTrader 5 Help: Strategy TestingThe Strategy Tester: testing modes, settings and forward testing.
- MetaTrader 5 Help: Real and Generated TicksThe difference between ticks recorded from the broker and ticks the tester generates.
- MetaTrader 5 Help: Testing ReportWhat each figure in the tester's report means, including drawdown.
Frequently asked questions
What is the best timeframe for scalping with an EA?
For an unattended Expert Advisor on a retail account, M5 to M15 is usually the most workable. M1 gives the most trades but the least room above spread, commission and slippage, while M15 is far less sensitive to broker conditions.
Are scalping EAs profitable?
Some are, and many are not. The result depends on the strategy's edge net of spread, commission and slippage at your own broker. Backtests without real tick data and realistic costs often overstate scalping results.
Why does my scalping EA lose money live when the backtest was profitable?
The usual causes are wider live spreads than the tester used, slippage on stop orders, latency, and broker restrictions. Compare the average cost and the average fill quality in live trades with the backtest assumptions.
Do I need a VPS for a scalping EA?
It is strongly advisable. A VPS close to the broker's server reduces latency and keeps the EA running without interruption, which matters most for strategies with small targets.
Do brokers ban scalping?
Some restrict it through minimum holding times, order-frequency limits or bans around news, and some prop firms do the same. Check the account agreement or rulebook before running a scalper.
Expert Advisors in these styles
Apply the checks above to any of these before you buy: read the manual, run your own backtest, and start on demo.
Keep reading
- ResearchBrokers That Allow Scalping: Minimum Hold Time RulesWhich brokers allow scalping? We read client agreements, prop-firm rulebooks and UK ombudsman decisions: hold-time rules from 30 seconds to 5 minutes, sourced.
- Strategy comparisonWhich EA Strategy Wins Long Term?Compare MT5 Expert Advisor strategy types, from scalping and grid to hedging and arbitrage: how each earns, how each fails, and which tend to survive long term.
- Broker setupECN vs Standard vs Cent Accounts for EAs: Which to PickCompare ECN or raw-spread, standard and cent accounts for Expert Advisors: spread, commission, execution, minimum lot, and a cost example in euros.
- TroubleshootingMT5 Order Filling Modes Explained: FOK, IOC and ReturnMT5 order filling modes explained: Fill or Kill, Immediate or Cancel and Return, how brokers support them, and how to fix the invalid filling type error 10030.


