ProfitProgrammers

VWMA Trend Filter

Here's a simple tool for determining long term trend direction using two Volume Weighted Moving Averages (VWMA). The VWMA's emphasis on volume often makes it a better measurement for trend direction than the more popular Exponential Moving Average (EMA).

Trend direction is determined by comparing a fast and slow VWMA. The default length for the fast VWMA is 50 periods, while the slow uses a default length of 200. Both of these lengths can be modified in the input options menu. The default source for the VWMA's is HLC3((high + low + close) / 3).

If the fast VWMA is greater than the slow VWMA, then the trend is bullish and the background color is green. If the fast VWMA is less than the slow VWMA, then it is bearish and the background color is red.

We included an option to change the candle color based on whether the VWMA's indicate a bullish or bearish trend as well.

Overall, this is one of those utility tools that we like to use as an overlay over the main price chart and in conjunction with other signal generating indicators. Its purpose isn't to generate buy and sell signals, but it works well as a visual confirmation tool to help traders gauge trend direction.

-Profit Programmers
www.profitprogrammer.com
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?