Metals & Oil Trend.
Follows long trends in gold, silver and crude oil. It enters on a 55-day breakout, long or short, and follows the trend with a stop that moves to the 20-day low or high. Daily bars, no profit target, never adds to a position.
Beta: backtests are being completed and it runs on demo accounts first. No performance results are published yet.
Risk warning. CFDs are leveraged and carry a high risk of losing money. Automated trading can lose money too. Past or simulated results don't guarantee future results. Not investment advice. Full risk disclaimer
- Markets
- Gold, silver, WTI, Brent
- Bars
- Daily (D1)
- Entry
- 55-day breakout
- Exit
- 20-day channel
- First stop
- 2 × ATR(20)
- Open
- max 3 positions
Wait for the break. Follow the trend.
Five steps in plain English. The illustration above shows them on one market: a breakout that fails (1–2), then one that turns into a trend (3–5).
A new 55-day high buys
Once a day, after your broker's daily close, the algorithm checks each market you picked. Long when the close is above the highest high of the previous 55 daily bars; short when it is below the lowest low. It opens shortly after the daily rollover, once the spread is normal.
First stop: 2 × ATR. Most breakouts end here
The initial stop sits 2 × the daily ATR(20) from the entry and is sent with the order. Most breakouts fail, and this is where they end: a small loss.
Every breakout gets the same treatment
The rules don't guess which breakout is the real one. The next close beyond the 55-day high or low opens a new trade, with the same first stop and the same risk.
Then the stop follows the trend
Every day the stop moves to the lowest low of the last 20 daily bars (the highest high for a short) when that is tighter. It never moves back, and there is no profit target.
The trade ends at the stop
When price reaches the stop, the position is closed. One position per market, at most three open, and it never adds to a position.
Twelve rules. No profit target.
The same checks on every daily close, for every market you picked. The risk rules are yours to set; the entry and exit rules are the algorithm.
Entry
- LongClose > 55-day high
The daily close is above the highest high of the previous 55 daily bars.
- ShortClose < 55-day low
The daily close is below the lowest low of the previous 55 daily bars.
- TimingAfter the rollover
Sent about 15 minutes after the new daily bar opens, only at a normal spread, within 8 hours. Otherwise the entry is skipped.
- Positions1 per market · max 3
One position per market and at most three open across all markets. It never adds to a position.
Exit
- First stop2 × ATR(20, D1)
The "2N" stop of the Turtle rules, measured on the daily ATR and sent with the order to your broker.
- Exit channel20-day low / high
Every day the stop moves to the lowest low (long) or highest high (short) of the last 20 daily bars, when tighter.
- One way onlyNever loosened
The stop only moves in the trade's favour. If price is already through the new level, the position is closed at market.
- Profit targetNone
A trend can run for months; the exit only follows it.
Risk
- Risk per trade0.25 · 0.5 · 1%
Your risk profile, as a share of equity, measured to the first stop. Calm and wild markets risk about the same amount.
- At stake at onceUp to 3 × your risk
With three positions open, three times your risk per trade is at stake — and these markets often move together.
- Max daily loss2% (default)
Reached: no new entries for the rest of the UTC day. Open positions keep their stops, unless you switch on closing them too.
- Position sizeFrom the stop
Risk amount ÷ loss per lot at the stop, from your broker's tick value, rounded down. If the minimum lot risks too much, the trade is skipped.
Patience is the job. Know the downside.
What the rules do by design — so you know what to expect before you switch it on. It says nothing about future results.
Trades rarely
A new 55-day high or low doesn't come often. Positions stay open for weeks, sometimes months.
Mostly small losses
Most trades are small losses. The result depends on a few long trends — and there may be none for a long time.
Long flat stretches
In sideways, choppy markets it gets stopped out again and again. Trend following as a style has had long weak stretches, such as much of the 2010s.
Markets move together
Gold, silver and oil often move together, and WTI and Brent almost always do. Positions can lose at the same time.
Every number, in one table.
"You" means you set it in the dashboard; "Rule" means it's part of the algorithm and the same for everyone. Your .set file carries your settings into MT5.
Risk level in the library
| Parameter | Value | Set by |
|---|---|---|
| Markets | XAUUSD, XAGUSD, USOUSD | You · per account; UKOUSD optional |
| Risk per trade | 0.5% of equity | You · 0.25%, 0.5% or 1% |
| Max daily loss | 2% of start-of-day equity | You |
| Close positions at the daily loss limit | Off | You |
| Max trades per day | 4 | You |
| Entry channel | 55 daily bars | Rule |
| Direction | Long and short | Rule |
| Exit channel | 20 daily bars | Rule |
| ATR period | 20, daily | Rule |
| First stop | 2 × ATR | Rule |
| Profit target | None | Rule |
| Max open positions | 3 (1 per market) | Rule |
| Entry timing | 15 min after the rollover, within 8 h | Rule |
| Max spread | 0.10 × daily ATR | Rule · waits while the spread is wider |
Who it suits. Who it doesn't.
It suits you if
- You're patient and think in months, not days
- You want rule-based exposure to big moves in metals and oil, up or down
- You can sit through many small losses and months without progress
- You can keep MT5 running after the daily close, e.g. on a VPS
Not for you if
- You need regular results
- You would switch it off after a run of losses
- Overnight costs over weeks of holding are a problem for you
- You can't afford to lose the money you trade with
The risks, plainly
- Leveraged CFDs: losses can be fast and larger than you expect
- Gold, silver and oil often move together, so positions can lose together
- Weekend and news gaps can go past the stop — oil especially
- Overnight financing (swap) adds up over weeks and months
- Long flat or losing stretches are part of trend following
- Oil CFDs can get price adjustments when futures contracts roll
Three risk profiles. You pick.
Risk per trade is a share of your account equity, measured to the first stop. The size adapts to each market's volatility, so a calm and a wild market risk about the same amount.
- Conservative 0.25% per trade
The smallest size. A sensible start for a first live month.
On 10,000 USD: 25 USD per position, up to 75 USD with 3 open - StandardDefault 0.5% per trade
The default. Half a percent of equity at risk per trade.
On 10,000 USD: 50 USD per position, up to 150 USD with 3 open - Aggressive 1% per trade
Twice the default. Bigger swings and bigger losing days.
On 10,000 USD: 100 USD per position, up to 300 USD with 3 open
Every open position risks your risk per trade. With three open, three times that is at stake — and gold, silver and oil often move together.
Four markets. You pick per account.
- XAUUSDGoldOn by default
- XAGUSDSilverOn by default
- USOUSDWTI crude oilOn by default
- UKOUSDBrent crude oilOptional
- Your broker's symbolsXAUUSD, GOLD, XTIUSD, USOIL … map them once.
- Your broker's daily closeOne day = your broker's daily bar. At most brokers it ends at 17:00 New York time.
- Check the swap firstPositions stay open for weeks. In MT5: Market Watch / right-click / Specification.
What it never does
- Add to a position or average down
- Hold two positions in one market
- Open more than three positions
- Move a stop further away
- Trade without a stop on the order
- Keep opening trades after your daily loss limit
Where the rules come from
Donchian channel breakouts, made famous by the Turtle traders of the 1980s; their rules were published by Curtis Faith in Way of the Turtle (2007). This is our own implementation of System 2 — 55-day entry, 20-day exit — without adding units: the Turtles added up to four, we never add to a position. Long-run research on trend following: Hurst, Ooi and Pedersen, "A Century of Evidence on Trend-Following Investing" (2017).
About Metals & Oil Trend
Why trend following on metals and oil?
Gold, silver and crude oil can move in one direction for months. A breakout rule doesn't predict those moves; it follows them once they show up and stays in while they last. Most breakouts fail, so most trades are small losses. That's a description of the idea — not a promise that a trend will come.
How often does it trade?
Rarely. A close above the 55-day high or below the 55-day low doesn't happen often, and a position stays open for weeks or months. One position per market, at most three open.
Is there a backtest or a track record?
Not yet. Metals & Oil Trend is new in the library: backtests are being completed and it runs on demo accounts first. No performance results are published yet. Start on a demo account and see how it behaves at your broker.
Why does it lose so often?
Because most breakouts fail. The rules accept many small losses so they're in the market when a long trend comes. Losing streaks and months without progress are normal for this style. If you would switch it off after a run of losses, it isn't for you.
Which markets can I pick?
Gold (XAUUSD), silver (XAGUSD), WTI (USOUSD) and Brent (UKOUSD), per account in the account settings. The default is gold, silver and WTI. WTI and Brent move almost together: picking both roughly doubles your oil exposure.
What happens if my MT5 goes offline?
The stop is sent with every order, so it sits at your broker. Entries and the daily stop move need MT5 running in the hours after your broker's daily close; when it's back online, the EA picks up its open positions. A VPS avoids the gap.
What does it cost to hold a position for weeks?
Overnight financing (swap), every night, three nights over a weekend — and it adds up over weeks. Check your broker's swap long and short for each market in MT5: Market Watch / right-click / Specification. Oil CFDs can also get a price adjustment when the underlying futures contract rolls.
Backtested and simulated results have limitations: they are built with hindsight, leave out real execution costs and do not reflect live trading. Past or simulated results don't guarantee future results.
Beta: backtests are being completed and it runs on demo accounts first. No performance results are published yet.
Ask us — a human answers.
Talk to us on Telegram
Try Metals & Oil Trend on a demo account.
Included in Crown Pips Algo, with every other algorithm in the library: $49 a month, $99 for 3 months or $997 once for lifetime access. It's in beta: start on a demo account.
Founding price — locked in while you stay subscribed.