Okay well let me know how that works out for you when you get your 1099 statement from your broker and it shows all of the disallowed wash sales totaling hundreds of thousands of dollars. You cannot use those against your gains
All this stuff about cost basis is absolute trash. Look at your 1099 statement. Look for the Big W next to your trades. That Big W inhibits you from being in the next lowest tax bracket