SF - Negative volume index
Classic volume analysis indicator
Last updated
Classic volume analysis indicator
Last updated
Negative volume index (NVI) is an indicator used in technical analysis that gives signals about price dynamics based on negative volume changes. NVI helps to assess trend strength and potentially confirm price reversals.
The indicator represents two lines:
NVI;
NVI moving average.
NVI is based on the price movement depending on whether the current volume value is lower than the previous period.
If the volume does not decrease from one period to the next, the NVI remains the same.
NVI is calculated using the formula:
![![](../../.gitbook/assets/image (7).png)
NVI calculation formula
](https://sf-gitbook-images.s3.eu-central-1.amazonaws.com/assets/image+(7).png)
where NVI(t) - NVI at time t, volume(t) - trading volume at time t, Close(t) - closing price at time t.
The user has the ability to change the values of the following parameters:
Initial value - the starting value from which the calculation begins. This parameter affects the dimensionality of the scale. The default is 100;
Signal smoothing type - type of moving average calculated for NVI. Can take the following values: "SMA" (simple moving average), "EMA" (exponential moving average), "WMA" (weighted moving average), "VWMA" (volume weighted moving average), "LSMA" (linear regression moving average);
Length - moving average period.
The user has the ability to customize the graphical display of the indicator. Available for customization:
display colors and transparency of NVI, moving average, as well as filling of the contour formed by NVI and moving average (by default - if NVI is greater than moving average, the indicator chart is colored in green. if it's less than that, it's red. Line transparency - 0%, fill transparency - 50%);
type of line display. The standard display types available are TradingView.