(A) When any person driving a vehicle approaches a railroad grade crossing, the person must exercise due care and caution as the existence of a railroad track across a highway is a warning of danger, and under any of the circumstances stated in this section, the driver shall stop within 50 feet but not less than 15 feet from the nearest rail of the railroad and shall not proceed until he or she can do so safely.
(B) The foregoing requirements shall apply when:
(1) A clearly visible electric or mechanical signal device gives warning of the immediate approach of a railroad train.
(2) A crossing gate is lowered or a human flagman gives or continues to give a signal of the approach or passage of a railroad train.
(3) A railroad train approaching a highway crossing emits a warning signal and the train, by reason of its speed or nearness to the crossing in an immediate hazard.
(4) An approaching railroad train is plainly visible and is in hazardous proximity to the crossing.
(5) A railroad train is approaching so closely that an immediate hazard is created.
('73 Code, § 21-121)