OPEN-SOURCE SCRIPT
Turtle System 1

Turtle Trader system is a famous trend-following trading methodology created by Richard Dennis and his partner William Eckhardt in the early 1980s.
The backstory is almost as interesting as the system itself:
Dennis believed trading success was a skill that could be taught, while Eckhardt thought it was more about innate talent.
To settle the debate, they recruited a group of ordinary people — with little to no trading experience — and trained them in a simple rules-based strategy. These students became known as the "Turtles".
The system focused on trading breakouts in futures markets (commodities, currencies, bonds, stock indices) with strict risk management.
System 1 (Short-Term)
Entry: Buy when price breaks above the 20-day high. Sell short when price breaks below the 20-day low.
Exit: Opposite 10-day breakout (i.e., sell long positions if price breaks below the 10-day low).
The backstory is almost as interesting as the system itself:
Dennis believed trading success was a skill that could be taught, while Eckhardt thought it was more about innate talent.
To settle the debate, they recruited a group of ordinary people — with little to no trading experience — and trained them in a simple rules-based strategy. These students became known as the "Turtles".
The system focused on trading breakouts in futures markets (commodities, currencies, bonds, stock indices) with strict risk management.
System 1 (Short-Term)
Entry: Buy when price breaks above the 20-day high. Sell short when price breaks below the 20-day low.
Exit: Opposite 10-day breakout (i.e., sell long positions if price breaks below the 10-day low).
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.