That's exactly right. There is a wire coming from the U post to one of your outside rails. This wire is attached to a lock-on somewhere on your layout.
So attach one Banjo wire to post D and the other Banjo wire to the insulated rail. The Banjo should work when the train passes.