- Save currentSize before it becomes 0 in external closure detection - Use sizeBeforeClosure for P&L calculation instead of trade.currentSize - Prevents /bin/bash.00 P&L for TP2 exits when position closes externally - Ensures win/loss analytics counts TP trades correctly