Join today
Strategies / Breakout / Turtle Trade

Turtle Trade Breakout

A long-only breakout that buys when the bar's high tops the highest close of the last 2 bars. It exits on a stop of 6 price units or after 21 bars in the trade. It was tested on daily charts of indices, oil and Gold, plus Gold 4 hours.

BreakoutLong onlySwingDow JonesDaily
2.42Profit factor
52,367Net profit EUR
3.56%Win rate
6,324Trades
-6,958Max drawdown
8.28Avg trade

Best run of 5. Dow Jones, Daily, spread 3, from run pf:2026-09-24-DOW30-D.tsv:2.

Entry rules, long

  1. Members only

Exit rules

  1. Stop loss 6 price units
  2. Members only

Test conditions

PeriodUp to 2026-09-25
InstrumentDow Jones, Daily
Spread3 points
Contracts1
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-09-25

Parameters

positionSize
Contracts per trade
1
channelPeriod
Bars for the highest close
2
maxBarsInTrade
Time exit bar count
20.8
pyramidDistance
Add-on distance above entry
5
stopLossDistance
Protective stop in price units
6

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Dow JonesBest runDaily2.42 6,3243.5652,367 EUR-6,958
Brent CrudeDailyn/a 3,3351.3213,153 EUR-6,372
S&P 500Dailyn/a 2,93212.242,923 EUR-954
GoldDailyn/a 2,28813.812,684 EUR-1,233
Gold4 hoursn/a 4,58517.732,124 EUR-1,509

Charts

Results by run

Net profit against max drawdown

Net profitMax drawdown
0-10K-5K50K100KDow Jones · DailyBrent Crude · DailyS&P 500 · DailyGold · DailyGold · 4 hours

The code

ProBuilder, rewritten to house standard

Every file in the library uses the same header, the same section order and the same variable names. The numbers above were produced by the original version before the rewrite, and the rewrite has not yet been compiled in ProRealTime.

// ============================================================
// Turtle Trade
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long only
// Timeframe tested: Daily
// ============================================================

// --- Settings ---
DEFPARAM CumulateOrders = false

// --- Parameters ---
positionSize = 1          // contracts per trade
channelPeriod = 2         // bars for the highest close
maxBarsInTrade = 20.8     // time exit, fires once 21 bars in the trade are counted
pyramidDistance = 5       // add-on distance above entry, in price units
stopLossDistance = 6      // protective stop, in price units

ONCE barsInTrade = 0

// --- Indicators ---
channelHigh = Highest[channelPeriod](close)

24 more lines: the entry and exit rules.

Read this first

Known weaknesses

  • Only 3.56% of trades won in the best run, so almost every trade is a small loss and the result depends on a few large winners.
  • The stop is 6 price units on every instrument, which is tiny on the Dow Jones and very different on Gold or Brent Crude.
  • Brent Crude daily won just 1.32% of 3,335 trades, and none of the other markets has a recorded profit factor.

Indicators used

Donchian Channel

How to load it

  1. Copy the code with the copy button above the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Questions

About this strategy

Can Turtle Trade run in ProOrder?

Yes. An add-on leg exists in the code but stays inactive because orders do not accumulate. The rewritten code was not compile-checked, so backtest it first.

How did it do on other markets?

All four other runs were positive. Brent Crude daily made EUR 13,152.6, while S&P 500 daily made EUR 2,922.5 and Gold daily EUR 2,683.8.

What is the risk at 1 contract?

The Dow Jones daily best run had a max drawdown of EUR 6,957.7 against EUR 52,366.8 net profit over 6,324 trades.

Why daily bars?

The 21 bar time exit is meant to hold for about a month on daily charts, which gave the best result.

Related

Strategies like this one

Little Turtle Breakout

Uses the same indicator.

1.99 PF · 105 trades

Navigator

Best run on the same market, Dow Jones.

2.93 PF · 181 trades

One Notch Long

A similar profit factor.

2.38 PF · 161 trades

Breakout systems are one leg of a diversified mix. Join the ProRealAlgos waitlist to see ours.

Copy trading on US indices is available to ProRealAlgos members as spots open.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs