Hi,

I'm trying to calculate the momentum of XIV over the past x number of days, momentum being the percentage increase or decrease in the price of the security over the specified period.

The MomentumPercent indicator appears to be intended for what I'm trying to achieve, but when logged it always seems to return a value of 0.

Can anyone help me out?

Thanks!