Session VWAP and Profile
Session VWAP and Profile is an indicator drawn over the price chart.
tables and dashboards
indicator "Session VWAP and Profile"pane: priceinput rows = 24input value_area = 70%session_vwap = vwap(anchor: "session")upper_band = session_vwap + stdev(close, 20)lower_band = session_vwap - stdev(close, 20)plot session_vwap as vwap_line, color: purple, width: 2plot upper_band, color: purple.fade(60), style: stepplot lower_band, color: purple.fade(60), style: stepfill upper_band, lower_band, color: purple.fade(92)profile rows: rows, range: session, side: right, value_area: value_areaSample data. Not a result. The real AlgoBarsX engine ran this exact script on made-up bars, and this replays what it drew and did. It shows no profit or loss, and it says nothing about how the script would do in a real market.
Replay of this script on 150 sample bars: 3 lines drawn.
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.