railway signal
英[ˈreilwei ˈsiɡnəl]美[ˈrelˌwe ˈsɪɡnəl]
A signal is a mechanical or electrical device erected beside a railway line to pass information relating to the state of the line ahead to train/engine drivers (engineers in the US and New Zealand). The driver interprets the signal's indication and acts accordingly.