TradingView Turtles Strategy: Does It Still Work?

2026-11-28来源 dev.toEnglish
TradingView Turtles Strategy: Does It Still Work?

The short version. This is a TradingView Turtles strategy backtest, a follow-up to my five-part series on the original Turtle rules. The most popular Turtle script on TradingView, "20 years old Turtles strategy still work!!" by tmr0, keeps the two breakout channels and drops almost everything else. I ported it to Python and ran it on Exness ticks from 2020 to 2026 and on Dukascopy data back to 2004.

  • Same answer as the series. Gold, USDJPY and Bitcoin were positive from 2020 because of the long trades. Shorts lost. GBPUSD and NZDUSD lost on every timeframe.
  • Gold D1 looks good: PF 1.73, 231 trades. But 2020 to 2022 lost money, and 2025 plus 2026 made more than the whole total.
  • It didn't "still work" in 2015, when it was published. On 2004–2015 gold data the same settings made PF 0.76 on D1.
  • The new part: long-only on data the series never saw. Part 5 said I wouldn't test it without fresh data. This time I had 2004–2019. Long-only lost money on 3 of 6 markets and trailed buy and hold on 5 of 6.

My verdict hasn't changed: no edge, in a simpler package.

The series so far: the 1983 experiment, the rules, the simulator, the results, what it proves.

What is the Turtles strategy on TradingView?

It's two Donchian channel breakouts with pyramiding, and nothing else. The script was published by tmr0 on 1 December 2015 in Pine v2, on a daily chart, and had 6,553 boosts when I checked in November 2026. The description is one line pointing to Curtis Faith's Way of the Turtle.

The whole strategy, with the defaults:

  • Fast system: buy when the bar's high goes above the previous 20-bar high, close when the low goes below the previous 10-bar low. Shorts mirror it.
  • Slow system: the same with 55 and 20.
  • Pyramiding 5: a new $1,000 position every bar the entry condition is still true, up to five open at once.
  • Fills: conditions are checked when the bar closes and filled at the next bar's open. A buy signal while short closes every short first.

Is it the real Turtle system?

No. Here's what's missing compared with the 2003 rules document I coded for the series (part 2 has all of it):

Original Turtle rules tmr0 script
Entry the moment price crosses the channel, during the day next bar's open, after the bar closes
Position size 1% of equity per N (volatility) a fixed $1,000
Adding one unit every ½N in profit, max 4 one more every bar the signal holds, max 5
Stop loss 2N, raised with each add none
System 1 filter skip after a winning breakout none
Portfolio limits, drawdown rule yes none

The adding rule matters most. In a fast move the script keeps buying (or selling) at nearly the same price, bar after bar, with no stop under any of it. Here's a real case from March 2026 on gold:

TradingView Turtles script on XAUUSD D1, March 2026: five sells on four bars from 4,828 to 4,420, then a rebound to the 10-day high, total −889 USD per ounce

Gold broke its 20-day low on 18 March. The script sold at the next open, and again on each of the next three bars, plus a fifth sell when the 55-day low broke too: 4,828 down to 4,420. Then gold bounced. Four of the five closed at the 10-day high on 9 April, the fifth on 20 April when a buy signal reversed it. Together: −889 USD per ounce, for one ounce on each trade. For comparison, my original-rules simulator (the 11-market run) had been long gold since August 2025, closed that position at 4,858 on 18 March when the 20-day low broke, and then didn't open another gold trade until 4 May.

How I tested it

  • Port: line by line in Python, same order of orders as the script, each position one unit (1 oz of gold), market fills at the next bar's real ask or bid.
  • Exness Raw Spread ticks, January 2020 to September 2026: gold, EURUSD, GBPUSD, USDJPY, NZDUSD, the S&P 500. Bitcoin from 2024. Real spread, Raw commission, no swap.
  • Dukascopy data from 2004 for gold and forex, from 2012 for the S&P 500, as a check on years that weren't in the series. Its spread is the cost there; gold longs pay swap scaled to the gold price.
  • Daily candles start at 22:00 UTC (about 5 pm New York), so there's no Sunday candle. That choice matters, more below.

Does the TradingView Turtles strategy still work?

On 2020–2026 data it looks like it does on a few markets. The rest is the same story the series told. Profit factor after costs, both directions with the default settings:

Market M15 H1 H4 D1 D1 trades
XAUUSD 1.00 1.22 1.32 1.73 231
USDJPY 0.94 1.05 1.01 1.25 290
BTCUSD (2024–26) 0.93 0.95 1.08 1.43 148
US500 0.96 0.88 0.93 1.06 295
EURUSD 0.82 0.87 0.95 0.72 348
GBPUSD 0.85 0.92 0.84 0.71 323
NZDUSD 0.73 0.80 0.76 0.67 373

