andkii

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

andkii Uppdaterad   
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!
Versionsinformation:
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).
Versionsinformation:
Rollback previous release due to some issues with imperfect drawing on session changes.
Versionsinformation:
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
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?