Trade Volume Index
TradeVolumeIndex(Vector, Minimum Tick Value)
TVI(Vector, Minimum Tick Value)
The Trade Volume index shows whether a security is being accumulated or
distributed (similar to the Accumulation/Distribution index).
When the indicator is rising, the security is said to be accumulating. Conversely, when the indicator is falling, the security is said to being distributing. Prices may reverse when the indicator converges with price.
Minimum Tick Value: 0.25
set BUY = TVI(CLOSE, 0.25) > 0
Evaluates to buy when the Trade Volume Index is in positive territory.