I use a combination of firewall filter and the “P2P” category of a dns blocking service:
See http://forum.mikrotik.com/t/how-to-block-torrent-100-only-2-lines-it-is-solved/66890/1 and https://www.safedns.com/order-safedns-online.
It’s not a perfect solution, but has worked well in practice.