Raw volume bars are hard to judge: is 1,800 ticks a lot or a little? It depends on the symbol, the timeframe and the time of day. Relative Volume answers that question by comparing a bar with what is normal for it:
RVOL = volume of the bar / average volume
A value of 1.0 means "as usual", 2.0 means twice the usual volume, 0.5 means half of it. Unusually high RVOL shows that the market is paying attention: news, breakouts, stop runs and the start or end of a trend usually come with it. A breakout on low RVOL is more likely to fail than the same breakout on high RVOL.
The "usual" volume can be measured in two ways:
The calculation is incremental: after the first pass only the last bar and new bars are recalculated on each tick.

Fig. 1. RVOL(Bars,20) in the subwindow of an EURUSD H1 chart: histogram with the 1.0, high and extreme levels and the text label. The image is black & white according to the Code Base image guidelines; the three histogram colors are configurable.
| Input | Default | Purpose |
|---|---|---|
| Baseline | ||
| InpMode | RVOL_MODE_BARS | How the average volume is measured: previous N bars (RVOL_MODE_BARS) or same time of day on the previous N days (RVOL_MODE_SAME_TIME). The same-time mode needs an intraday timeframe; on D1 and above the indicator uses the previous N bars instead and prints a message in the Experts tab. |
| InpPeriod | 20 | N: number of bars (bars mode) or number of days (same-time mode) in the average. Must be at least 1. |
| InpVolumeType | RVOL_VOL_TICK | Volume used in the calculation: tick volume or real volume. If a bar has no real volume, its tick volume is used. |
| Levels | ||
| InpHighLevel | 1.5 | RVOL level from which volume is considered elevated (second histogram color, dotted level line). Must be greater than 0. |
| InpExtremeLevel | 3.0 | RVOL level from which volume is considered extreme (third histogram color, dotted level line). Must not be lower than the high level. |
| Colors and label | ||
| InpColorNormal | clrGray | Histogram color for RVOL below the high level. |
| InpColorHigh | clrDodgerBlue | Histogram color for RVOL at or above the high level. |
| InpColorExtreme | clrOrangeRed | Histogram color for RVOL at or above the extreme level. |
| InpShowLabel | true | Shows the text label with the RVOL of the last closed bar and of the live bar in the subwindow. |
| InpLabelColor | clrGray | Color of the text label. |
Point of Control (POC) and Value Area Lines for the Day
Builds a volume profile for every day and draws its Point of Control (POC) and the Value Area boundaries (VAH and VAL) as horizontal lines on the chart. The levels of the current day are updated as the day develops.
Symmetrical Triangle Detector - objective, non-repainting triangle rules with Gann box
Detects horizontal symmetrical triangles with objective, non-repainting rules (pivot zigzag, 3+2 touches, symmetry, no wicks or bodies breaking the lines) and draws them to the apex with breakout arrows and an optional Gann box.
Accelerator Oscillator (AC)
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.
MACD Signals
Indicator edition for new platform.