OPEN-SOURCE SCRIPT
Telah dikemas kini

VIDYA with trend centered SDs with Chandelier Exit By Kidev

247
This multi-tool overlay combines adaptive averaging, volatility envelopes, and structural swing detection into a single, configurable indicator.

Features
• Selectable MA75 — choose SMA / EMA / WMA / VWMA / HMA as the 75-length baseline.
• MA Trend Mode — optional up/side/down regime coloring driven by MA slope (configurable colors).
• VIDYA (Variable Index Dynamic Average) — adaptive moving average with cross (C>V / C<V) and slope-change signals.
• VIDYA-centered SD Bands — 0.5σ & 2.0σ bands computed around VIDYA to show adaptive volatility envelopes.
• Chandelier Exit (center) — optional ATR-based centerline (toggleable and trend-colored).
• Double ZigZag — two independent ZigZag period settings with HH/LL labeling for swing structure clarity.
• Performance-minded — safe line/label cleanup, limits for stored points, and options to minimize visual clutter.

How to use
• Use the selectable MA as a trend baseline and enable MA Trend Mode to color it by regime (Up / Side / Down).
• Watch VIDYA crosses (C>V / C<V) for momentum shifts and VIDYA slope-change triangles for trend acceleration.
• VIDYA-centered bands show where price is relatively quiet or volatile; the 2σ band can act as a momentum/extreme zone.
• Toggle the Chandelier center on for an ATR-based reference/exit line that complements the VIDYA bands.
• Use the Double ZigZag and HH/LL labels to identify swing structure and potential confirmations of trend breaks.

Notes & customization ideas
• Slope threshold is ATR-based by default but can be tuned to reduce noise.
• VIDYA band lookback uses the SD lookback setting; you can switch to VIDYA’s length for a different feel.
• Add/remove labels or reduce max ZigZag points if you need lighter charts.

This indicator is intended as a toolbox — combine its elements (MA regime, VIDYA bands, chandelier center, ZigZag structure) to build context-aware entries, exits, and market regime analysis rather than as a standalone mechanical system.
Nota Keluaran
VIDYA (Variable Index Dynamic Average)

An adaptive moving average that adjusts its sensitivity based on market volatility (Efficiency Ratio).

Changes color dynamically: green in uptrends, orange/red in downtrends.

Optional signals for price ↔ VIDYA crosses and slope-change detection.

Trend-Centered Standard Deviation Bands (SDs)

Bands built around VIDYA, at 0.5σ and 2.0σ from the VIDYA center.

Center and outer band fill shows expansion/contraction in volatility.

Bands adjust directionally with the VIDYA slope (different for uptrend vs. downtrend).

Chandelier Exit (Center Line Only)

A volatility-based trailing stop system using ATR.

The indicator plots the Chandelier Exit center line, color-coded by trend (green = bullish, red = bearish).

Helps define stop-loss zones and trend reversals.

MA75 (Selectable Baseline)

A baseline moving average (default length = 75), with selectable type: SMA, EMA, WMA, VWMA, HMA.

Optional trend-mode coloring:

Lime = Uptrend

Orange = Sideways

Red = Downtrend

Double ZigZag with HH/LL Labels

Two independent ZigZag layers with adjustable periods.

Detects higher highs (HH), lower highs (LH), higher lows (HL), and lower lows (LL).

Helps visualize swing structure and trend shifts.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.