You can actually use all your losses, even from multiple properties, to offset a big gain.