He is showing a substitution is being made. The number on the board indicates the number on the back of the players shirt to show who is coming on to replace the person who is coming off.
He was signalling a substitution. The red number is the player coming off, the green the player entering the game.