I see some have a wire that is AC that goes to the headlights ,maybe that's what the red wire is ,l haven't found a diagram with these same coloured 4 wires.

Cheers
Max.