In simple terms
We enter after a daily Bid close breaks the previous 20 sessions' range. We then compare exits based on 10 or 20 sessions. A protective stop can close either position intraday.
Contents
From Turtle Trading to daily Forex
The original Turtle rules used intraday breakouts in futures. This Forex adaptation uses completed daily closes. Each pair can hold one position, with no pyramiding or filter based on the previous trade.
The New York daily session
We build Bid candles from recorded HistData ticks. The source clock is fixed UTC−5. The session ends at 17:00 in New York, following daylight saving time. We use weekdays with quotes, including shorter sessions, and skip days without quotes.
The 20-session entry channel
Take the highest Bid high and lowest Bid low from the prior 20 completed sessions. The signal candle is outside that calculation. A Bid close strictly above the upper band signals a long. A close strictly below the lower band signals a short.
Uₙ = max(Hₜ₋ₙ, …, Hₜ₋₁) · Lₙ = min(Lowₜ₋ₙ, …, Lowₜ₋₁)
Cₜ > U₂₀ → +1 · Cₜ < L₂₀ → −1
Entry on the following session
We simulate entry at the first recorded paired quote in the next available session. We buy at Ask and sell at Bid, with adverse slippage applied to each fill. A weekend or holiday can widen the gap between the signal close and execution.
Two exit horizons
In 20/10 we use the prior 10-session channel for exits. In 20/20 we use 20. A long exits after a Bid close below the lower band and a short exits after a close above the upper band. We close at the next session's first quote, selling at Bid or buying at Ask, without reversing on that tick.
+1: Cₜ < Lₙ · −1: Cₜ > Uₙ · n ∈ {10, 20}
The protective stop
The initial stop is two Wilder ATR(14) from the simulated fill, using Bid candles through the signal. Starting on the following tick, we check Bid for a long and Ask for a short. A gap through the stop is filled from the first observed qualifying quote with slippage. A scheduled channel exit has priority on its execution tick.
D = 2 × ATR(14) · Stop = Entry − side × D
Sizing in a USD account
Each pair starts with 2,500 USD per window. We size for 1% of that sleeve's cash at the stop and cap the entry notional at its cash balance. We round down to whole base units. On USD/JPY, we divide the JPY stop distance by entry Bid for sizing. Positive realized JPY converts at Ask, and losses and costs at Bid.
Q = floor(min(0.01 × Cash / D_USD, Cash / N_USD))
D_USD = D / Bid_E (USD/JPY) · D_USD = D (EUR/USD, GBP/USD, AUD/USD)
N_USD = 1 (USD/JPY) · N_USD = Entry (EUR/USD, GBP/USD, AUD/USD)
Observed spread and modeled charges
We use the spread between the recorded Bid and Ask. The base adds 0.15 pip of slippage and 0.35 pip of commission per fill, plus 0.20 pip per rollover unit. At 17:00 New York a held position accrues three units on Wednesday and one on other weekdays. Both directions pay the modeled charge.
Four pairs share the dollar
We add the marks of four separately funded sleeves to start each window with 10,000 USD. The pairs all involve USD. Gross exposure sums the magnitudes of their USD legs. Net exposure accounts for direction and can be smaller.
| Case | Peak gross USD exposure | Peak absolute net USD exposure |
|---|---|---|
| 2022–2023 · 20/10 | 64.50% | 64.50% |
| 2022–2023 · 20/20 | 63.72% | 61.61% |
| 2024–2025 · 20/10 | 82.89% | 82.06% |
| 2024–2025 · 20/20 | 84.78% | 77.20% |
Results after base costs
In 2022–2023 the portfolio returned +0.92% for 20/10 and +0.13% for 20/20. In 2024–2025 it returned −2.73% and −1.61%, respectively. Each window restarts from cash, with earlier quotes used to warm up the indicators.
| Case | Net return | Max. drawdown | Trades | Profit factor | Open positions |
|---|---|---|---|---|---|
| 2022–2023 · 20/10 | +0.92% | 3.19% | 63 | 0.972 | 4 |
| 2022–2023 · 20/20 | +0.13% | 4.25% | 52 | 0.823 | 4 |
| 2024–2025 · 20/10 | −2.73% | 4.31% | 67 | 0.572 | 4 |
| 2024–2025 · 20/20 | −1.61% | 3.84% | 49 | 0.672 | 4 |
What each pair contributed
The pair results are based on the four separate sleeves. The exit horizon changes how long each position is held and can change which later entry signals are available. The entry conditions and sizing rules are shared. USD/JPY finished positive with both exit horizons in both windows, including the higher-cost scenario.
| Currency pair | 20/10 · Base costs | 20/20 · Base costs | 20/10 · Higher costs | 20/20 · Higher costs |
|---|---|---|---|---|
| 2022–2023 · EUR/USD | −2.87% | −2.56% | −3.60% | −3.30% |
| 2022–2023 · GBP/USD | −1.38% | +1.70% | −1.89% | +1.00% |
| 2022–2023 · USD/JPY | +9.82% | +6.85% | +9.17% | +6.20% |
| 2022–2023 · AUD/USD | −1.90% | −5.45% | −2.71% | −6.26% |
| 2024–2025 · EUR/USD | +0.03% | +1.36% | −0.97% | +0.18% |
| 2024–2025 · GBP/USD | −7.97% | −4.71% | −8.60% | −5.52% |
| 2024–2025 · USD/JPY | +4.45% | +4.67% | +3.97% | +4.12% |
| 2024–2025 · AUD/USD | −7.45% | −7.76% | −8.35% | −8.77% |
Sensitivity to higher costs
The stress case keeps the recorded quotes and raises slippage to 0.35 pip and commission to 0.50 pip per fill, with 0.45 pip per rollover unit. The comparison keeps both windows and the same signal rules.
| Case | Net return | Max. drawdown | Trades | Profit factor | Open positions |
|---|---|---|---|---|---|
| 2022–2023 · 20/10 | +0.24% | 3.51% | 63 | 0.895 | 4 |
| 2022–2023 · 20/20 | −0.59% | 4.55% | 52 | 0.741 | 4 |
| 2024–2025 · 20/10 | −3.49% | 4.92% | 67 | 0.512 | 4 |
| 2024–2025 · 20/20 | −2.50% | 4.00% | 49 | 0.587 | 4 |
A real quote sequence on the chart
We show the first closed 20/10 base-case trade by entry time in the later window, on AUD/USD. The candles are observed Bid OHLC. E and X mark simulated entry and exit. Execution can differ from the candles because it uses the relevant quote side and includes slippage.
- Currency pair
- AUD/USD
- Case
- Short
- E · UTC
- X · UTC
- E · USD/AUD
- 0.658245
- X · USD/AUD
- 0.662155
- Protective stop · USD/AUD
- 0.671009
- Exit
- Channel exit
- Net P&L (USD)
- −9.87
How to read the metrics
Drawdown uses end-of-session equity and includes initial cash as the first peak reference. Open positions are marked at the last recorded quote with hypothetical exit costs. Profit factor and trade counts use closed trades. Intraday drawdown may be larger.
How to reproduce the study
The JSON records the frozen protocol, archive checksums, daily portfolio marks and the results for every pair and scenario. The CSV contains closed trades. A separate calculation verifies the channels, fills and accounting.
What the test can tell us
The two windows show how the exit choice behaved under this data and cost model. The rollover charges are illustrative. Broker quotes, financing, liquidity and fills may differ, especially around holidays and gaps.
Questions and answers
Does the signal use the current candle's high?
The signal uses the current completed Bid close. The channel contains highs and lows from earlier completed sessions.
Does touching the band count as a breakout?
No. The close must be strictly outside the entry channel.
Which quote triggers a short stop?
Ask. We buy to close a short at Ask with modeled slippage.
What happens after a stop?
At the next completed close, a flat sleeve can qualify for another entry under the same rules.
Can the actual stop loss exceed 1%?
Yes. The sizing estimate excludes gaps, slippage and fees.
Do both variants enter the same trades?
They apply the same entry conditions. Different exit times can leave a sleeve open when the other is free to enter.
Sources and reproducibility
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Risk disclosure
For educational use only. FX losses can exceed the budgeted stop risk. Historical simulations cannot predict future results.