OPEN-SOURCE SCRIPT

Exponential MA

112
This script is a Pine Script indicator that plots multiple exponential moving averages (EMAs) or simple moving averages (SMAs) on a TradingView chart. It provides a visual representation of market trends and momentum by calculating moving averages for different periods.

The script allows users to toggle between EMAs and SMAs using a boolean flag (exponential). Each moving average is assigned a color based on its trend direction and relationship to a reference moving average (MMA100). The primary moving average (MMA05) is highlighted with dynamic color changes, while the others follow a similar trend-based color scheme.

By displaying multiple moving averages, this indicator helps traders identify trend strength, potential reversals, and overall market direction.

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.