OPEN-SOURCE SCRIPT
更新済 Trend by ΔMA + Double ZigZag + EMA/WMA Bands by Kidev

This script is a multi-tool trend and structure analyzer combining moving average slope confirmation, double zigzag swing mapping, and dynamic EMA/WMA trend bands — all in one overlay indicator.
🔹 Key Features:
ΔMA Trend Detection
Detects trend shifts using the slope of a chosen moving average (SMA, EMA, WMA, RMA, HMA).
Confirms uptrend/downtrend only after a user-defined confirmation window.
Draws color-coded MA line (green = uptrend, red = downtrend, gray = sideways).
Optional arrows for trend change entries.
Alerts for confirmed trend shifts.
Double ZigZag Swing Analysis
Two customizable ZigZag layers with independent lookback periods.
Optional swing labels (HH, HL, LH, LL) to track market structure.
Full control over line style, width, and colors for each ZigZag.
EMA Band (96 default)
Plots a dynamic EMA channel (High, HLC3, Low).
Visual band highlights volatility and trend zones.
Adjustable fill color and transparency.
Weighted Moving Average (WMA 96)
Clean trend-following baseline.
Adjustable source, length, and color.
Background Highlight
Toggleable background shading for bullish / bearish / sideways conditions.
Fully customizable colors and transparency.
Helps visually separate market phases at a glance.
Note:
ZigZag repainting is inherent by design (future swings refine past points). Use it as a structural guide, not as a standalone signal.
🔹 Key Features:
ΔMA Trend Detection
Detects trend shifts using the slope of a chosen moving average (SMA, EMA, WMA, RMA, HMA).
Confirms uptrend/downtrend only after a user-defined confirmation window.
Draws color-coded MA line (green = uptrend, red = downtrend, gray = sideways).
Optional arrows for trend change entries.
Alerts for confirmed trend shifts.
Double ZigZag Swing Analysis
Two customizable ZigZag layers with independent lookback periods.
Optional swing labels (HH, HL, LH, LL) to track market structure.
Full control over line style, width, and colors for each ZigZag.
EMA Band (96 default)
Plots a dynamic EMA channel (High, HLC3, Low).
Visual band highlights volatility and trend zones.
Adjustable fill color and transparency.
Weighted Moving Average (WMA 96)
Clean trend-following baseline.
Adjustable source, length, and color.
Background Highlight
Toggleable background shading for bullish / bearish / sideways conditions.
Fully customizable colors and transparency.
Helps visually separate market phases at a glance.
Note:
ZigZag repainting is inherent by design (future swings refine past points). Use it as a structural guide, not as a standalone signal.
リリースノート
The EMA band acts like the “spine” of the market, while HL3 and HL4 anchor the longer-term direction. When the band is central and price drifts to one side, the trend direction becomes crystal clear — making this combo a powerful filter for clean entries and exits.Detect trend bias with ΔMA slope and EMA/WMA confirmations.
Identify market structure shifts with ZigZag HH/HL/LL/LH markers.
Confirm swing entries/exits using Ichimoku crosses.
Combine trend + structure + signals for swing trading, intraday setups, or position management.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。