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).
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน