I'm trying this:
study("Hourly Returns")
close_prev = close[1]
return = return[1] + ( (close_prev - close) / close *100 )
plot(return)
But it displays nothing on the indicator.
The return[1] term is the problem, without that it shows the daily return but I'm trying to figure out how do a running total