andkii

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

andkii Mis à jour   
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!
Notes de version:
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).
Notes de version:
Rollback previous release due to some issues with imperfect drawing on session changes.
Notes de version:
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
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?