andkii

VWAP StdDev Bands - Multi-type VWAP: Period, Date, Earnings

andkii Updated   
This VWAP indicator differs from the rest in that it is customizable for 3 distinct VWAP types, among other features that may be useful.

VWAP types:
  • Period Based VWAP
  • Date Anchored VWAP
  • Earnings Based VWAP

Additional features common to all VWAP types:
  • Standard Deviation Bands
  • Coloring based on Price vs Deviation Bands
  • Coloring of VWAP based on VWAP Slope


Each of the VWAP types are described below:

Period VWAP
Simple period VWAP which allows preset, as well as custom periods.
Resets at the start of each period.
Also allows setting a custom session time for reset at specific time of day.

Date VWAP
Date anchored VWAP which does not reset.
VWAP will start from the selected date.
Pictured: AAPL Date VWAP from 2018-08-27

Earnings VWAP
VWAP which resets on every earnings report. The symbol must be stock with available earnings data.


Multiple types can be used in conjunction with one another only by adding multiple of the indicator to your chart.

Feel free to leave any comments, questions, or bug reports. All are welcome.
Enjoy!
Release Notes:
Updates:
  • Added the ability to set the VWAP's data source.
  • Fixed an issue where DateVWAP would draw even before the specified anchor date had been reached.
  • Improved the way VWAP behaves when a new session begins/VWAP resets (no longer draws ugly lines directly to the new price, instead it continues until the new session and ends abruptly).
Release Notes:
Rollback previous release due to some issues with imperfect drawing on session changes.
Release Notes:
Added the ability to select the source data for calculating VWAP

If my work has helped you, consider sending a small donation my way, it means more to me than you may think :)

BTC: 1PtmhYVJBr6jd8z4NXeDyVqLayNMxCzoRE
ETH: 0xaDAaC640632d00b7DA09859BDBE28822F13C0186
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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?