Is the flashing light obligatory?

No, it is not an obligatory requirement according to current standards. Nevertheless, we would always recommend installing a warning beacon to indicate when a gate is moving.