title: roc() is not working in pine script version 5
body: <p>I'm new to Pine script, though i'm trying to write a script to list the High beta stocks in &quot;NIFTY&quot;.
  Someone could help me to find a way to use ROC in Pine script V5, i was trying to use the script from one of the trader online, but now its outdated version. i tried to figure out few functions like study as indicator()
  security as request.security and so on.</p>
  <p>i'm getting below error while using '''roc(ast, 1)''' here ast is one of the requested security.</p>
  <p>&quot; line 11: Could not find function or function reference 'roc'.&quot;</p>
  <p>Although there are few websites which will give lists so easily i just want to learn this pine script.</p>
  <p>Thanks in advance!</p>