Buddy, the trigger is working, though, it has some issues.
She is entering odds higher than the limit. And often make several bets at the same time. She needs to run her bet only when the race starts and not before.
Give the result of the race, apply or not the martin gale.
I need to set a maximum and minimum Odds for entry into the market and always be posted an in live bet, you can set to put at the beginning of the race or wait for the first horse to reach that odd maximum.
Summing up:
ODD Minimum to enter:
ODD Maximum to enter:
Always place a bet in REAL TIME when the race is already set.