hi
i am sorry but your trigger constants have no values, so the triggers will not work.
i need you to include the values in the constants that you used to test the triggers, so that i can recreate the problem correctly.
also
your close block trigger has no conditions, so it will constantly keep closing before the back bet trigger has chance to activate again.
maybe you should have the condition
and selections number of matched back bets is equal to number of matched lay bets
mcbee