The Volume Weighted Average Price (VWAP) shows the average price paid by the market, where every bar counts in proportion to the volume traded in it. A regular VWAP restarts at fixed moments (for example, every day). An anchored VWAP instead starts at a bar that you choose, usually a bar that mattered: a swing high or low, a news release, a gap, a breakout or the start of a trend.
From that anchor bar the indicator accumulates price × volume and volume, so the line reads as the average entry price of everyone who traded since the event. When price trades above it, the buyers since the anchor are on average in profit; below it, the sellers are. The line often acts as dynamic support or resistance.
The anchor is a normal vertical line on the chart. Drag it with the mouse and the whole indicator is recalculated immediately, with no need to open the properties dialog or wait for the next tick. The calculation is incremental: running sums are stored per bar, so on a new tick only the last bar is recomputed, and a full pass is made only when the anchor moves or the history changes.

Fig. 1. Anchored VWAP on EURUSD H1: anchor line (dashed vertical), AVWAP (solid), deviation bands (dashed and dotted). The image is black & white according to the Code Base image guidelines; the line colors on a real chart are configurable.
| Input | Default | Purpose |
|---|---|---|
| Anchor | ||
| InpAnchorName | AVWAP_Anchor | Name of the anchor line object. Use a different name for every instance of the indicator on the same chart. |
| InpInitialBarsBack | 100 | Where the anchor is placed the first time, counted in bars back from the last bar. An existing line with the same name is reused instead. |
| InpSnapToBar | true | After a drag, moves the line to the open time of the nearest bar so that it sits exactly on a bar. |
| InpAnchorColor | clrOrange | Color of the anchor line. |
| InpAnchorStyle | STYLE_DASH | Style of the anchor line. |
| InpAnchorWidth | 1 | Width of the anchor line (1 to 5). |
| Calculation | ||
| InpPriceType | AVWAP_PRICE_TYPICAL | Price of each bar used in the average: typical (H+L+C)/3, close, open, high, low, median (H+L)/2 or weighted (H+L+2C)/4. |
| InpVolumeType | AVWAP_VOL_TICK | Volume used as the weight: tick volume, or real volume. If a bar has no real volume, its tick volume is used instead. |
| Bands | ||
| InpShowBands | true | Shows or hides the four deviation bands. |
| InpBandMult1 | 1.0 | Multiplier of the volume-weighted standard deviation for the first pair of bands. Must be greater than 0. |
| InpBandMult2 | 2.0 | Multiplier of the volume-weighted standard deviation for the second pair of bands. Must be greater than 0. |
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.
Mouteki DeMark Enhanced with FDI and Hurst Exponent - indicator for MetaTrader 5
Mouteki-DeMark trendline indicator enhanced with FDI and Hurst Exponent analysis, breakout targets, a market dashboard, and signal, invalidation and early-close alerts.
Session VWAP with Standard Deviation Bands
Session-anchored VWAP with volume-weighted standard deviation bands. It restarts at every daily, weekly or monthly session open and shows how far price has stretched from the average price paid during the session.
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.