Home › Learn › What “HFT-Safe” Really Means
What “HFT-Safe” Really Means, and Why Brokers Ban Some EAs
“HFT-safe” appears on expert advisors constantly and is almost never explained. It is not a performance claim. It is a claim about not triggering the clauses in your broker's terms that let them void your profits — and understanding it means understanding how a retail broker actually makes money.
What retail “HFT” is not
Institutional high-frequency trading is co-located servers, microwave links and microsecond competition on exchange order books. Nothing sold to retail traders is that, and nothing running on MetaTrader on a VPS is that.
What retail calls an HFT EA is something much narrower and much more specific: a program that fires many orders with very short holding times, usually seconds, trying to extract small amounts repeatedly. And in the cases that actually make money, the source of that money is generally not the market. It is the broker's pricing.
Latency arbitrage, explained properly
This is the mechanism underneath most of the category, and once you see it the rest follows.
Your broker does not generate the price of gold. It receives prices from liquidity providers and passes a quote to your platform. That journey takes time — usually tens of milliseconds, sometimes more on a slow feed or a distant server.
During that delay, the broker's quote is stale. The real market has moved and your platform has not been told yet.
A latency arbitrage EA subscribes to a faster reference feed, compares it against the broker's quote, and when they diverge beyond a threshold, it trades the stale price in the direction the real market has already moved. Then it closes seconds later when the broker's quote catches up.
The important feature of that trade is that it contains no market risk worth speaking of. It is not a prediction. It is taking a price that is known to be wrong, from someone who has not yet found out. The profit does not come from another speculator being mistaken about gold. It comes directly out of the broker's book.
Why the broker's business model makes this a fight
Retail brokers handle client orders in two broad ways.
A-book: the order is passed through to a liquidity provider. The broker earns the spread or commission and does not care whether you win.
B-book: the broker takes the other side internally. Your loss is their revenue and your profit is their cost.
Most retail brokers do both, sorting clients by how they trade. Flow that reliably loses is profitable to internalise. Flow that reliably wins — in industry language, toxic flow — gets passed through, restricted, or shown the door.
A latency arbitrage EA is the most toxic flow that exists, because it wins by construction rather than by being right. It is not a clever trader the broker is losing to; it is a leak in their pricing infrastructure. From the broker's side, tolerating it would mean paying out on quotes they never intended to honour.
So they do not tolerate it. And the tool they use is the client agreement.
The clauses that actually matter
Open your broker's client agreement and search for the words abusive, arbitrage, latency, manipulation and scalping. Almost every retail broker has language of roughly this shape:
Where the firm reasonably determines that a client has exploited latency, price feed errors, delayed quotes, or engaged in arbitrage or other abusive trading strategies, the firm may void the affected transactions, adjust the account balance, withhold profits, suspend or terminate the account.
Three things in that sentence deserve attention. It is decided by the firm, not by a court. It is applied retrospectively, after the profits exist. And the remedy is not closing your position — it is removing the money.
This is why a trader can run an EA for three profitable months and then find the gains reversed on withdrawal. The strategy did not stop working. It was always working for a reason the contract prohibited, and the contract was only enforced when the amount got large enough to notice.
Related restrictions commonly appear alongside: minimum holding times, minimum distance for stops, limits on hedging across accounts, rules against straddling scheduled news, and prohibitions on group trading that coordinates opposite positions.
How to tell whether an EA is doing it
Sellers rarely describe the mechanism, so judge by symptoms. Strong indicators:
- Holding times measured in seconds, consistently.
- Win rates above 90% with tiny profit per trade. Directional strategies do not do this. Arbitrage does.
- It requires a specific broker, or works on one and not another. Real market edges are not broker-specific. Feed-latency edges are, entirely.
- It requires a VPS in a named data centre. Location only matters at this timescale if milliseconds are the product.
- It needs a second data source or an external feed file. That is the reference price.
- Spectacular on demo, mediocre or blocked on live. Demo servers have no B-book to protect and often no execution controls.
- Marketing that emphasises passing a prop-firm evaluation rather than trading an account. Evaluation accounts are simulated, which makes them the softest target for exactly this technique — and firms detect it and fail the account, usually at payout.
If several of these are true, you are not looking at a trading strategy. You are looking at an infrastructure exploit with a profit curve attached, and the counterparty gets to decide when it ends.
So what does “HFT-safe” claim?
Turned around, the label means the EA is built so that nothing it does falls inside those clauses. In practice that means:
- No tick-scalping. It does not fire in the milliseconds after a quote update, and it does not compare against an external feed.
- A minimum holding time, long enough that trades are not flagged as arbitrage on their duration alone.
- Order rate limiting — a cap on how many orders per minute, so the account does not look like a bot attacking the pricing engine.
- Respecting the broker's stop level rather than trying to place stops inside the minimum distance.
- A spread filter, so it does not trade in the widened conditions where execution controls are tightest and slippage is worst.
- No news straddling, no cross-account hedging, no bonus arbitrage.
In other words, an HFT-safe EA is one whose profit has to come from the market rather than from the broker's latency. That is a meaningful claim — it is a claim about durability. But note what it is not: it says nothing about whether the strategy is any good. A perfectly compliant EA can still lose money steadily, and many do.
It is a claim about whether you get to keep the profits if there are any, which is a different and prior question.
What to do before running any automated strategy
- Read your broker's terms on abusive trading. Fifteen minutes now, versus an argument about a withdrawal later.
- Ask the broker directly, in writing. Describe the strategy's holding time and order frequency and ask whether it is permitted. Keep the reply. Support-chat approval is not a guarantee, but written confirmation is materially better than nothing.
- Ask the seller what the edge is. If the answer to “where does the money come from” is vague, or is “proprietary algorithm”, assume the answer is latency until shown otherwise.
- Test on two different brokers. If results diverge wildly, the edge lives in the feed, not the market.
- Withdraw profits regularly. Money already in your bank cannot be adjusted off a balance.
Any strategy whose profit comes out of your counterparty rather than out of the market has a lifespan set by that counterparty's patience, not by the strategy's quality. It will look flawless for exactly as long as it is allowed to, and its ending will arrive as an email rather than a drawdown — which is why it does not show up in any backtest. That is worth more attention than the equity curve it produces along the way.