TradingView
jamiespips
Oct 25, 2017 9:42 AM

Anchored VWAP 

WHITBREAD ORD GBP0.76797385LSE

Description

This is the anchored VWAP which can be used on any timeframe, including intraday.

[Built on top of code from drshoe uk.tradingview.com/script/gBWJIxfN-VWAP-MTF-Custom-Dates-Multi-Timeframe-VWAP-with-Custom-Dates/]
Comments
jlayanas
Hello @jamiespips, can you give me instructions on how to use this indicator? I add it but don't know how to anchor it to a certain bar.
691007
@jamiespips Thanks for sharing. Somehow I find the indicator can't be anchored to the first two intra-day bars for newly listed IPO stocks, for example the stock BYND. Does the indicator requires at least two bars' data to calculate? thanks,
TheTechnique
It seems unable to go back further than like 4.5 months
jamiespips
Hi @TheTechnique,

This is a fault of tradingview - it only lets you calculate so much data. I have found if you use it at non-peak times it works... but most of the time if you're calculating a lot of data it wont work. Use TC2000 if AVWAP is central to your trading.

Cheers
rosstopher
@jamiespips, Any knowledge on an AVWAP tool code for ToS platform? Any way to make this script work with a click and touch on a candle (rather than having to go into settings every time to manually change anchor date/time?
The_Chart_Analyst
Hello @jamiespips, and thank you for this indicator, I use it every day. I have also run into issues when using it more than a few months back, and contacted Tradingview about data. Here's what they said:

"For upgraded plans, the length of historical data for any intraday time interval is 10,000 bars/candles + additionally several bars/candles back to the beginning of the week, month or year (depending on the resolution). Unfortunately, this limit cannot be extended. We may at some point consider extending this feature, but no decision has been made and there is no ETA for said extension.
With that being said, if you change the chart interval to daily or daily-based, you will see a longer date range. We display all available data for daily-based intervals."

So they are claiming that it is not a data problem. However, having worked with this group at Multicharts for many years, it is my observation that their first reaction to a problem is "It's not us, it's something else, our work is just fine thank you." So as far as I'm concerned they do have a credibility problem.

I like to have the following baseline AVWAPs on my charts: Year to date, Month to date, Week to date, Latest high, Latest low. YTD is pretty much out of the question an this point, as we are over 4 months into the year. MTD, WTD, H, L usually work pretty good. Intraday a few days back always works.

So far I am using it with a premium plan and their free data. Has anyone tried it with a data subscription from the exchanges? I already pay for data at IB, so I don't pay for it on Tradingview. As a side note, I wonder if the paid subscription volume data would be different, yielding a different AVWAP curve. Can anyone comment on this?

Thanks!
bluedesk
Thanks for describing the data issue, so that others can modify this script.
The_Chart_Analyst
@bluedesk, You are welcome. But the built-in AVWAP works quite well, so I don't bother with this script any more.
Rich_CA
@trendfirst, Hi
I am unable to find the built in VWAP, Can you help me with the same?
The_Chart_Analyst
@Rich_CA, sorry, I did not see this question. You've likely got your answer by now, but search for "VWAP Auto Anchored".
More