Pages:
Actions
  • #1 by mikethebet on 24 Feb 2016
  • Hi
    I have added the attached to a trigger that was running fine in order to control the number
    of bets it can open at any one time.
    However it appears to have stopped any triggers firing at all.
    I have a condition in the second part stating the number of runs of the back trigger is greater than 0.
    and on my back trigger the condition
    selections trigger expression  bc-hist_count  is less than al_b
    Can anybody see anything wrong?
    Many thanks
  • #2 by MarkV on 24 Feb 2016
  • Hi
    If you want to limit the number of open (you did not say matched or unmatched) bets in a market:
    markets number of unmatched back bets is equal or less than 5
    markets number of matched back bets is equal or less than 5
    same for lay etc...

    or all bets in the program, please read in the help file in the general variables section about allbets_
    example: selections trigger expression allbets_num is equal or less than 5

    or, as in your trigger, you can update a counter:
    in the betting trigger add a second action:
    set user variable, name bc, value bc+1

    condition in the betting trigger:
    and selections trigger expression bc is equal or less than 5
Pages:
Actions