Session VWAP and Profile

Session VWAP and Profile is an indicator drawn over the price chart.

tables and dashboards

session-vwap-and-profile.abx
1indicator "Session VWAP and Profile"
2pane: price
3
4input rows = 24
5input value_area = 70%
6
7session_vwap = vwap(anchor: "session")
8upper_band = session_vwap + stdev(close, 20)
9lower_band = session_vwap - stdev(close, 20)
10
11plot session_vwap as vwap_line, color: purple, width: 2
12plot upper_band, color: purple.fade(60), style: step
13plot lower_band, color: purple.fade(60), style: step
14fill upper_band, lower_band, color: purple.fade(92)
15profile rows: rows, range: session, side: right, value_area: value_area
What this script says

Session VWAP and Profile is an indicator drawn over the price chart.

You can change 2 inputs: rows (default 24) and value_area (default 70%).

It calculates session_vwap as VWAP, upper_band as session_vwap plus the 20-bar standard deviation of the close and lower_band as session_vwap minus the 20-bar standard deviation of the close.

On the chart, it plots session_vwap as vwap_line, plots upper_band and lower_band, shades between upper_band and lower_band and draws a volume profile.

Try this in the Terminal. AlgoBars is free: $0 a month, no card needed.

Create my free account