The Tick Volume Indicator was invented by William Blau and has been published in his book "Momentum, Direction and Divergence" (1995, page 43).
The indicator starts with separating the upticks and downticks in each price bar. The resulting arrays are smoothed with DEMA (two-pass EMA with periods r and s subsequently). The raw TVI is calculated with the following formula:
DEMA(upticks) - DEMA(downticks)
TVI_Raw = 100 * ---------------------------------
DEMA(upticks) + DEMA(downticks)
... and the final TVI shape is made by additional EMA smoothing with a period of u.
Usage:
Besides using TVI for divergence, I have found the change of TVI slope to be a very useful and precise proxy for change in price direction, especially in periods of high volatility in short timeframes.
The indicator was implemented in MQL4 by Profitrader many years ago, using all available buffers for calculations and plotting a single line. I have found a few colored histogram versions across the Net, all of them called the tvi.mq4 via iCustom() and all repaint because of poor coding. So I decided to make myself a proper stand-alone histogram variant. 7 native buffers and 6 extra buffers (via arrays) are used. It will never repaint.

Полуавтоматическая торговая система СЕТКА
Система состоит из двух советников, один выставляет любую заданную вами сетку ордеров, а второй закрывает ордера при получении прибыли.
VR Setka
Стратегия основана на анализе дневной волатильности и трендового импульса. Основной фильтр — сравнение текущей цены закрытия дневной свечи с её минимумом и максимумом. Если цена закрылась выше минимума, рассчитывается процент роста; если ниже максимума — процент падения. Эти значения используются для определения перекупленности или перепроданности рынка. Дополнительным фильтром выступает направление предыдущей свечи (Close[1] > Open[1] или Close[1] < Open[1]), что помогает входить в направлении краткосрочного тренда. Таким образом, стратегия пытается ловить момент продолжения движения после отбоя от уровней.