+1 888 340 6572

# TVI

Article/Author: Origin: http://www.traders2traders.com. Coded by: Ernie Bonugli, Jim Johnson Author: William Blau

File Includes:
Function - TVI
Function - DTI
Function - HMU
Function - LMD
Function - MDI
Function - TSI
Function - DXAverage
Function - TXAverage
Indicator - *DTI Signal
Indicator - DTI
Indicator - Ergotic_CSI
Indicator - Ergotic_MACD
Indicator - Ergotic_MDI
Indicator - Ergotic_TSI
Indicator - Ergotic_TSI-2
Indicator - Ergotic_TVI

Category: Functions > TVI

Description:

Это одна из техник, описанных в книге William Blau "Momentum, Direction and Divergence" (1995). Если Вы хотите узнать больше, мы советуем прочитать его книгу. His book focuses on three key aspects of trading: momentum, direction and divergence. Blau, who was an electrical engineer before becoming a trader, thoroughly examines the relationship between price and momentum in step-by-step examples. From this grounding, he then looks at the deficiencies in other oscillators and introduces some innovative techniques, including a fresh twist on Stochastics. On directional issues, he analyzes the intricacies of ADX and offers a unique approach to help define trending and non-trending periods.

Inputs:
r
s

EasyLanguage Code:
```{TVI = TICK VOLUME INDICATOR, BY BILL BLAU.
DOUBLE EXPONENTIAL MOVING AVERAGES ARE USED.
FORMAT: TVI(R, S) WHERE
R = PERIOD OF FIRST EMA,
S = PERIOD OF SECOND EMA.	}

INPUTS: R(NUMERICSIMPLE),S(NUMERICSIMPLE);

VALUE1=DXAVERAGE(UPTICKS,R,S);

VALUE2=DXAVERAGE(DOWNTICKS,R,S);

IF VALUE1+VALUE2<>0 THEN

TVI=100* (VALUE1-VALUE2)/(VALUE1+VALUE2)

ELSE

TVI=0;```