Move...
Yeah...
You either constantly keep them on screen, or you just keep moving. At the same time, you have to kinda remember with the back of your mind where each one is (Trojan or Slag Guard). Then, stay on your toes and expect them to charge any moment.
The best solution is to have allies with situational awareness though, but that's just getting other people to do your job.