peacefulLizard50262

Cumulative Weighted Exponential Moving Average (CWEMA)

This is a Pine Script for the "Cumulative Weighted Exponential Moving Average" (CWEMA) indicator. The script defines the CWEMA indicator using the ema() and wma() functions, which respectively calculate the exponential moving average and weighted moving average of a given data series. The cwema() function computes the weights for each value in the moving average and then uses the wma() function to calculate the weighted moving average of the exponentially weighted moving average of the input data series. The resulting CWEMA values are plotted on a chart.

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?