Author Topic: Can i set triggers on a timer.  (Read 648 times)

Tags:
  • All members
  • Posts: 6
Can i set triggers on a timer.
« on: 24 Sep 2019, 08:30 »
Hi there, is it possible to place a bet a certain amont of seconds ater conditions have been met and only if the conditions are still met after the timer has run. 

  • Moderator
  • Posts: 3597
*
Re: Can i set triggers on a timer.
« Reply #1 on: 24 Sep 2019, 10:02 »
Hi
Yes certainly.

2 triggers:
1st trigger has all your conditions but instead of betting it writes to action log
in this trigger add a second action to set a user variable called timer, value: now_time

2nd trigger, identical conditions to 1st trigger, and this is the betting trigger, so remove the set user variable timer action
in this trigger add the following conditions:
and trigger 1st trigger number of runs per selection is greater than 0
and selections trigger expression (now_time - timer)/ mf_second is greater than <your waiting time in seconds>

This trigger example demonstrates it.
  
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 6
Re: Can i set triggers on a timer.
« Reply #2 on: 24 Sep 2019, 10:24 »
Thankyou very much for such a quick response. It's very much appreciated and i will give it a try today. Thankyou once again.

 

Please note, BetFair is seems to be currently OFFLINE