This bot did exactly this, but could do arb over more than 3 points.
There was a time, when triangle arb worked great, but btc-e, where I
mainly traded, became really crowded with bots later, and it seemed
to me that some had better access than other...so no more chance for
arb profit... :-(