Why Portfolios matter in automated trading

Why Portfolios matter in automated trading

22 November 2026, 14:15
Dieter Koelbl
0
24

Introducing Valeria Breaker: the second member of the Valeria EA family

The Valeria EA Family has got it's 2nd member:Valeria Breaker - an expert advisor for Gold, Bitcoin and USDJPY. It is a portfolio from the start, with three markets and eight strategies on each, run from one chart. This post explains why I built it that way and how it trades, without going into every parameter.

Why a portfolio?

Breakout trading has one honest weakness. It earns when a market moves and pays small amounts when it does not. Every market has phases in which it goes sideways for weeks, and in those phases a single-market breakout EA can only collect false breakouts. Waiting it out is the only option. The answer is not a better filter, but more than one market. Valeria Breaker trades USDJPY, Gold and Bitcoin. They move for different reasons: USDJPY follows interest rates and central bank policy, Gold follows safe-haven demand, Bitcoin follows risk appetite. A quiet month in one of them is often a busy month in another.



One chart controls all three markets. Each market runs the same eight strategies with the same risk per position.
In our backtest on real ticks from January 2025 to November 2026, the weekly results of the three markets were practically uncorrelated. That has a visible effect on the monthly results:

USDJPY alone had 9 losing months, Gold 3, Bitcoin 7. Combined, there was one.

The same happens with the drawdown. Bitcoin on its own had the deepest one. The portfolio, which carries Bitcoin plus two more markets, drew down clearly less than Bitcoin alone, and about a third of what the three drawdowns add up to.


The drawdowns of the three markets did not fall into the same weeks, so most of them cancelled out. Over the whole period, the three curves added up to one that rises more evenly than any of its parts:


USDJPY contributes the least, but it often gains when the other two pause. That is its job in the portfolio. This is the main idea behind Valeria Breaker: a low risk per position, spread across three markets, instead of a high risk on one.

How it trades

The mechanics are deliberately simple. The EA looks for swing highs and swing lows on the four-hour chart. Above a swing high it places a buy stop, below a swing low a sell stop. As long as the price stays in its range, nothing happens. A trade only exists once a level breaks. From resting order to exit. Each strategy sets its own distances, hours and exit. Every order carries its stop loss and take profit before it is filled, so there is never a position without protection on the broker's server. Once a trade is in profit, the stop is moved to lock in a small gain. From there, depending on the strategy, the position runs to its target, follows the price with a trailing stop, or is closed at a set time of day.

The eight strategies share this logic and differ in what happens around it: how much room the stop gets, how far the target is, at which hours they trade and how they exit. Some are fast and take small, frequent moves. Others hold for days and wait for the larger ones. Together they cover more of a move than any one of them could alone.

Pending orders are not left unattended. They are removed before the weekend, when the spread is too wide, when free margin is short and, if you switch it on, around important news. When the reason is gone, they are placed again.

What stays the same in the Valeria family

  • No grid, no martingale, no averaging down. The lot size follows the risk setting, never the last result.
  • Known risk per position. The lot size is calculated from the stop distance, so a stopped trade costs the same share of equity on all three markets. A hard limit prevents any single position from risking more than 0.5% of equity.
  • Prop firm functions. Daily drawdown switch, news pause, event-day filter for CPI, NFP and FOMC, and a random delay on order placement.
  • Transparent state. The dashboard shows every market, every strategy, every resting order and the reason when orders are paused.

New in Valeria Breaker is the trade frequency setting. Aggressive runs all eight strategies, Normal five and Defensive three. Fewer strategies mean fewer orders and a smaller drawdown, at the same risk per position. It is a simple way to fit the EA to an account or to the rules of a prop firm.

How to set it up

  • One chart: attach the EA to a single chart of USDJPY, Gold or Bitcoin on a hedging account. The timeframe does not matter. Check that the three symbol names match your broker.
  • Risk per position: the default is 0.1% of equity per position. This is deliberately low, because many positions can be open at the same time across three markets. For a prop firm account with a 5% daily loss limit, stay at or slightly below the default. A built-in limit prevents any single position from risking more than 0.5%.
  • Trade frequency: Aggressive runs all eight strategies, Normal five, Defensive three. Start with Aggressive on a normal account. Choose Normal or Defensive if your drawdown limits are tight, or if you prefer fewer orders on the chart.

The EA runs best on a VPS, so that stop management, weekend protection and the daily limit keep working while your computer is off.

Who it is for

Valeria Breaker is for traders who prefer many small, controlled positions over a few large ones, and who would rather spread their risk across markets than bet on one. It needs a hedging account, runs best on a VPS and is set up in a few minutes: attach it to one chart, check the symbol names of your broker, choose the risk per position and the trade frequency.

Breakout trading means false breakouts. Many trades end at the stop or with a small locked gain, and a smaller number carry the result. Losing streaks happen, and all three markets can lose in the same week. The figures in this post come from a backtest; they do not guarantee future results. Please start on a demo account.

Valeria Breaker is available now on the MQL5 Market: https://www.mql5.com/en/market/product/209372

Full manual for download here: https://c.mql5.com/31/2630/ValeriaBreaker.zip