OPEN-SOURCE SCRIPT
Adaptive Ichimoku+ [MAB]

Adaptive Ichimoku+ is a self-optimizing trend and structure indicator that dynamically selects the most effective Ichimoku parameters
Instead of relying on fixed Tenkan-sen and Kijun-sen periods, this indicator continuously evaluates multiple configurations and automatically selects the ones that have been performing best on recent price action — delivering an Ichimoku system that adapts to evolving market structure and trend conditions.
🔶 HOW IT WORKS
Traditional Ichimoku uses fixed parameters (9-26-52), which may not suit all market environments. Adaptive Ichimoku+ enhances this by dynamically optimizing its core components:
Tenkan-sen (Conversion Line) → Multiple short-term periods are tested
Kijun-sen (Base Line) → Multiple medium-term periods are evaluated
Each configuration is scored using an exponential performance model that measures how consistently price respects the selected levels.
On every bar:
The best-performing Tenkan period is selected
The best-performing Kijun period is selected
These are used to construct the full Ichimoku system
The remaining components:
Senkou Span A → Midpoint of adaptive Tenkan and Kijun
Senkou Span B → Standard midpoint (user-defined period)
Chikou Span → Lagging price
This results in a fully adaptive Ichimoku structure that adjusts to both trend strength and market conditions.
🔶 USAGE
🔹 Trend & Structure
Blue line — Adaptive Tenkan-sen (short-term momentum)
Pink line — Adaptive Kijun-sen (trend baseline)
Price above Kijun — Bullish structure
Price below Kijun — Bearish structure
🔹 Cloud (Kumo)
Green cloud — Bullish environment (Span A above Span B)
Red cloud — Bearish environment (Span A below Span B)
The cloud dynamically reflects support/resistance zones and trend strength.
🔹 Key Signals
Tenkan / Kijun Cross — Momentum shift within the trend
Price vs Kijun — Trend confirmation
Price vs Cloud — Market regime (trend vs consolidation)
Because the underlying parameters are adaptive, these signals are aligned with the most relevant structure for current price action.
🔶 SETTINGS
🔹 Adaptive Engine
Perf EMA Length — Controls how quickly the parameter selection adapts. Lower values react faster; higher values provide stability.
🔹 Ichimoku Settings
Cloud Displacement — Forward shift applied to the cloud (standard Ichimoku behavior)
Senkou Span B Period — Lookback period for Span B calculation
🔶 NOTES
Suitable for all markets and timeframes.
Works best as a complete trend, structure, and support/resistance system.
Adaptive parameter selection helps improve responsiveness while maintaining stability.
Can be used for trend following, breakout confirmation, and dynamic support/resistance analysis.
Past performance of any selected parameter does not guarantee future results — always apply proper risk management.
Instead of relying on fixed Tenkan-sen and Kijun-sen periods, this indicator continuously evaluates multiple configurations and automatically selects the ones that have been performing best on recent price action — delivering an Ichimoku system that adapts to evolving market structure and trend conditions.
🔶 HOW IT WORKS
Traditional Ichimoku uses fixed parameters (9-26-52), which may not suit all market environments. Adaptive Ichimoku+ enhances this by dynamically optimizing its core components:
Tenkan-sen (Conversion Line) → Multiple short-term periods are tested
Kijun-sen (Base Line) → Multiple medium-term periods are evaluated
Each configuration is scored using an exponential performance model that measures how consistently price respects the selected levels.
On every bar:
The best-performing Tenkan period is selected
The best-performing Kijun period is selected
These are used to construct the full Ichimoku system
The remaining components:
Senkou Span A → Midpoint of adaptive Tenkan and Kijun
Senkou Span B → Standard midpoint (user-defined period)
Chikou Span → Lagging price
This results in a fully adaptive Ichimoku structure that adjusts to both trend strength and market conditions.
🔶 USAGE
🔹 Trend & Structure
Blue line — Adaptive Tenkan-sen (short-term momentum)
Pink line — Adaptive Kijun-sen (trend baseline)
Price above Kijun — Bullish structure
Price below Kijun — Bearish structure
🔹 Cloud (Kumo)
Green cloud — Bullish environment (Span A above Span B)
Red cloud — Bearish environment (Span A below Span B)
The cloud dynamically reflects support/resistance zones and trend strength.
🔹 Key Signals
Tenkan / Kijun Cross — Momentum shift within the trend
Price vs Kijun — Trend confirmation
Price vs Cloud — Market regime (trend vs consolidation)
Because the underlying parameters are adaptive, these signals are aligned with the most relevant structure for current price action.
🔶 SETTINGS
🔹 Adaptive Engine
Perf EMA Length — Controls how quickly the parameter selection adapts. Lower values react faster; higher values provide stability.
🔹 Ichimoku Settings
Cloud Displacement — Forward shift applied to the cloud (standard Ichimoku behavior)
Senkou Span B Period — Lookback period for Span B calculation
🔶 NOTES
Suitable for all markets and timeframes.
Works best as a complete trend, structure, and support/resistance system.
Adaptive parameter selection helps improve responsiveness while maintaining stability.
Can be used for trend following, breakout confirmation, and dynamic support/resistance analysis.
Past performance of any selected parameter does not guarantee future results — always apply proper risk management.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Pine Script Developer • Market Analysis
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Pine Script Developer • Market Analysis
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.