I use two pieces of aircraft cable with hooks on each end. One hook goes around a seat rail, and the other goes through one of the cargo hooks in the rear of the bed of the truck. One cable on each side. Ratchet strap goes from a front cargo hook through the front wheel to the other front cargo hook.
I built a little slack in the seat rail cables. When I draw the ratchet strap tight, the bike moves forward and places a little tension on the seat rail cables.
I've been using this system for several years. It works.