Deductions & credits

if you are planning to sell certain stocks,

the stock you sell must be exactly  the triggering shares that caused the wash sale in the first place.

Otherwise the disallowed loss, which is carried by the triggering shares won't help you..

you have to tell your broker ahead of time if you want to sell specific shares.

sometimes just setting Last In, First out, ahead of time, is sufficient but it depends on how much trading you did.

So, not so simple.

 

@techie353