czoa

TurboVWAP

czoa Updated   
VWAP indicator based in the built-in one but completely rewritten. Features:
- more standard deviation bands, up to 3.
- added the possibility to not anchor the VWAP but make it a rolling one instead, like a VWMA, being in this case able to specify days, hours or minutes for the rolling VWAP.
- for rolling VWAPs, the indicator doesn't count bars but real days, hours or minutes instead, so regardless of the chart timeframe the indicator will always show the correct values.
- for rolling VWAPs, if you specify x days as the rolling time, the indicator will always count exactly 24 hours from the current time backwards - so, from the same time yesterday or x days ago.
- in rolling VWAPs, although the indicator counts real time elapsed as per your settings and not chart bars, it will automatically skip holidays, so you needn't worry about that.
- for the anchored VWAP, added the possibility to specify custom session times (for example, for ES 0830-1500, instead of Globex, which is the Tradingview default as of today)
- complete customization of all fills and linetypes

For illustration purposes in the attached 1min chart I have:
- a 30min rolling VWAP in BLUE with no standard deviation plots,
- a 1 day rolling VWAP in RED with standard deviations in light red and green (these are the default settings)
- a RTH-session-anchored VWAP in ORANGE with standard deviations in light orange and light blue
Release Notes:
Script will automatically auto-set session start and end times for session-anchored VWAPs (only for US and EUR futures). You can also disable that and manually input these times.

CHECK MY NEW SCRIPT TURBO-VWAPs 3X for more features and options.
Release Notes:
Added the optional possibility to display VWAP and Standard Deviations as bands, resulting from applying VWAP to the highs and the lows of bars in addition to the standard HLC/3 convention. This way, you will not only have single lines but areas, zones which once broken can give more confidence to your trades.
Thanks to @vikkranntshah for the suggestion.
Release Notes:
Keeping open the possibility to select the source for main VWAP calculation
Release Notes:
Added the option to automatically set the VWAP type (rolling or anchored) and its period depending on the current chart timeframe, so you needn't adjust its parameters each time you change the chart resolution.
Code rewritten with my TurboVWAPs 3X script's improvements.
The present script is the same as 3X but for only a single VWAP.
Release Notes:
Fixed error when calculating rolling 2D and 3D VWAPs because the script wasn't compensating for weekends anymore.
Also added many more VWAP-timeframe options.
Release Notes:
Slight code improvements
Release Notes:
Added 4D and 5D periods for rolling and/or anchored VWAPs

PolloLoco Trader
Follow me on YouTube: www.youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?