OPEN-SOURCE SCRIPT
VIDYA with trend centered SDs with Chandelier Exit By Kidev

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.
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.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.