Pages:
Actions
  • #1 by racepro on 08 Jan 2014
  • hi,
    I'd like to design a single trigger that will green up with an unequal profit that will service both a back and lay trigger.
    If possible to include the following.
    greenup with bias towards the favourite.
    example:
    Murray  1.80  1.81
    Nadal    2.40  2.42
    Back trigger places a bet on Nadal at 2.40
    attempt to green up for a one tick profit using the constants
    pr_profit1     Profit of the selection to bet on, in %   for the first favourite    80%
    pr_profit2     Profit of the selection to bet on, in %   for all other favourite's 20%
    Is it possible for one trigger to do that? or do I need one trigger for each player ?
    I'm just trying to make triggers run more efficiently.
    Thanks
    R
  • #2 by mcbee on 08 Jan 2014
  • hi
    this trigger will do what you require
    in the constants you can set
    bet amount
    Amount of profit for the selection       %
    Minimum offset in price ticks

    one trigger
    the example trigger will place a bet on the second fav and place a lay bet ready to be matched at your set tick amount

    please use test mode until you are happy with your results

    mcbee

    download the trigger below
  • #3 by racepro on 09 Jan 2014
  • Thanks mcbee,
    I'll test it out and come back to you in a few days
    having visitors over and busy for the rest of this week.
    R
  • #4 by racepro on 12 Jan 2014
  • Hi mcbee,
    I have to take a little longer to test this trigger as had family commitments this past week, but expected to be back on deck from Monday onwards.
    Cheers
    R
  • #5 by racepro on 13 Jan 2014
  • Hi mcbee,
    Referring to the trigger you sent   greenup unequal.mft
    Can I just duplicate it for a second player ?
    Plus add another constant 80% for fav ?
    Thanks
    R
  • #6 by mcbee on 13 Jan 2014
  • hi
    all you have to do is change the selections to All matching selections, then add the condition
    and selections rank is equal or less than 2
    for the first 2 favourites.
    or add the conditions to select different selections


    mcbee
  • #7 by racepro on 14 Jan 2014
  • Hi mcbee,
    I think you meant.   and selections rank is equal or less than 3
    So how can I green up with unequal profit on two selections
    with say 80% going on the fav and 20% on others. Do I need
    2 greenup triggers ?
    Thanks
    R
  • #8 by mcbee on 14 Jan 2014
  • hi
    Quote
    I think you meant.   and selections rank is equal or less than 3
    fo 2 favourites it is equal or less than 2
    here is a trigger that will give a higher percentage to the favourite.
    due to there been 2 seperate greenups, you will have to play about with the percent values to get exactly what you want.
    in the constants you can set
    Bet amount
    Amount of profit for the favourite
    Minimum offset in price ticks
    Amount of profit for the second favourite   

    please use test mode until you are happy with your settings

    mcbee

    download the trigger below
  • #9 by racepro on 16 Jan 2014
  • Hi mcbee,

    Testing the trigger on tennis and playing around with the percentages re unequal profit,
    however the result is generally opposite having set as follows: I set 80% for pl1 and 20% for pl2  could it be the variance in price between the two favourites ? The other problem could be betting on two favourites !!

    I'd like to change the back amount to balance up the bets a little and proffer the following solution if you could check it and modify where necessary.

    " IF(r_ticks(back_price-1, mot)*5>5,5/r_ticks(back_price-1, mot),default_backa) "

    The idea is to show max profit of $5.00
    Thanks if you could guide me once again
    R
  • #10 by racepro on 16 Jan 2014
  • Hi mcbee,

    I am having a problem with this formula you supplied:
    errors appear in the logs

    "11:52:40   Error in the trigger expression of price or amount for selection "Marin Cilic". "

    here are the settings:

    lay  Price     r_ticks(bm_backp,-mot)

    (bm_backa*(1 + ((100-pl)/pl)*bm_backp - ((100-pl)/pl)))/(1 + ((100-pl)/pl)*r_ticks(bm_backp,-mot) - ((100-pl)/pl))

    where 'pl' is set to 80 and 'mot' is set to 1 in constants

    If you can help, greatly appreciated as always.
    R
  • #11 by mcbee on 16 Jan 2014
  • hi
    i have just tried it again and no problems.
    what have you got your update list of bets set at, in the betting options.

    mcbee
  • #12 by racepro on 16 Jan 2014
  • Hi mcbee,

    To answer your question:
    The update list of bets is set to 3 secs and the update bets individual is not ticked.

    I have been trying to put the formula you supplied in a new trigger, but somehow I can't get it to green up. I still get the log errors re bet amount or trigger expression.

    can you please check attached to see where I'm going wrong.
    many thanks
    R
  • #13 by mcbee on 20 Jan 2014
  • hi
    looking at your triggers.
    it could be your lay trigger has no selection to bet on.
    you need to tell the trigger which selection that you want to use the bm_backp and bm_backa, or else the trigger will try to bet on a selection with no bet placed and will return an error in the amount/price.
    add the condition to the lay trigger
    and selections back matched is greater than 0


    mcbee
  • #14 by racepro on 20 Jan 2014
  • Thanks mcbee,
    Problem now solved
    Cheers
    R
Pages:
Actions