OPEN-SOURCE SCRIPT
Aggiornato

Turtle Trading System - Full (S1+S2)

706
Turtle Trading System - Full (System 1 + System 2)

A complete implementation of the original Turtle Trading rules (Richard Dennis, 1983),
built for Daily timeframe use. Pine Script v6.

FEATURES:
- System 1: 20-day breakout entry / 10-day breakout exit
- System 2: 55-day breakout entry / 20-day breakout exit (failsafe, never filtered)
- Last-Trade Filter: skips a System 1 signal if the prior System 1 trade was a winner,
reducing false breakouts in ranging markets. Falls through to System 2 when filtered.
- ATR-based (N) position sizing reference and 2N initial stop
- Pyramiding: adds units every 0.5N in the favorable direction, up to 4 units max
- Trailing stop that only tightens in the trade's favor, never loosens
- No-repaint option: signals confirm only on closed bars (barstate.isconfirmed)
- Live status table: current position, units held, active system, current N, filter state

NOTES:
- Calibrated for Daily charts, consistent with the original system's historical backtesting.
Using it on lower timeframes changes what the lookback lengths represent and has not been
validated here.
- The Last-Trade Filter only tracks trades entered via System 1. Trades triggered by the
System 2 failsafe do not update the filter, per the original rule set.
- This is a signal/reference tool, not an auto-trading strategy. Verify signals in replay
mode before trading live. Be claude IA
Note di rilascio
Turtle Trading System - Full (System 1 + System 2)

A complete implementation of the original Turtle Trading rules (Richard Dennis, 1983),
built for Daily timeframe use. Pine Script v6.

FEATURES:
- System 1: 20-day breakout entry / 10-day breakout exit
- System 2: 55-day breakout entry / 20-day breakout exit (failsafe, never filtered)
- Last-Trade Filter: skips a System 1 signal if the prior System 1 trade was a winner,
reducing false breakouts in ranging markets. Falls through to System 2 when filtered.
- ATR-based (N) position sizing reference and 2N initial stop
- Pyramiding: adds units every 0.5N in the favorable direction, up to 4 units max
- Trailing stop that only tightens in the trade's favor, never loosens
- No-repaint option: signals confirm only on closed bars (barstate.isconfirmed)
- Optional exit channel lines (green = long exit level, red = short exit level)
- Full alert set: long/short entry, pyramid add, and exit (including stop-out) — 6 alerts total
- Live status table: current position, units held, active system, current N, filter state

NOTES:
- Calibrated for Daily charts, consistent with the original system's historical backtesting.
Using it on lower timeframes changes what the lookback lengths represent and has not been
validated here.
- The Last-Trade Filter only tracks trades entered via System 1. Trades triggered by the
System 2 failsafe do not update the filter, per the original rule set.
- This is a signal/reference tool, not an auto-trading strategy. Verify signals in replay
mode before trading live.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.