How to get RSI of the last BAR?

thats how i do it

or

,1

,2

for confirmation

Thanks to all of you.

Thought that was wrong.