Pages:
Actions
  • #1 by mikethebet on 21 Mar 2016
  • Hi
    In the attached trigger can anybody tell me why the counter with
    user variable nu_b and the condition selections trigger expression
    nu_b is equal or less than 5 is not working?
    I am trying to add one to the variable nu_b for every bet placed and then
    when a position is 'greened up' take one away from nu_b.
    Thus ensuring that the number of bets with open positions is limited to the
    number set in the condition.
    Thanks
    Mike
  • #2 by MarkV on 21 Mar 2016
  • Hi
    The program has bet count variables, matched, ummatched, back, lay etc.

    why not use in the betting trigger:
    and selections trigger expression allbets_bm_num-allbets_lm_num is equal or less than 5

    in answer your original question I thought you wanted no more than 5 bets per market, but I can see from your trigger it is only one back and one lay.
    If you still want to use a counter, I think you need to set it to zero one time only and then update it globally, but the above is much more efficient.
Pages:
Actions