And to add, if you want a maximum of 5 bets you could try to add the following condition, assuming your bet is 3% of your balance:
and Trigger Expression funds is equal or greater than balance*0.85
I have this "mylastfootballaction" timer (credits to martinsteiner) to make sure that the balances are updated after a bet before we place a next one, as mfpro isn't very fast in updating that. Kind of a legacy from when I was laying with the whole bank, but I kept it in. You could lower it to 60 seconds or so.
About your plan to have a maximum number of 5 bets, I don't think that's a good idea, but your call. You could hit a 0-0 in those 5 bets while possibly not having layed in 20 other matches where goals were scored in all 20.
I delete all U21 etc, Reserve and second team matches as I believe that match odds are hard to determine for those matches.
If only I could get the "eventName" I would throw away all French, Italian, Portugese etc matches as well.
Cheers.