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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
Pine Script Developer • Market Analysis
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
Pine Script Developer • Market Analysis
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน