sun tracking system

hey guys,
i'm using 4 LDR ,two linear actuators and arduino to control the position of solar panel
i need a help to write a fuzzy ruled code to control this panel.
i just want to compare the ampere between up, down LDR and east, west LDR to get the highest on to make the pane get the max power.

Shield the LDRs so that the opposite pairs only get an equal amount of sunlight when the panel is facing the sun. Then just move the panel towards the LDR that is getting more sun. There is no need for a fast response so any sort of simple code should be sufficient.

...R

ok thank you