Added buy/sell markers, Improved transaction detection