There are some Metatrader Auto Trading modules I found online at www.fxalgotrading.com -
They've got some sort of Auto Trendline trading system and also a handy pivot program which you automatically calculates and displays the pivots on the loaded chart.