Script for showing Rate of Change over period

Hi Guys

I have created a watchlist which displays the default Change (%) column in 1 year timeframe. However, I want to write a script that allows me to create a column in my watchlist that displays the Rate of Change (%) of each stock listed over the last 100 day period. Could you help me please

Hi Tonia,

You can use the ROC() funciton to achieve the result you’re after.

In the case of a 100 bar ROC you can use the following script in a Watchlist:


The result would look like the following: