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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Pine Script Developer • Market Analysis
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Pine Script Developer • Market Analysis
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.