So losses only count if realized but gains count against you even if you never made a penny off those unrealized "gains"? Not exactly equitable to say the least.
Discussion
No, my bad, I should not have used the word "realize" there. If you have a loss in year 1 (whether realized or not) and a gain in year 2 (again, whether realized or not), you can carry forward the loss from year 1 to year 2.