Session VWAP and Profile
Session VWAP and Profile is an indicator drawn over the price chart.
tables and dashboards
1
indicator "Session VWAP and Profile"2
pane: price3
4
input rows = 245
input value_area = 70%6
7
session_vwap = vwap(anchor: "session")8
upper_band = session_vwap + stdev(close, 20)9
lower_band = session_vwap - stdev(close, 20)10
11
plot session_vwap as vwap_line, color: purple, width: 212
plot upper_band, color: purple.fade(60), style: step13
plot lower_band, color: purple.fade(60), style: step14
fill upper_band, lower_band, color: purple.fade(92)15
profile rows: rows, range: session, side: right, value_area: value_areaWhat 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.