powered by
Calculates the negative volume index, uses closing price of the time period
nvi(df)
Returns a 1 x # of columns in df dataframe
Dataframe with price data.
nvi(tail(SPYdaily, 200))
Run the code above in your browser using DataLab