Session VWAP with Standard Deviation Bands
VWAP (Volume Weighted Average Price) is the average price of a session in which every bar counts in proportion to its traded volume. Busy bars move the average more than quiet ones, so VWAP approximates the "fair" price the market has actually transacted at since the session opened. Institutions often use it as an execution benchmark, which is why many traders watch it as a magnet and a dynamic support/resistance level.
A single line says nothing about how far price is allowed to wander. This indicator therefore also calculates the volume-weighted standard deviation of the same price series and draws bands at a configurable number of deviations above and below VWAP. Price sitting at +2 SD is statistically stretched relative to the session so far; price returning to VWAP is a mean-reversion signal; price riding the outer band is a sign of a strong trend.
Everything is accumulated from the session open and updated incrementally with a numerically stable (Welford-type) weighted algorithm, so only the last bar is recalculated on each tick.
Early in a session the bands are very narrow (the first bar has a deviation of zero) and widen as more data accumulates; this is normal behavior of a cumulative statistic.

Fig. 1. Session VWAP (solid), ±1 SD (dashed) and ±2 SD (dotted) with session separators; black & white image per Code Base image guidelines (colors are configurable in the indicator properties).
| Input | Default | Purpose |
|---|---|---|
| InpSession | Daily | Session reset period: Daily, Weekly (starts Monday) or Monthly. |
| InpStartHour | 0 | Hour of the session start in server time (0–23). |
| InpStartMinute | 0 | Minute of the session start (0–59). |
| InpPrice | PRICE_TYPICAL | Price taken from each bar: typical price (H+L+C)/3, close, median, weighted, open, high or low. |
| InpVolume | VOLUME_TICK | Volume used as the weight: tick volume or real volume (if the broker provides it). |
| InpMult1 | 1.0 | Multiplier of the inner bands in standard deviations; must be greater than zero. |
| InpMult2 | 2.0 | Multiplier of the outer bands in standard deviations; must be greater than zero. |
| InpHistoryBars | 5000 | Number of latest bars calculated on load; 0 calculates the whole history. |
| InpGapBetweenSessions | true | Leaves the first bar of every session empty so that lines of different sessions are not connected. |
| InpDrawSessionLines | true | Draws a vertical dotted line at each session start. |
| InpSessionLineColor | clrDimGray | Color of the session lines. |
| InpShowInfoLabel | true | Shows the VWAP / SD / Z-score label in the upper-left corner. |
| InpLabelColor | clrGray | Color of the info label. |
Anchored VWAP with Draggable Anchor Point
Anchored VWAP with a draggable anchor line: drag the vertical line to any bar and the volume-weighted average price and its deviation bands are rebuilt from that bar onward.
Opening Range Breakout (ORB) Box with Breakout Arrows
An indicator that draws the opening range of each trading day as a box, extends its high and low through the session, and marks the first breakout with a buy or sell arrow.
Tick Volume Delta Histogram (Buy/Sell Pressure Estimate)
Estimates buy/sell pressure by splitting the tick volume of every bar into a buy part and a sell part. The difference (delta) is shown as a four-color histogram with an optional EMA line.
MACD Signals
Indicator edition for new platform.