Hey mate, not 100% but it sounds like you might have a switch that is designed for a earth switch system where as yours sounds like it is possitive switching. So I would suggest to check and see if one of the wires you have at the switch is live (with high beams on), if so you can try having the live wire joined to the ground pin of the switch and the other wire joined to the relay, then try (carefully) joining an earthed wire on to the power pin, and as for the acc pin loop a wire from it onto the relay pin along with the other wire and see how you go, but if the light in the switch is LED then it might not work. Other than that you might need to rewire the relay so that you have the power from the high beams going onto one side of the relay where you now would have a constant earth and the wire going from the relay to the switch have it connected to the relay pin still aswell as still having the acc pin looped to the relay pin but you will need to attatch the earth pin to an earth and have the power pin connected to a power feed (something that is switched on with accessory should be ideal). Well I hope this helps (and isn't too confusing) I know what I mean but having trouble trying to write it down. Good luck.
Brendon