Author Topic: Condition for first bet after close  (Read 2113 times)

Tags:
  • All members
  • Posts: 829
Condition for first bet after close
« on: 18 Nov 2014, 15:50 »
Hi,
I am a bit stuck on what should be a simple thing.
I am trying to ensure that a trigger is the first bet after the closing of the block.

It should be something like this:
'and every selection's number of runs is equal to 0'
help appreciated
many thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Guest
Re: Condition for first bet after close
« Reply #1 on: 18 Nov 2014, 18:01 »
Hi,

Pehaps put the condition in the other triggers "and Trigger 'Theoneiwanttofirefirst' number of runs is equal to one"  ????

Larp

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Condition for first bet after close
« Reply #2 on: 18 Nov 2014, 20:00 »
hi
if you have more than one betting trigger, then
and trigger (name of your first betting trigger) number of runs is equal to 0
and trigger (name of your second betting trigger) number of runs is equal to 0
and so on
in your second/more betting triggers
and trigger (name of your first betting trigger) number of runs is equal to 1
ans so on

mcbee
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: 829
Re: Condition for first bet after close
« Reply #3 on: 18 Nov 2014, 21:05 »
Hi Larp,
Yes that is some good thinking material :) Well done
The problem was a little more complicated as there
are two lots of firing order as per below:

Anyway, here are the trigger conditions for anyone interested

Closing Block
Trigger A number of runs is greater than 0
Trigger B number of runs is greater than 0
Trigger C number of runs is greater than 0
Trigger D number of runs is greater than 0

The order of firing is either of the following two methods.
A
B
C
D
  OR
C
D
A
B
At the moment the C trigger sometimes fires out of sequence as below:
A
C
B
D
Instead of
A
B
C
D

For the A,B,C,D order I can add the condition
'and trigger B number of runs is equal to 1
OR  (for the C,D,A,B  I can add as per Larp's suggestion.
'and trigger D number of runs equals 0'
'and trigger A number of runs equals 0'
'and trigger B number of runs equals 0'

Cheers
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: Condition for first bet after close
« Reply #4 on: 18 Nov 2014, 21:09 »
Hi Mcbee,
Thanks, I have just spotted your reply.
It is similar to Larp's suggestion or even the same.
At least it does work.
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE