Watch carefully that borrowing from your margined account does not make it imminently vulnerable to maintenance calls. Don't confuse optimism and hope with greed and complacency. Be willing to reduce exposure before the last minute. Better to give up some potential extra gains in favor of risking even larger potential losses. Continue to develop a positive and accepting attitude toward paying taxes and creative temporary borrowings as a viable alternative.
Taxes represent a lien on realized gains, a cost of winning.
Rather than trying to avoid some taxes by going through all sorts of gyrations, try to make such large gains that even large taxes become less important to the total results. Whether we are talking millions, thousands or hundreds, the principle is the same. Of course, the path to fortune-building through speculating in stocks is often not a smooth one. There will be setbacks. Patience and perseverance can overcome seemingly disastrous setbacks, which years later become old-timer anecdotes.