czoa

TurboVWAP

czoa 已更新   
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
發布通知:
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.
發布通知:
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.
發布通知:
Keeping open the possibility to select the source for main VWAP calculation
發布通知:
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.
發布通知:
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.
發布通知:
Slight code improvements
發布通知:
Added 4D and 5D periods for rolling and/or anchored VWAPs

PolloLoco Trader
Follow me on YouTube: www.youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?