Gold D1 made +6,019 USD per ounce-sized trade over the period, with a 5,077 drawdown along the way. But by year it went −618, −335, −139, +344, +255, +1,852, +4,660. Two years carried it.

So does it still work? Only where the market itself went up hard. Before the script was published it didn't work even there:

Gold, Dukascopy data H1 H4 D1
2004–2015 (before it was published) 0.98 0.97 0.76
2016–2019 0.91 0.95 0.90
2020–2026 1.15 1.20 1.21

Forex was the same before and after: EURUSD, GBPUSD and NZDUSD sit at 0.35 to 1.05 in 2004–2015 and 2016–2019 on every timeframe, with one exception (EURUSD D1, 1.17 in 2004–2015, thanks to shorts in the 2008–2014 slide).

Is it the same result as the original rules?

Yes, market by market. That surprised me a bit, because the two rule sets share only the channels.

Profit factor of long and short trades on seven markets: TradingView Turtles script versus the original Turtle rules, Exness tick data 2020 to 2026, D1

On gold, the script's long trades made PF 2.51 and the original rules 2.46. Shorts: 0.50 and 0.25. USDJPY, Bitcoin and the S&P 500 line up the same way: longs well above 1, shorts below. The one clear difference is EURUSD, where the original rules' shorts made money (PF 2.10) and the script's lost (0.49). The 2N stop and the System 1 filter seem to have kept the original out of the rebounds there.

What I take from it: in 2020–2026 the result came from the direction of the markets, not from the details of the rules. Strip out the stops, the sizing, the filter and the limits, and you get roughly the same per-market picture.

Does long-only Turtles work on data it hasn't seen?

No. This is the one question from the series I couldn't answer before.

In part 5 I didn't run a long-only version because my Exness data starts in 2020 and I'd already seen it. The Dukascopy data from 2004 to 2019 is data the series never touched. So here's the script with its long trades only, on daily bars:

TradingView Turtles script, long trades only, 2004 to 2019 on Dukascopy data: summed return per unit of capital in use versus buy and hold for gold, USDJPY, the S&P 500, EURUSD, GBPUSD and NZDUSD

Because the script holds several positions at once (1.4 to 2.6 on average here), I divided its summed return by how many were open on average. That's the fair comparison with buying one unit and holding it. Both bars are simple sums of percentages, no compounding.

  • Gold: PF 1.37 over 355 trades, +95% per unit of capital in use. Buy and hold: +155%.
  • USDJPY: +24% against +10%. The only market where it beat holding.
  • S&P 500 (2012–2019): +50% against +97%.
  • EURUSD, GBPUSD, NZDUSD: −43%, −125% and −64%.

Long-only worked where the price went up and lost where it didn't, and where it worked, holding did better. One caveat I owe you: I didn't write down a pass mark before this run, so treat it as a look rather than a formal test. Buy and hold is the bar I'd have picked anyway.

What are the best settings for the Turtles strategy?

There aren't any that hold up. I ran 20 combinations (fast 10/5 to 40/20, slow 40/15 to 100/40). On Exness 2020–2026 gold D1, 16 of them were above PF 1. On gold 2004–2019, none of the 20 were.

The setting that moved the result most wasn't in the inputs at all. It's when the daily candle starts:

Gold D1 profit factor of the TradingView Turtles script by the hour the daily candle starts, Exness 2020 to 2026: from 1.00 to 1.73

Same rules, same data, PF anywhere from 1.00 to 1.73. Starting the day at midnight UTC adds a few-hour Sunday candle, which shortens every 20-bar channel (part 3 of the series covers this). On TradingView your daily candle depends on the data feed you pick, so two people running this script on "gold D1" can see different backtests.

Does the Turtles strategy repaint?

No. The channels use the previous 20 or 55 completed bars, and the strategy acts once the bar closes. The backtest you see doesn't change afterwards. Just remember it fills at the next open, which on a gap day can be a long way from the breakout level.

What I couldn't check

  • Swap on forex and Bitcoin is left at zero. Positions are held for weeks, so it would make the long side a bit worse.
  • Your TradingView backtest won't match mine exactly. Different feed, different session times, and TradingView's default is no commission and no spread.
  • Commission on the S&P 500 isn't confirmed for Exness, set to zero.
  • No live trading. Everything here is a simulation.

So, does it still work?

The script's title says yes. On my data it worked only on markets that went up a lot, and only on the long side, which is what buying and holding them would have given you with fewer trades. It's a decent way to see two Donchian channels on a chart. If you want the real Turtle system, part 2 has the full rules, and part 4 shows how they did on 26 markets.

If you're comparing trend tools, I ran the same kind of test on the TradingView SuperTrend strategy too.

Research, not financial advice. Past results do not predict future results.

原文:https://www.a8q9.cn/en/article/tradingview-turtles-strategy-does-it-still-work-93c171.html

相关文章