Pages:
Actions
  • #1 by racepro on 24 Mar 2014
  • Hi,
    How can I create a formula to distribute loss on a specific back trigger ?
    example:                           Amount
    Back Fav  trigger      Nadal  5.00
    Back abc trigger      Murray 6.50
    I want to distribute loss on Murray
    Is it a remember command?
    My existing trigger dist loss on Nadal
    Thanks for your help
    R
  • #2 by MarkV on 25 Mar 2014
  • Hi
    In the distribute loss trigger use one or more of the following conditions:
    and trigger Back abc number of runs is greater than 0
    and trigger Back fav number of runs is equal to 0
    and selections index is equal to 2
    and selections trigger expression bm_backa is equal to 6.50
  • #3 by racepro on 25 Mar 2014
  • Hi Mark,
    The last one seems perfect.
    I would use 'not equal' to 5.00
    Thanks/Cheers
    R
  • #4 by MarkV on 25 Mar 2014
  • Hi
    You might have problems with the last back matched amount if the back bet is partially matched, or matched in more than one chunk. I think the number of runs condition is best. 
  • #5 by racepro on 25 Mar 2014
  • Yes, good point.
    Thanks
    R
  • #6 by racepro on 25 Mar 2014
  • Mark,
    Still a bit confused.
    The Back Fav trigger may or may not have fired.
    If it hasn't fired then no problem as it cannot distribute loss on that bet.
    So I can't use the condition:
    'and trigger Back fav number of runs is equal to 0'
    Anyway I can't see how that condition can prevent distribute loss on Bet Fav trigger.
    I am trying to get the program to ignore any back bet on Bet Fav trigger
    and instead distribute loss only on back abc trigger.
    hope that is clear
    Thanks
    R
  • #7 by MarkV on 25 Mar 2014
  • Hi
    It is: trigger abc number of runs is greater than 0

    You can also do remember as you mentioned earlier:

    in the backing abc trigger:
    add a remember action, name abc_market_parent_id

    in the distribute loss trigger:
    first matching selection
    conditions:
    and global user variables abc_market_parent_id are set
    and selections index is equal to abc_market_parent_id_sel_id

    correction - last condition should be:
    and selections index is equal to abc_market_parent_id_sel_index
  • #8 by racepro on 25 Mar 2014
  • Thanks Mark, This looks more substantial and will test it over the
    next few days/weeks
    Cheers
    R
Pages:
Actions