Trade in: Reveal first or wait till the end?

Hi all - I have a question about tactics when trading in a car. I have a truck with a market value basically even with what I owe on the truck. So trading it in, they would basically pay it off and take it off my hands.

I’ve been shopping for a Lightning for a few months but haven’t found a price I’m comfortable with, although I’ve been close. In negotiating with various dealers, I have not mentioned that I’d be trading in a truck. Instead I’ve been trying to get the lowest OTD price. Is this a mistake?

For instance: Let’s say they offer me $54,000 OTD. But I am aiming for $51,000. Can I use my trade-in as incentive for them to lower the price by asking them to offer me $3k over market value for my current truck? Is this a tactic that is typically successful?

Or is there a scenario when it’s better to disclose that I am trading in my current truck from the very beginning? Do dealers prefer to overpay for a trade in rather than throwing more cash on the hood?