OPEN-SOURCE SCRIPT
Ichimoku Optimizer (No Tenkan Signals)

This indicator brute-force tests Ichimoku parameter combinations and automatically plots the best-performing setup.
What it does:
Optimizes Kijun and Displacement across user-defined ranges.
Keeps Senkou B automatic as 2 x Kijun.
Uses Tenkan only to compute Senkou A ((Tenkan + Kijun) / 2), not for entries/exits and not plotted.
Runs long-only performance scoring using cumulative % return.
Signal logic:
Long condition: price is above the cloud and above Kijun.
Exit condition: price falls below the cloud or below Kijun.
Chikou is not used in conditions.
Output:
Plots best-combo Kijun, Senkou A, Senkou B, and cloud fill.
Optional Long/Exit labels.
Table showing tested combo count, selected best settings, and cumulative return.
Notes:
This is an optimization/analysis tool, not financial advice.
Results are in-sample and can overfit; validate on out-of-sample data before live use.
What it does:
Optimizes Kijun and Displacement across user-defined ranges.
Keeps Senkou B automatic as 2 x Kijun.
Uses Tenkan only to compute Senkou A ((Tenkan + Kijun) / 2), not for entries/exits and not plotted.
Runs long-only performance scoring using cumulative % return.
Signal logic:
Long condition: price is above the cloud and above Kijun.
Exit condition: price falls below the cloud or below Kijun.
Chikou is not used in conditions.
Output:
Plots best-combo Kijun, Senkou A, Senkou B, and cloud fill.
Optional Long/Exit labels.
Table showing tested combo count, selected best settings, and cumulative return.
Notes:
This is an optimization/analysis tool, not financial advice.
Results are in-sample and can overfit; validate on out-of-sample data before live use.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน