This is an attempt to mimic the CNN Money "Fear & Greed Index": money.cnn.com
It's far from perfect, because the exact numbers can be a bit far off. Still, the highs and lows are quite on target. Alas, CNN does not give away too much information on how the index is calculated.
Feedback is most welcome.