NEVER, ever, ever use a soldering gun (pistol) for any model railroad work.
NEVER, ever, ever use a soldering gun (pistol) for any model railroad work. It produces way too much uncontrollable heat. Your pencil will work okay, but you should really invest in a good soldering station if you have more than just a few feeders to install.
Except doorbell and thermostat wire aren't stranded, not that in 99% of model railroad applications should that matter. Lowes, and probably Home Depot carry 18 ga stranded on spools.
Edit: And, thinking about it, solid is preferred for feeders, assuming "feeders" means the wire that transfers the power from the bus to the rail.