Ichimoku Optimization: Align the Cloud Before Searching Parameters
Check Ichimoku midpoint calculations, displaced cloud alignment and strategy inputs before comparing a reproducible TradingView parameter grid.
View Chrome ExtensionBuilding a Strategy with Ichimoku Cloud
Ichimoku’s conversion and base lines are midpoints of the highest high and lowest low over their respective windows, rather than simple averages of closing prices. Leading Span A averages those two lines; Leading Span B uses the midpoint of a longer high–low window. The leading spans are displayed forward, while the lagging span displays the current close backward. Moving a plot in time does not provide future price information.
For a strategy that requires price above the cloud, state which cloud it compares against: the cloud displayed at the current bar was calculated earlier, while the newly calculated spans are plotted ahead. Those series are not interchangeable. Document the script’s displacement and indexing convention and verify it against the plotted boundaries on specific bars. Changing a display-only offset cannot affect results unless the order logic also uses that input.
A testable rule could require a confirmed conversion-line/base-line cross plus a specified cloud filter, with separate exits and position sizing. Keep the cross timing, long/short policy and any lagging-span condition fixed while comparing lengths. The familiar 9/26/52/26 settings are a baseline to retain, not evidence of either superiority or obsolescence.
Optimizable Parameters
| Parameter | Description | Example Test Values |
|---|---|---|
| Conversion length | High–low midpoint window for the conversion line | 7 / 9 / 11: 3 choices |
| Base length | High–low midpoint window for the base line | 22 / 26 / 30: 3 choices |
| Span B length | High–low midpoint window for Leading Span B | 44 / 52 / 60: 3 choices |
| Displacement setting | Test only if it affects the cloud comparison in order logic | 21 / 26 / 31: 3 choices |
Optimization Example and Test Design
Hypothetical design: these four sets produce 3 × 3 × 3 × 3 = 81 configurations and include the 9/26/52/26 baseline. Fix the price source, chart interval, costs and dates. As a calculation check, a window high of 110 and low of 90 gives a midpoint of 100 regardless of the distribution of closes inside that window. Before searching, trace one entry and verify exactly when each cloud value was calculated and where it is displayed. A broader grid using Span B 30–80 in steps of 5 and displacement 20–40 in steps of 5 would omit 52 and 26; it cannot rank the full default configuration unless that baseline is run separately. No historical ranking, runtime or return is reported here.
Frequently Asked Questions
Related Strategy Optimizations
Start Optimizing Your Ichimoku Cloud Strategy
Install the extension, sign in and check your plan access. Automated parameter optimization requires an Advanced plan or above.
View Chrome Extension