Yes, leave 'Basis for Gain/loss' and 'AMT basis for gain/loss' blank.
Once you enter Sales Price (trade in value), Cost and Prior Depreciation, TurboTax will calculate any Gain/Loss and report it on Form 4797 for you.
You can see the calculations on the Car and Truck Expense Worksheet when you download or print your return.