"slap yourself five"

To "give someone five" is to slap hands together in a congratulatory gesture.

Most often it is heard in the context of "gimme five" or "high five" (the act of slapping the palms together over the heads of the two participants). In this case, to "slap yourself five" would mean to congratulate yourself. Cf. "give yourself a pat on the back."

Edit: See also: "Give me five" and "slap me five": any difference?