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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。