What is the right method to calculate Relative Strength Index (RSI) for incoming real time data?
use Current Gain = (Price at 05:05) - (Price at 05:00)

so at 05:59 it should be almost exactly as the new level at 06:00