The direction of your solar fence charger should be towards the south. The aim is to keep it in such a direction that it can have maximum solar power interaction time, and that is possible when you set its direction toward the south as the sun rounds from the southern part of the sky. Keep the panel on 45 ̊ as that is the most efficient angle for a solar panel. Use the best solar panel angle calculator for reference.