OPEN-SOURCE SCRIPT

Ichimoku Adaptive [Gabremoku]

728
Ichimoku Adaptive [Gabremoku] is a full Ichimoku Cloud framework that combines the traditional Classic settings with an optional Adaptive mode that automatically scales the core Ichimoku periods according to market volatility.

The script keeps the original logic of the Ichimoku system — Tenkan, Kijun, Senkou Span A, Senkou Span B, Chikou, and Kumo structure — while adding a volatility-based adjustment engine that can make the framework more reactive or more stable depending on current conditions. The classical Ichimoku model is designed to show trend direction, momentum, and dynamic support/resistance in a single view.

What it shows
☁️ Full Ichimoku structure — Tenkan-sen, Kijun-sen, Senkou Span A, Senkou Span B, optional Chikou Span, and forward Kumo projection.

🧠 Classic or Adaptive mode — use standard Ichimoku parameters or let the indicator adjust its internal lengths according to ATR-based volatility behavior. Adaptive indicators are commonly designed to become more responsive or more conservative depending on changing volatility conditions.

🌈 Dynamic Kumo gradient — the cloud color and fill intensity vary based on bullish/bearish structure and cloud thickness.

🏷️ TK Cross signals — optional LONG and SHORT labels appear when Tenkan crosses above or below Kijun. Tenkan/Kijun crosses are widely used as Ichimoku signals and are often considered stronger when aligned with price position relative to the cloud.

🪧 Dashboard — displays mode, trend state, price vs Kumo location, Tenkan/Kijun relationship, active parameters, and ATR percentage.

📍 Last value labels — optional labels for Tenkan, Kijun, Span A, and Span B.

Core logic
This script is built around the classic Ichimoku reading process:

price vs cloud

Tenkan vs Kijun

future cloud structure

optional Chikou confirmation

In standard Ichimoku interpretation:

price above the cloud suggests bullish structure

price below the cloud suggests bearish structure

price inside the cloud suggests transition or indecision

This indicator keeps that framework intact, then extends it with an adaptive period engine.

Adaptive mode
In Classic mode, the script uses the traditional fixed settings:

Tenkan

Kijun

Senkou B

displacement

In Adaptive mode, those core lengths are scaled according to an ATR-based volatility ratio.

The idea is straightforward:

when volatility changes, fixed settings may become less efficient

adaptive scaling can make the Ichimoku framework more flexible across different environments

higher or changing volatility can justify a different sensitivity profile than calm market conditions

This does not replace classic Ichimoku logic — it simply changes the speed of the framework while keeping the same structural interpretation.

How to read it
A practical reading sequence is:

Check whether price is above, below, or inside the cloud.

Check whether Tenkan is above or below Kijun.

Observe whether the cloud is bullish or bearish.

Use TK crosses as triggers only after checking context.

In Adaptive mode, monitor how the active parameters shift as volatility changes.

In general:

Above Kumo + Tenkan > Kijun supports bullish trend logic.

Below Kumo + Tenkan < Kijun supports bearish trend logic.

Inside Kumo usually suggests weaker trend clarity or transition.

Features
✅ Full Ichimoku Cloud framework

✅ Classic fixed-parameter mode

✅ Adaptive ATR-based mode

✅ Configurable Tenkan / Kijun / Senkou B / displacement

✅ Dynamic Kumo gradient visualization

✅ Optional Tenkan, Kijun, Senkou A, Senkou B, and Chikou display

✅ TK cross signal labels

✅ Dashboard with live state information

✅ Last-value labels for key lines

✅ Built-in alert conditions for bullish and bearish TK crosses

Notes
This indicator is best used as a context and structure tool, not just as a crossover script. Ichimoku signals are generally stronger when multiple elements align, especially price position relative to the cloud, Tenkan/Kijun direction, and overall Kumo structure.

Author: Gabremoku
Pine Script v6

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。