OPEN-SOURCE SCRIPT
EMA Envelope + SMA + Purple Dot

This indicator combines three tools into one:
📈 EMA Envelope with wedge and range contraction signals to highlight volatility squeezes.
🔵 SMA with optional smoothing (SMA/EMA/WMA/SMMA/VWMA) and optional Bollinger Bands.
🟣 Purple Dot “PowerBars” that mark strong momentum bars when price ROC (%) and volume exceed user-defined thresholds.
It also includes:
Background highlighting of contraction zones (bullish/bearish/neutral colors).
A summary table showing PowerBar count and return (%) over custom lookback periods.
Flexible display settings (table position, dark/light theme, highlight toggle).
Designed for traders who want to track momentum bursts, volatility contraction, and trend strength all in one tool.
📈 EMA Envelope with wedge and range contraction signals to highlight volatility squeezes.
🔵 SMA with optional smoothing (SMA/EMA/WMA/SMMA/VWMA) and optional Bollinger Bands.
🟣 Purple Dot “PowerBars” that mark strong momentum bars when price ROC (%) and volume exceed user-defined thresholds.
It also includes:
Background highlighting of contraction zones (bullish/bearish/neutral colors).
A summary table showing PowerBar count and return (%) over custom lookback periods.
Flexible display settings (table position, dark/light theme, highlight toggle).
Designed for traders who want to track momentum bursts, volatility contraction, and trend strength all in one tool.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.