EA execution guard

Build a spread filter that blocks bad execution without hiding every setup.

Design an EA spread filter by measuring symbol spread, setting max-spread caps by session, logging blocked entries, and checking trade-count impact before prop-style testing.

Common spread-filter evidence

MaxSpreadPoints input missing
Spread filter blocked every London setup
CurrentSpread=38, MaxSpread=20
No log for symbol suffix or session
Strategy Tester: 0 trades after spread cap

These are execution-control and observability issues. Fix measurement and logging before changing entries, lot sizing, or prop-style assumptions.

Design a max-spread entry guard
Measure broker symbol and session spread
Log blocked entries with current spread and cap
Route opt-in source as spread-filter interest
Check spread blocks before execution

Audience

For MT4 and MT5 EA builders whose strategy needs a max-spread rule, broker-symbol guard, session-aware cap, and clear logs before prop-style or manual testing.

Problem

A spread filter can protect execution, but a random cap can also turn the EA into a silent zero-trade system. The unsafe pattern is blocking entries without logging current spread, cap, symbol, session, or how often valid setups are being removed.

Outcome

Workfusionapp keeps the review practical: measure spread on the actual symbol, set a cap by session or strategy window, log spread blocks once, compare trade-count impact, then route the EA into the risk checker.

Support path

One problem, one fix path.

Start with the concrete blocker, keep the full EA context attached, then move to a reviewable output.

1. Measure spread on the actual symbol

Check the broker symbol, suffix, point size, digits, and session. XAUUSD, XAUUSD.raw, and index CFDs can require different spread caps.

2. Log blocks and pass rate

When spread blocks an entry, log current spread, cap, symbol, session, and setup label once. Then compare how many setups survive the filter.

3. Review spread with other risk gates

A spread cap should sit beside daily drawdown, max trades, cooldown, and invalid-stop guards. Do not let one filter hide every other blocker.

Workflow

From random spread cap to one measurable execution guard.

The spread filter is a software control. It should make bad execution visible, preserve enough trade frequency for review, and avoid implying that a filtered EA is profitable or challenge-ready.

Step 1

Paste the entry and execution gate

Step 2

Measure spread by symbol and session

Step 3

Add max-spread block logs

Step 4

Retest manually with pass-rate evidence

Spread-filter handoff

Route the execution guard into the right risk-control path.

Open the guide that matches the spread failure, then run the free desk with symbol settings, session window, current spread logs, max-spread cap, and tester trade-count impact.

Spread filter guide

Use this when the EA needs a max-spread guard, symbol-specific cap, session-aware rule, or spread-block logging before testing.

Prop readiness checklist

Use this when spread, drawdown, exposure, cooldown, lot sizing, and tester evidence need to be reviewed together before manual use.

Send me the spread-filter workflow

Opt in only if your MT4 or MT5 EA needs a max-spread guard, session-aware spread cap, spread-block logs, or prop-style execution-readiness review. This captures the spread-filter source for conversion measurement.

Intent locked: Get risk check

Choose the workflow you want, then opt in only if you want Workfusionapp updates.

Does a spread filter make an EA prop-ready?

No. It is one execution guard. Prop-style readiness still needs drawdown, exposure, lot sizing, tester evidence, and manual rule review.

Why did the EA stop trading after I added a spread filter?

The cap may be too strict for the broker symbol or session. Log current spread, cap, symbol, and setup count before changing the strategy.

Does this require broker credentials?

No. Use EA code, symbol settings, tester or demo logs, and manual account snapshots. Workfusionapp does not need broker login.