Rate of Change coding

Can somebody help with a rate of change script, effectively what I want to do is use rate of change over say the last 100 days of a univierse of stocks and then rank from highest to lowest, basis the rate of change, that way I can look for certain stocks to trade.

thanks

Hi Tim,

Check out the free Introduction to Scripting videos to learn how to get started with scripting, but if you type ‘rate’ in the Script Editor window it tells you to use the ROC() function for Rate of Change. Once applied, click on the text to change the bars to 100:

Capture

You can then add to a watchlist column and sort (and even change the cell colours by right-clicking on the column heading under Custom Labels).

Capture