Hi
Attached please find the update.
New Constants:
price_dif_ticks match at best price if lay price is greater than back matched price + price_dif_ticks
vol minimum matched volume in the market
Testing notes:
If you have an unmatched back bet waiting and mbo is reached and the price changes, it will cancel the unmatched bet and not bet again (no bet).
Distribute loss will match the lay bet at best price, and then red-up. You need to have the setting Allow Small Bets ticked.
The more markets you are monitoring, the slower the refresh rate. You can disable the Set refresh trigger block and use your own refresh rate.
I think you should make mso longer than 2 minutes.
The different OU markets move at different rates. e.g. U5.5 will move down quicker in the first 2 mins than U2.5.
Please test the trigger in test mode. If you want more realistic chance of being matched you will need to use real mode. Please use small stakes (I have preset the ta constant to 4.00)
Because this trigger uses lots of repeating triggers for the fill or kill (always at best price), it is recommended that you use a “circuit breaker” in case of any error. e.g. Settings > Betting Options > Banking > Stop automated betting etc….