Alex,
A while back I know that JonnyT had set up a completely automated forex trading system for use on IB. However, over time I think that he found it to be less than he wanted profit wise so he stopped and has not been seen for a long time on here.
The point being that it is possible. What rules are you wanting to set and execute ?
Paul