Here is a series of scripts to login and execute trades automatically from Oanda. It uses hotkeys at the moment but can be modified to read a text file or TCP link. Error detection is done, such as trade rejected, which is flagged. One would then have to manually enter the trade, but this happens very rarely.
http://www.autoitscript.com/forum/index.php?showforum=2
http://www.autoitscript.com/forum/index.php?showforum=2