Joshua Dunnink ยท Trading Systems

← Lamplighter

Lamplighter - Research Note

What the machine does, how each part is bounded, and what the tests behind each figure are.

Version 1.04 - October 2026

Every figure in this note is a Strategy Tester run on real broker ticks; those are backtests, not a record of live trading. Every number names the broker feed and the window it came from, and a number that cannot be traced that way does not appear.


0. The result in one table

Backtest, MetaTrader 5 Strategy Tester, real ticks, version 1.04 at its defaults (Risk level Medium, lots growing with the balance), deposit 10,000, 150 ms execution delay.

feed trades profit factor relative equity drawdown net
BlackBull, 2022-11-01 to 2026-10-09 (headline) 2,054 1.60 14.05 % +98,562
Vantage, 2025-07-04 to 2026-10-09 708 1.65 11.66 % +34,558

The lot grows with the balance, so most of the money in both runs was made late in the window on larger lots. The profit factor and the drawdown are the figures to compare across brokers and windows; the net mostly says how long the window was.

How the machine is built, what it leaves out on a quiet day, what a losing stretch can do to a small account, and which market its history belongs to is the rest of this note.


1. How it was tested


2. The mechanism: four lamps

Lamplighter runs four strategies side by side on one gold chart. Each one rests orders at a place on the chart or at a time of the server day and waits for price to carry through. None of them predicts direction; each takes the break of a defined level when the market brings price there. They share nothing: not positions, not orders, not stops. Each has its own magic number, which is how the EA tells its own trades apart.

Because Swing Breakout and Pullback each rest an order on both sides, each can hold a buy and a sell at the same time, so up to six positions can be open at once (in the backtests the most open at one time was four). That is why the product needs a hedging account: a netting account would merge the positions of the four lamps into one.

2.1 Morning Breakout - the early-session range

The EA measures the range of the early session. At 06:05 server time it places a buy stop above the range and a sell stop below it. The stop loss is a fixed percentage of price. When one side fills, the other is cancelled, so the strategy holds at most one trade a day. Once the trade has moved by the size of the session range, the stop goes to breakeven, and from there it follows price. Any Morning trade still open at 17:55 server time is closed.

2.2 London Open - the overnight range

The EA measures the overnight range and at 09:55 server time places a buy stop and a sell stop around it. The stop loss sits at the middle of the range and the target is the full range. Once the trade is in profit, the stop locks most of the best profit reached. When the range is wide enough that a stop at its middle would risk too large a share of price, London Open stands aside for the day instead of shrinking the stop.

2.3 Swing Breakout - the nearest unbroken hourly swing

A swing is an hourly bar whose high or low is more extreme than the bars on both sides of it. Swing Breakout takes the nearest swing high above price and the nearest swing low below price that no later hourly bar has traded through, and rests one stop order at each. The stop loss is a fixed percentage of price. Once the trade is ahead, the stop follows price. An early false-breakout exit closes a trade that does not follow through within minutes of its entry, so a break that fails at once costs less than the full stop.

2.4 Pullback - a four-day extreme

On days when a four-day extreme qualifies, the EA rests a stop order at the four-day high above price and at the four-day low below price. A trade opens only if price comes back to that extreme and breaks it. The stop loss is a fixed percentage of price, and once the trade is ahead the stop follows price.

2.5 Where the four ideas come from

All four are ordinary, widely known market-structure ideas: a break of the opening range, a break of the overnight range, a break of an unbroken swing, a return to a recent extreme. Nothing here is a new discovery. What the research added is the way they are combined, the guards that keep each one out when its conditions are poor, and the stop on every order.


3. The guards


4. Risk levels: a lot per balance, not a percentage

One input, Risk level, sets the lot from the balance: 0.01 lot for every whole 4,000 (Low), 2,000 (Medium, the default), 1,000 (High) or 500 (Hot) of balance, with the broker's minimum lot as the floor. Custom takes a fixed lot or a balance of your own per 0.01 lot. On a balance below the level's block, the EA trades the broker's minimum lot.

balance Low Medium High Hot
500 0.01 0.01 0.01 0.01
1,000 0.01 0.01 0.01 0.02
2,000 0.01 0.01 0.02 0.04
5,000 0.01 0.02 0.05 0.10
10,000 0.02 0.05 0.10 0.20
20,000 0.05 0.10 0.20 0.40

(Lots on a broker whose lot step is 0.01. A table of sizes, not of results.)

A higher level buys more lots for the same balance, so the same series of trades moves the account further in both directions. There is no level that avoids that trade-off. Because the stops are a percentage of price, one stop on a given lot costs more when gold is expensive; the panel's "Risk now" line shows what every open stop would cost in the account currency.

Each level from its smallest balance. Backtest, MetaTrader 5 Strategy Tester, real ticks, version 1.03 at its defaults (version 1.04 makes the same trades), 150 ms execution delay; BlackBull 2022-11-01 to 2026-10-09, Vantage 2025-07-04 to 2026-10-09.

Level, starting balance Lowest equity, share of the start (BlackBull / Vantage) Relative equity drawdown (BlackBull / Vantage) Profit factor (BlackBull / Vantage)
Low, 4,000 95 % / 97 % 8.5 % / 7.1 % 1.55 / 1.66
Medium, 2,000 91 % / 95 % 16.3 % / 11.7 % 1.58 / 1.62
High, 1,000 82 % / 90 % 30.3 % / 18.6 % 1.53 / 1.58
Hot, 500 64 % / 80 % 52.8 % / 41.5 % 1.54 / 1.52

