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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Pine Script Developer • Market Analysis
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Pine Script Developer • Market Analysis
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.