Laying On The Favourite In Place Markets
Lay 5 EUR on the favourite in place markets, if its price is below 2.0. If the bet lost recoup the losses in the next market until the win, then revert to 5 EUR.
The "Amount" field of the trigger contains an IF functions:
IF(last_won>=0, 5, last_lost)
It checks whether the result of the last settled race was positive (last_won>=0), and if yes, it lays 5 EUR, otherwise it lays the whole amount lost since the last win (last_lost).