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. اقرأ المزيد في شروط الاستخدام.