Hello!
I am attaching triggers designed as per your instructions. Use the constants to adjust the triggers, e.g. the size of bet or the length of the loss recovery cycle.
Now the triggers will only check for 5 types of races (by the name of the corresponding venue) as there is a limit to the number of settings you can order for a free trigger. If you require to key in more venues, you will have to pay extra 6 GBP, so that we could compile the full list of venues and add them all to the triggers.
You can change the names of these 5 venues in the constants. Also, you can figure out how to add new venues on your own, by looking at the laying trigger's conditions.