TradingView
mortdiggiddy
30 Mar 2017 18:22

Multi-Day VWAP 

S&P 500 index of US listed sharesFXCM

Açıklama


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.

Sürüm Notları

Test update.
Yorumlar
mortdiggiddy
This script is now replaced by tradingview.com/script/dQF211AS-Multi-Timeframe-VWAP/

The algorithm in this script is inappropriate.
Nkcs22
hello sir, how should the settings be for BIST 100 stocks?
sudhir.mehta
Thanks for sharing!!!!!Good one!!!
Reekardo
do you know how to input Mday-VWAP for thinkorswim? thanks
mortdiggiddy
@Reekardo, I do not unfortunately. Pine Script is weird, I prefer Esignal with Java Script.
Daha Fazla