Deductions & credits

Thank you so much for the detailed response. If you don't mind I have one follow up question. 

I have 4 trading accounts:

I made most transaction on the first one, which has most of my wash out sales with gains (A).

The second account I sold mostly my RSU's and few option trades with some gains (B).

The third account I did option and stock trades, both long and short terms with some gains (C)

The fourth account there was loss (D).

 

Can I just elect account (A) for MTM which has most of wash out sales? If so can the wash sale from (A) offset the gains from (B) & (C) ? Or do I need to elect all accounts for MTM ? Also, if there is excessive Wash sales from (A), (B), (C) combined, will it offset the taxes on my W2?

 

NOTE: Last year(2020) I did MTM election for 2021, but I didn't filled any form 3115.

 

Thanks again.