You need a rear light setup that identifies you as a bicycle and permits some distance estimation.
Use 2 lights with some separation. Use one of blink and one on solid.
I see some cyclists with 2 lights on blink, usually out of phase; you cant judge distance with this setup.
If you use a front light on blink, make sure the frequency is high enough to notice. Some slower blinkies can have over 1/2 second between light phases, long enough for a car to miss you.
Make sure that you have some light visible from the side (for junctions).