Depends on how fancy you want it to be. You could use something simple like a Pict Ring and have it contain two elements: the first being the arrow up picture and the second being the arrow down picture. You can then set the value of the Pict Ring programmatically. You could also use a customized boolean indicator where you change the image of the "on" and "off" states. Just a couple of ideas.