Pages:
Actions
  • #1 by Jacobj_DK on 06 Feb 2013
  • Hello, I'm new here. I keep having the same problem developing triggers.

    Using MFPro 7. How do you configure a trigger to have same unmatched amount at different price levels, independent of the action in the market?
    Example:
    One trigger backs at lay_price of 10£
    Another trigger backs at lay_price+l_tick of 10£
    Third trigger backs at lay_price+l_tick+l_tick of 10£

    Suddenly trigger one gets matched, and the trigger should back a new bet at lay_price of 10£. How do you configure this? I cannot use "bu_backa" =0 as a trigger condition,
    since bu_backa adresses all of the unmatched back bets (>0).. I need som kind of "bu_backa" with price identity?
    Sincerely hope someone can help me out here. In advance thanks a lot!
    Kind regards
    Jacob
     
  • #2 by mcbee on 06 Feb 2013
  • hi
    set the trigger to no more often than 1.00 sec (if you want to limit the amount of bets then use specific number of times)
    with the condition
    and selections back unmatched is equal to 0
    this will keep checking to see if you have a unmatched bet, if not then it will place a bet

    USE TEST MODE AS IF YOU DO IT WRONG YOU WILL HAVE MULTIPLE BETS GOING OUT

    mcbee
  • #3 by Jacobj_DK on 06 Feb 2013
  • Hi, thanks for taking your time, and thanks for your help.

    I'm afraid I'm not making myself clear about the issue. Using "no more often than 1 sec." will only triggger, if all my backs are matched. Because only the first bet at lay_price is matched, but my back at lay_price+l_tick and lay_price+l_tick+l_tick are not, "selections back unmatched" is still greater than zero... Using this condition trigger one will therefore not trigger?

  • #4 by MartinSteiner on 06 Feb 2013
  • Use

    back_unmatched is less than 30

    instead. Using this back unmatched condition makes sure that your trigger adds partly matched bets again.

    Use some heuristics to split the stake between your 3 back triggers. e.g. each back action gets 33% with formula (30-back_unmatched)*33/100 in stake field of all 3 back triggers, or any other percentage ( 50% for lay_price , 30% lay_price2  20% for lay_price3 )

    I hope this is useful for you.
    Martin
  • #5 by Jacobj_DK on 06 Feb 2013
  • Brilliant! Solves my problem. Thanks a lot for your help
Pages:
Actions