How to have a list of stocks using Rate of Change (ROC) over a 100 days ?

Kindly provide AFL code to have the list of stocks using rate of change roc over a 100 days period from highest to lowest, also mention the closing price alongwith name of Industry/ Sector to which stock belongs.

The solution is in the Users' Guide:

https://www.amibroker.com/guide/h_exploration.html

https://www.amibroker.com/f?addcolumn
https://www.amibroker.com/f?roc
https://www.amibroker.com/f?setsortcolumns