The Tracer always follows the outside edge and is easy to avoid. Try to ensure it is within range when you complete the fourth corner box of the maze, making it easy to kill.
The Amidars all have a set movement pattern, which is detailed by the 'Amidar movement' on the title screen. They only move in 4 ways :
They will follow their current pattern of movement (a, b, c or d) until they reach the edge of the maze when they move round the edge of the last box they contact and continue with their new pattern. e.g. Up/right to the top right of the maze, round the last box and then down/left to the bottom left corner. Mastering their pattern of movement is the key to success!
If all Amidars are close to the bottom of the screen on the coconuts level, they will take a while to make it to the top. Use this time to clear as much of the top area as you can.
Remember you have three jumps available on each level so make use of them to get yourself out of a tight corner. Two quick jumps if used in succession will easily give you enough time to get well clear of any danger.