TradingView
claypuzzle
27 paź 2021 15:08

Anchored VWAP Click 

International Business Machines CorporationNYSE

Opis

It calculates AVWAP set from a mouse click on a chart instead of having to edit a popup box, manually transferring date and time from the chart.
It's the Oct 2021 sample script from Tradingview to demonstrate their new chart interactive capabilities of Pine script.
tradingview.com/blog/en/pine-scripts-are-now-interactive-27147/
I take no credit for this, just noticed it wasn't in the Public Library.
This ability to accept OnMouse positional data from the chart, into an indicator has been needed in TV for a long time.
Glad to see they continue to grow the capabilities.
Komentarze
kiero
Hello! Would you be able to program an anchored EMA or HMA or a different type of MA? Would be great.
rk7918495
Thanks brother
DJ8_8
Mate, thank you so much for making this indicator - it's exactly what what missing from the Vwaps in other scripts - the ability to just click on a point. Can I ask you a massive favour - would you please be able to add a text function so that I can make a short text note that anchors to the end of the AVWAP and moves with the end of it - this allows me to see on lower time frames exactly where that particlur AVWAP is from - for eg. HH = from highest high or SL = swing low or FOMC = from the latest FOMC meeting etc etc. This would be an awesome addition and with your skills I'm hoping that it isn't too hard. ;) I've tried the anchored text but that doesn't stick with the end of the AVWAP line unfortunately. Many thanks in advance.
EXP2020
This is great, thanks!
chromecarz00
Question - if defining VWAP from the same point in time, why would it show different values on different TFs?
tradingmonkey84
Great.. simple and effective code. More power to you
sufficientMoth39
Hello, Can you update vwapp with stdev band? It's is very helpful for everyone. Tks you Brother!
wborden44
This deserves so many more thumbs up! Having the ability to move the anchor on chart is a game changer.
Więcej