• #1 by paul hill on 29 Apr 2021
  • Hi.. New user here..

    Could someone please tell me if this in-play horse racing trigger can be created?

    Lay of 3rd ranked in-play favourite when the 1st ranked in-play favourite hits odd of 2 and below..


    If that horse was to win the race (lose my trade) to then go about getting the loss back next race when same situation as above happens

  • #2 by MarkV on 29 Apr 2021
  • Hi and welcome

    Yes, there is nothing complicated about your trigger.

    If you fancy having a go yourself I would suggest this example staking plan trigger as the basis:

    and modify the laying trigger  to:
    selections: third favourite  
    and the trigger condition would be:
    favourites back price is equal or less than 2

    Or you can request a trigger to be written for you here.

    Please test triggers in test mode or using small stakes until you are happy with how they work.
  • #3 by paul hill on 04 May 2021
  • Does this look correct mate? I want it too trigger inplay
  • #4 by MarkV on 04 May 2021
  • Hi
    It looks like some parts of the trigger file are missing and I can't see some of the formulas in full.

    Attached is the simple staking plan for lay bets modified to lay third favourite in-play when the favourites back price drops below 2.00. The screenshot shows 7 races tested in Time Machine.

    Please note the trigger will lay the selection that is third favourite at the moment the favourites back price is below 2.00.

    Observation from testing: Although there is a limit for maximum bet size in the constant, you can see from the statement there were some high liabilities. You might want to play around with reducing the max bet size.

    I did not have a loss during this testing but I can confirm the loss recovery works ok. Please test all triggers in test mode.
  • #5 by paul hill on 05 May 2021
  • Thanks very much
  • #6 by paul hill on 05 May 2021
  • Im running the trigger you left for me and it wont fire for me?
  • #7 by MarkV on 05 May 2021
  • Hi
    Please check the program and trigger logs to see the reason why it does not fire. Are you betting below the minimum?

    If you have your settings correctly set up, sufficient test or real funds,  and have turned on triggers, the trigger should work. I have just downloaded it and it runs fine. Please see attached screenshot.

    In case you have not seen it here is a video showing how to load triggers:
  • #8 by paul hill on 07 May 2021
  • Hi mate.. I re-downloaded the trigger you sent me and all is working fine now and its doing exactly what i wanted so thanks for your help.. 

    I put it too run yesterday for most of the day and the results were encouraging to say the least except for the big liabilities when its trying to recover a loss from a loser..

    Is there a way you can think of to make it better? Maybe spread the recovery over more races although as of yet its not had 2 losers in a row which would be a problem with a very high liability on the 3rd Lay
  • #9 by MarkV on 07 May 2021
  • Hi
    Here are some staking plan triggers you can look at which will recover a loss in steps

    I'm not sure if you are testing purely in test mode but you should be placing some real bets from time to time to keep Betfair happy. The second last paragraph in this article explains more.    
  • #10 by paul hill on 07 May 2021
  • I have been using test mode a lot.. Would it be ok to use small stakes do you think? Like 10p or 20p..

    Do Betfair mind that?
  • #11 by MarkV on 08 May 2021
  • Hi
    You should generally bet at or above Betfair's minimum stakes. Betfair have a mechanism in place to reject small lay bets. The technical details are in the helpfile section: Settings > Betting Options > Small bets 
  • #12 by paul hill on 14 May 2021
  • Hi mate.. Iv been running this for a few days and its doing good but i noticed today that after having a run of 3 losses last night the first bet today should have still been a recovery bet but it didnt and went back to the initial stake?
  • #13 by MarkV on 15 May 2021
  • Hi
    Was MFP restarted in the morning? The trigger as stands does not retain losses info if the program is shut down and restarted. A modification can be made to the trigger to retain recovery values on shutting down. If you wanted this amendment you would need to put in a trigger request.
  • #14 by paul hill on 16 May 2021
  • I did leave it on but i think my laptop might have done a update whilst i was away because i had to log back in when got back to it the next day