The lowest equity measures survival: how far below the money it started with the account went. The relative equity drawdown measures the ride: the largest fall from a high the account had reached. The two differ because a fall from a high made after a run of profit can be deep in percent while the account is still well above its start. In none of these runs did the account fall to the account stop.


5. Steady mode: the one gate that paid for itself

Backtest, MetaTrader 5 Strategy Tester, real ticks, 150 ms execution delay; BlackBull 2022-11-01 to 2026-10-09, Vantage 2025-07-04 to 2026-10-09.

The question. The equity curves show one recognisable stretch of losses: from mid-November to mid-December 2025 the two range strategies lost day after day, in a market that did not look different on the chart. The question was whether that stretch could be recognised while it was happening.

The cause. In that stretch the morning and overnight ranges kept breaking and then failing: price broke out, reversed, and finished the day back inside or beyond the other side. Both range strategies buy or sell the first break of their range, so a market whose breaks do not hold costs them a full stop again and again. The other two strategies were not hurt.

The measure. For every past day the EA checks whether the first break of the Morning range still held at 17:55 and the first break of the London range at 15:55. The share of breaks that held over the last fifteen trading days is compared with the same share over the past year. When it is in the lowest third of its own year, breaks are failing more often than usual. It reads the market, not the EA's results, and its threshold moves with the market's own history.

What it is not. It is late: it needs a run of failed breaks before it sees one, so it cannot avoid the first losses of a stretch, and it is still acting when breaks start to hold again. Used as a switch that stops the two strategies, it cost more profit than it saved. That is why it ships as a size reduction, not a stop.

The test. Lots growing with the balance from 10,000, four ways: no steady mode, half size while it acts, stand aside while it acts, and, as the honest comparison, simply trading smaller all the time (0.01 per 2,400 instead of 2,000). Backtest, MetaTrader 5 Strategy Tester, real ticks, 150 ms execution delay; BlackBull 2022-11-01 to 2026-10-09, Vantage 2025-07-04 to 2026-10-09.

Variant BlackBull net BlackBull relative equity drawdown Vantage net Vantage relative equity drawdown
No steady mode +132,891 17.69 % +46,092 16.27 %
Half size (the default) +98,562 14.05 % +34,558 11.66 %
Stand aside +71,820 13.67 % +26,523 10.50 %
Always smaller, no steady mode +79,500 14.70 % +31,060 13.67 %

The rule set before the run: half size must end with more money than always trading smaller, at an equal or shallower drawdown, on both brokers. It did: 24 percent more on BlackBull and 11 percent more on Vantage, each at a shallower drawdown (backtest, BlackBull 2022-11 to 2026-10, Vantage 2025-07 to 2026-10). Steady mode costs profit against no steady mode, about a quarter of the net, and buys a shallower ride for it. It is on by default because a shallower ride is what most accounts need; it is one input to switch off.

On a small account half of the broker's minimum lot is still the minimum lot, so steady mode has nothing to halve until the lot is 0.02 or more.

What changed in 1.04. Steady mode reads five-minute bars instead of one-minute bars. On 1,999 trading days of two gold feeds the daily reading was the same with both, with no exceptions, and the 1.04 runs made the same trades as 1.03, deal for deal. The reason is the terminal: 300 trading days of one-minute bars do not fit in MetaTrader's default chart history of 100,000 bars, while five-minute bars do.


6. Execution: who does what


7. Small accounts: survival measured from the starting balance

Backtest, MetaTrader 5 Strategy Tester, real ticks, version 1.03 at its defaults (version 1.04 makes the same trades), 150 ms execution delay; BlackBull 2022-11-01 to 2026-10-09, Vantage 2025-07-04 to 2026-10-09.

The question for a small account is not how deep the ride gets after a run of profit, but whether the account keeps the money it started with. Each level was therefore run from its smallest balance, and the account's lowest equity is reported against that start (section 4 has the table).

The margin is a second limit. One 0.01 lot of gold is one ounce on a broker with a 100-ounce lot. At leverage 1:30 and gold near 4,100, each open position needs about 137 of margin. Up to six positions can be open at once, so six need about 820; in the backtests the most open at one time was four, about 550 (backtest, MetaTrader 5 Strategy Tester, real ticks). On a 500 account at 1:30 a full set of positions cannot be carried, and the safe trade layer does not send an order that free margin, with a 10 % buffer, cannot cover.


8. Regime honesty: a system for a moving market

Backtest, MetaTrader 5 Strategy Tester, real ticks, BlackBull, 2022-11 to 2026-10.

The backtested profit came mainly from the volatile, trending gold market of 2024 to 2026. In the quiet, sideways gold market of 2023 the same rules lost money for most of a year before recovering. Lamplighter is built for a gold market that moves. It is not offered as an all-weather system, and a return to a quiet, sideways gold market would be expected to bring a flat or losing stretch with it.

Like most breakout systems, it earns from a minority of trades that run. At a fixed 0.01 lot on BlackBull the top five percent of trades made more than the whole net result; they fell on 97 different days in 30 of the 48 months, so the profit is not one event but many trend days. The five largest winning trades made 13 percent of it.


9. What was tested and left out

The product has no grid, no martingale, no averaging into a losing position, no order without a stop loss, no trading on news, no prop-firm rule inputs, no DLL and no external files. No grid or martingale code is in it at all; none is switched off. Each idea below was tested on real ticks, or on minute bars first and then on real ticks, with the rule for adopting it written down before the run. They did not make it in:

What did make it in after the same tests: the news and spread guards (measured to cost under one percent of the net; backtest, real ticks, BlackBull 2022-11 to 2026-10 and Vantage 2025-07 to 2026-10), the London quiet-market protection, and steady mode (section 5).


10. Limits