Strategy guide

HFT expert advisor: what high-frequency trading means on MT5

An HFT expert advisor is a listing label, not a regulatory category. EU law defines high-frequency algorithmic trading by three traits used together: infrastructure intended to minimise latency, no human intervention for individual orders and high message rates. A retail MT5 order goes to the broker’s trade server, which can execute, reject or requote it. This guide separates the two.

Trading forex and CFDs involves substantial risk of loss. Automation applies rules; it does not remove trading risk. Read our risk disclosure.

Key takeaways

HFT expert advisor: the EU legal definition

The EU defines the term in Article 4(1)(40) of Directive 2014/65/EU (MiFID II). The text reads: “‘high-frequency algorithmic trading technique’ means an algorithmic trading technique characterised by: (a) infrastructure intended to minimise network and other types of latencies, including at least one of the following facilities for algorithmic order entry: co-location, proximity hosting or high-speed direct electronic access; (b) system-determination of order initiation, generation, routing or execution without human intervention for individual trades or orders; and (c) high message intraday rates which constitute orders, quotes or cancellations;”

The definition has three parts, and all of them must hold together. In plain words:

An automated system is therefore not high-frequency under this text just because it trades automatically. The text sets no speed figure and no message count, and this guide does not supply one.

What a retail MT5 order goes through

Diagram of one order travelling from a retail terminal to the broker’s trade server and back, with a requote return path. A checklist card beside it lists the three EU traits of high-frequency trading, and a note says that retail EA labels are product names.
Concept diagram, not an app screenshot.

The MetaTrader 5 help on basic principles describes an order as an instruction sent to a broker, which is checked on the server before it is processed. The page says: “Orders that have passed the check wait to be processed on the trade server.” From there, the order can be executed, canceled on expiry, rejected, or canceled by the trader.

The same page explains that account type decides how positions are counted. It says: “The system used depends on the account and is set by the broker.” Under netting, one position per symbol is kept, and an opposite deal reduces or closes it. Under hedging, several positions on the same symbol can stay open at once.

For a retail trader, the EA sends a request and the broker’s trade server decides what happens to it. The account type and the execution mode are set by the broker, not by the EA.

Execution modes, requotes and deviation

The basic principles page lists four order execution modes: Instant, Request, Market and Exchange. It says: “Execution mode for each security is defined by the brokerage company.” This guide looks at two of them: Instant Execution and Market Execution.

In Instant Execution, the order is sent with the prices the platform adds to it. If the price moves by more than the deviation value, the server can refuse the order and return new prices, which is a requote. The executing trades page defines deviation as “Deviation is the difference between the order execution price and the specified price to which a trader agrees.” It also says that a larger value makes a requote less likely.

In Market Execution, the broker sets the price: “a broker makes a decision about the order execution price without any additional discussion with the trader.” The same page says that sending the order “means advance consent to its execution at this price.”

Stop levels are handled differently. The executing trades page says that Stop Loss and Take Profit “are stored and executed on the broker’s server, and therefore do not depend on the performance of the trading platform.” A Trailing Stop is different. The basic principles page says it “is executed in the trading platform rather than on the server like Stop Loss.”

Reading an HFT label on an EA listing

Publishers choose their own product names and wording. Putting “HFT” in a name is marketing wording and does not place an EA in the EU category. Two listings whose names contain HFT are shown below, each quoted from the publisher’s own page.

What two HFT-named listings state, quoted from each publisher’s page. No figures are quoted.
EAPublisherPublisher’s wording (verbatim)Source and capture date
HFT Spike EAOMG FZE LLCThe page’s strategy list includes “HFT Spike (High-Frequency Trading)” and “No Martingale, No Grid, single-position trend trading”. It also says: “Opens a single position at a time”.Publisher page, captured 10 November 2026
Gold Hammer HFT EAFlorin TudorThe page uses HFT in the product name. Of the method it says: “The EA uses Buy Stop and Sell Stop pending orders to trade price breakouts.”Publisher page, captured 10 November 2026

Neither page, as captured, mentions co-location, proximity hosting or message rates. One of them gives a latency value in its specification, which this guide does not quote or assess. The label therefore does not show that either listing meets the EU definition. A product name is only a name, and the three traits are the test.

Speed claims and quote-delay strategies

Some listings and articles describe strategies that rely on speed or quote timing. This guide does not explain how such a strategy works, and it does not present one as a method to use.

Whether a broker or a prop firm allows a given strategy is set in its own terms, not in an EA listing. Read those terms and ask in writing before you run an EA on that account. See Is an EA allowed in trading?.

A speed figure on a listing cannot be checked from the listing alone. This guide quotes no speed figure and gives no latency or fill-time figure for any broker.

Testing an EA before any use

  1. Read the publisher’s own page and write down what it states about entries, the number of open positions and sizing. Mark anything the page does not state as unknown.
  2. Test on history in the Strategy Tester, and follow the expert advisor tester guide for the settings.
  3. Run the EA on a demo account and record every trade in a trading journal, including fills and requotes.
  4. Use only EAs you wrote, bought or licensed. Do not use files from unlicensed sources.

A backtest is a simulation, so it may not match how live orders are filled. A demo run checks consistency with the backtest. It is not a forecast of live results.

Where YO4X fits

YO4X is a Windows desktop workspace for supported MetaTrader 5 strategies, bot configuration and trading journals. It runs on 64-bit Windows 10 and 11. The current desktop workflow is gated to supported MT5 demo accounts, and live-money trading is not released. YO4X does not execute EX5 files or arbitrary uploaded code. It is software, not a broker, and the account and funds stay with the broker. See the download page.

Frequently asked questions

Is HFT a legal category for expert advisors?

The EU definition in Article 4(1)(40) of Directive 2014/65/EU describes a technique, and it needs three traits together. A product name that includes HFT does not make an EA fall under that definition. The three traits are the test, not the label.

Can a retail MT5 account run high-frequency trading?

The MetaTrader 5 help on algorithmic trading does name it: “A special branch of algorithmic trading includes high frequency trading (HFT).” The tools it lists for that include orders “processed on the trade server with a minimum delay” and “Renting a virtual platform close to a broker to minimize network delays”. The help gives no speed or message-rate figure, and it does not say that a retail account meets the EU definition. Whether a particular set-up meets the legal definition is a question for a qualified adviser, and this page does not answer it.

Does a speed claim in an EA listing prove anything?

Not on its own. A listing may state a speed or latency figure, but that figure cannot be checked from the listing page alone. This guide quotes no speed figure from any listing.

Is a quote-delay strategy allowed on my account?

The rules come from your broker or firm, not from this page or from an EA listing. Read the account agreement and ask support in writing before you run an EA that depends on quote timing. See Is an EA allowed in trading?.

Which HFT EA should I choose?

This guide does not recommend, rank or endorse any expert advisor. Use only EAs you wrote, bought or licensed, and test each one on a demo account before relying on it. Keep a record of every test in a trading journal.

Keep reading

Sources: Basic Principles - Trading Operations - MetaTrader 5 Help · Executing Trades - Trading Operations - MetaTrader 5 Help · Algorithmic Trading, Trading Robots - MetaTrader 5 Help · Directive 2014/65/EU (MiFID II), Article 4(1), points (39) and (40)

Trading forex and CFDs involves substantial risk of loss. Past performance and backtests do not guarantee future results. Read our risk disclosure before you trade.