Strategy conflict is the scenario where two or more EAs simultaneously open opposing positions on the same symbol — one buying, one selling. The net result is zero directional market exposure, but you're paying full spread and commission on both trades. It's the cleanest possible way to lose money without the market moving at all.

How conflicts occur

The most common scenario: a trend EA is long EURUSD while a mean-reversion EA opens a short EURUSD position because price is extended. Both EAs have perfectly reasonable signals in their own context. Neither knows about the other. The result is a synthetic hedge that earns nothing and costs double commissions.

A second scenario: a scalp EA goes long XAUUSD on a micro-trend, while a news-reaction EA goes short XAUUSD on macro risk-off signals. Same symbol, opposite directions, same moment. Now you've not only negated the market exposure — you have two positions that will both require attention when their respective exits trigger.

The cost of conflicting positions

Direct costs are straightforward: double spread + double commission. On XAUUSD with a 0.2 pip spread and a 0.5 pip commission per side, a conflicting pair of 0.1-lot trades costs approximately $1.40 in pure friction before either position closes. Multiply by the frequency of conflicts across a multi-EA portfolio and this becomes meaningful over a quarter.

Indirect costs are harder to quantify but larger. Conflicting positions consume margin. They create portfolio noise that makes performance analysis harder. And they can interfere with each other's exits — when one side closes, the remaining position inherits the full risk of the underlying move, often at a worse average entry than either EA intended.

2.2%average annual performance drag from undetected strategy conflicts in typical 5-EA portfolios
8-15×higher conflict frequency during high-volatility news events vs. quiet sessions
~$0net directional exposure while paying 2× transaction costs

Detection

Detection is conceptually simple: for each symbol, at every new trade open, check whether any other EA has an open position in the opposite direction. The difficulty is doing this in real time across an entire portfolio, with positions that may have opened minutes or hours apart.

MetaTrader's Magic Number system makes attribution possible — each open trade carries the identifier of the EA that opened it. With access to the full trade history indexed by Magic Number and symbol, you can identify conflicts both in real time and historically.

Partial conflicts

Conflicts aren't always full-offset. EA-1 might have 0.2 lots long and EA-2 might have 0.05 lots short on the same symbol. The net exposure is 0.15 lots long, but you're still paying commission on the 0.05-lot short for no incremental benefit. Tracking net lot-weighted directional exposure catches these partial conflicts.

Prevention strategies

  1. Segment your EAs by signal type so you never run opposing logic on the same symbol: don't run both trend-following and mean-reversion EAs on the same instrument
  2. Set a portfolio rule: if an EA wants to open a position opposite to an existing position on the same symbol, it must wait until the existing position closes
  3. Monitor conflict frequency monthly — an increasing conflict rate often indicates that a previously-compatible pair of EAs has started responding to the same market conditions
  4. Review conflicts after major news events: these are the highest-frequency conflict periods and often reveal structural incompatibilities between strategies

See this in your own portfolio

AlgoLens gives you every metric and visualization mentioned in this article — live, from your real trading data.

Start free trial →See all features