Press X on your keyboard to toggle autopilot level,

Ctrl-X to toggle autopilot angle, and Alt-X to toggle autopilot climb. 

When autopilot level is on, the cockpit beacon will be yellow, and autopilot angle and autopilot climb will display a red beacon.  The beacon light is off if no autopilot is engaged.