TradingView
vnhilton
9 אוק׳ 2022 19:07

RTH & ETH VWAPs [vnhilton] 

Senti Biosciences, Inc.NASDAQ

תיאור

Plots 2 different VWAPs for regular & extended trading sessions, with option for a plot fill between the 2 (using pinescript's new vertical gradient feature).

הערות שחרור

Added ATR bands. Can add fill between bands upon request.

הערות שחרור

- Added VWAP bands
- Removed ATR bands as they were placeholders for VWAP bands


3 sets of VWAP bands for RTH & ETH, fills between the pairs.

הערות שחרור

- fixed text

הערות שחרור

- Added "Closest VWAP Bands" - Will show either RTH or ETH VWAP band line, whichever is lowest/highest for upper/lower lines
- Added toggle to hide ETH band lines in RTH sessions


Left chart shows RTH & ETH VWAPs & their bands. Right chart shows RTH & ETH VWAPS & the closest VWAP bands. Also shows ETH bands, but hides them during RTH session.

הערות שחרור

- Added VWAP Circles for RTH & ETH VWAPs (can add circles for the band lines if requested). These circles can make price action clearer with less lines on the chart.


Left chart shows VWAP lines with VWAP circles. Right chart shows just VWAP circles.

הערות שחרור

- Fixed RTH VWAP Circles displaying on ETH.

הערות שחרור

- Changed ETH on ETH only toggle to apply to all ETH lines (idea is that traders who trade ETH will use ETH vwap, but as market opens then there are more RTH traders than ETH only traders, so RTH VWAP is prioritised. ETH VWAP is then prioritised during after hours).

הערות שחרור

- Small text edit in regards to the new toggle.
תגובות
hundredtoamillion
Man I love your scripts. I just made a very similar one, but with 3 vwaps - one for each session (so they're anchored to the beginning of each trading session).
Your code is so much cleaner, though
vnhilton
@hundredtoamillion, Thanks hundred! Your scripts are also amazing. I like the idea of a VWAP for each session. I should add that for my equity sessions indicator. Thank you!
עוד