Differential algorithm in the real-time domain?

How to make my differential algorithm work in the real-time domain?

DE.nb (43.9 KB)