It detects movement back and forth (5)
I believe the answer is:
radar
'back and forth' is the definition.
I don't understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for radar that I've seen before include "Method of detection" , "Early warning system" , "Kind of gun" , "Electronic detection system" , "Remote detection system" .)