OPEN-SOURCE SCRIPT
Kumo no Nami Trend Strength Identifier T2[T69]

🧠 Overview
Kumo no Nami is a custom trend strength indicator that combines Ichimoku cloud dynamics (Kumo) with wave momentum (Nami) to identify trend direction, reversals, squeezes, and breakouts using Z-Score analysis. It adapts to different modes (Ichimoku, MA, EMA) for a flexible interpretation of price structure tension vs. movement strength.
🔍 Core Logic
⚙️ Features
🔧 Configuration
🧪 How It Works
📈 Behavior & Signals
🧠 Advanced Concepts Used
Kumo no Nami is a custom trend strength indicator that combines Ichimoku cloud dynamics (Kumo) with wave momentum (Nami) to identify trend direction, reversals, squeezes, and breakouts using Z-Score analysis. It adapts to different modes (Ichimoku, MA, EMA) for a flexible interpretation of price structure tension vs. movement strength.
🔍 Core Logic
- Kumo Width (Cloud Pressure): Measures the normalized spread (Z-Score) between two dynamic price levels (e.g., Senkou A-B or Base-Tenkan).
- Nami Strength (Wave Energy): Measures how far current price dislocates from a recent range using Z-Score of the difference between close and Donchian/MA.
- Z-Score Normalization: Ensures both metrics are statistically comparable, regardless of volatility regime.
- Squeeze Detection: Identifies compression before potential volatility expansion.
- Breakout/False Break: Detects whether movement is legitimate or noise.
- Final Top/Bottom: Highlights a strong burst post-squeeze, often signaling exhaustion or trend climax.
⚙️ Features
- 🌀 Multiple Kumo Modes:
- Kijun-Tenkan
Senkou A - B
SMA Fast - Slow
EMA Fast - Slow - 🟨 Z-Score Based Squeeze Monitoring
- 🟥 Final Burst Alerts
- 🟩 Trend Continuation or Fake-out Detection
- 🎨 Dynamic Background Coloring for visual signal clarity
🔧 Configuration
- 📊 Inputs
- Kumo Mode (kt, sab, sfs, efs) – Choose method to compute Kumo (Cloud) width.
- Kumo Lookback – Lookback period for cloud Z-Score analysis.
- Nami Lookback – Lookback period for wave dislocation measurement.
- Squeeze Threshold – How low Z-Kumo must fall to signal potential squeeze.
- Burst Thresholds:
Burst Kumo → Z-Kumo must rise above this to be considered bursting.
Burst Nami → Nami Strength threshold for final trend climax. - Ichimoku Config – Tenkan, Kijun, Senkou B, and displacement.
- MA Config – For Fast/Slow variants, SMA/EMA lengths.
🧪 How It Works
- Compute the Kumo Width depending on selected mode.
- E.g., |Tenkan - Kijun| or |Senkou A - Senkou B|
- Normalize this width with its Z-Score to get Z-Kumo Width.
- Compute Nami Strength:
- Z-Score of how far close deviates from a Donchian channel or moving average.
- Evaluate signal logic based on the two:
📈 Behavior & Signals
- Trend Range (Sideways Consolidation)
- =>Z-Kumo < 0 and |Nami Strength| > 2
- False Break (No meaningful price movement)
- =>Z-Kumo < 1 and |Nami Strength| < 1
- Squeeze Watch (Potential breakout loading)
- =>Z-Kumo < Squeeze Threshold
- Final Burst / Climax
- =>Z-Kumo > 2.5 and |Nami Strength| > 3
- Bullish Breakout
- =>Z-Kumo > 1 and Nami Strength > 2 and not false break
- Bearish Breakout
- =>Z-Kumo > 1 and Nami Strength < -2 and not false break
- Reversal Detection
- Crossovers of Nami Strength across 0 (bull/bear) while not in squeeze
🧠 Advanced Concepts Used
- Z-Score:
- =>(value - mean) / standard deviation for detecting statistically significant moves.
- Squeeze Principle:
- =>Low volatility → potential buildup → expansion.
- Price Dislocation (Wave Strength):
- =>Measures how far current price is from its mean range.
- =>Cloud Tension (Kumo Z-Score):
- =>Reflects pressure or neutrality in the price structure.
- Trend Confirmation:
- =>Only if both metrics agree and no false break conditions are met.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.