Just looked in on these last few posts and spotted your last paragraph, you are indeed right about signals for this and there's another example that does exactly that which you can download from hereiggypop37 wrote: ↑Sun Mar 14, 2021 4:51 pmin theory back the likely winner should go on in the last few seconds anyway, at least the original version did - most of the time. I have had a very low odds-on fav where the likely winner bet went on before half - distance and it then got turned over right at the end.
There is a database somewhere showing typical times for races at different tracks. In theory you would have a different piece of automation for every race length at every track - certainly for sprints - and you could time it so the rule was active after a certain time eg last 1/4 of or 1/5 race in play time.
as regards 2 runners there at the end I think Dallas said to put a condition on second placed horse being over 2.00 or similar for your final bet to go on.
but its very hard to cover all eventualities ...
as regards checking to see if fav has been the fav all race that is more tricky. probably best to do it via signals - somehow ... Maybe better minds than mine can have a think
viewtopic.php?f=52&t=15573
It looks from 10secs into a race but you can edit that to start looking at the off or pre-off or whenever you want
Also 2nd post of this thread has a spreadsheet with the standard times for all distances and courses
viewtopic.php?f=52&t=11627