Hi
there's an easier way by using a text file with the selection names and your multiplier
please see the help file section importing selections for auto trading and
this article
so your text file looks like this with a tab between the selection name and multiplier:
"Horse 1" 20"Horse 2" 10"Horse 3" 50the multiplier variable will be imported_1
in your trigger in the amount field use: stake*imported_1
where stake is your default stake amount
if your text file is updated frequently it can also be automatically re-imported