OPEN-SOURCE SCRIPT

Ichimoku Optimizer (No Tenkan Signals)

605
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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.