CapitalMastery

Rolling Multiday VWAP

CapitalMastery Atualizado   
Couldn't find a VWAP script that worked the way I needed so I created this one. Basically, it provides a multiday rolling VWAP. I made the rolling period configurable, but I primarily use it to add a 2 day VWAP to my chart alongside the standard VWAP indicator. This unique thing that this indicator does is dynamically anchor to the configured period, but starting from today backwards.


Basically, this indicator ensures VWAP never anchors to the current day, but instead always shows a 2 day VWAP on today's charts. The problem I had with other indicators is that every other day my 2 day VWAP indicator would anchor to the current day and essentially become a redundant standard VWAP indicator.

Hope to update in the future to dynamically update based the chart day you have in focus, but will need some time to figure out if that's even possible.
Notas de Lançamento:
Refactored the original indicator/script to fix a number of bugs, and make the lookback period (in days) configurable. Enjoy!
Notas de Lançamento:
Updated chart, and added documentation.
Notas de Lançamento:
Fixed lookback period bug
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?