mortdiggiddy

Multi-Day VWAP

mortdiggiddy Actualizado   

Chart the multi-day Volume Weighted Average Price ( VWAP ). Normally, the VWAP is tracked for the current day, from the first bar of the day (regular or extended session). The VWAP shows the current value of:

-> sum(hlc3 * volume , barsForDay) / sum( volume , barsForDay),

-> where 'barsForDay' is the total number bars that have elapsed during the day for the chart interval.

The multi-day version tracks the VWAP for N days back, by averaging the previous N - 1 day bars VWAP and the current VWAP for the current bar (chart interval).

This is very different that simply using a volume weighted moving average , since the closing VWAP values are used for the historical day bars. The results are interesting for intraday trades... especially for values of 1, 2, 3, 4, and 5 days.

Enjoy.
Notas de prensa:
Test update.

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?