signal

A signal is a sign or command to do something.
 
When the signal changed from red to green the train started moving.