Author Topic: Basic in-play football (soccer) trigger  (Read 9936 times)

Tags:
  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #15 on: 17 Feb 2025, 13:26 »
Excellent, thanks Mark! I'll test it this afternoon.

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #16 on: 17 Feb 2025, 13:49 »
It's only triggering bet1 Mark. I can't see anything obvious.

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #17 on: 17 Feb 2025, 13:53 »
It's ok, I see what it's doing. I need all 3 bets on the same overs market. It looks like it's checking that doing bet2 only if there's another goal scored, etc. So I've removed this check and shall retest.

Thanks Mark

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #18 on: 17 Feb 2025, 14:21 »
Hi Mark,

I'm attaching my revised version. The overs bets seem to be placed twice. The first half goals bet is ignored. Please advise.

Many thanks, Mark

  • Moderator
  • Posts: 3675
*
Re: Basic in-play football (soccer) trigger
« Reply #19 on: 17 Feb 2025, 15:44 »
Hi
I've re-written the trigger, please test in test mode 
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #20 on: 17 Feb 2025, 16:22 »
Brilliant, thanks so much :)

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #21 on: 18 Feb 2025, 14:50 »
This seems to work a treat Mark :) Can I just check, the trigger block will only activate if I have selected the markets relevant to that trigger? For example, if I don't add a fixture's first half goals markets to 'my markets' then the first half goals trigger won't activate. Is that right?
 

  • Moderator
  • Posts: 3675
*
Re: Basic in-play football (soccer) trigger
« Reply #22 on: 18 Feb 2025, 15:26 »
This seems to work a treat Mark :) Can I just check, the trigger block will only activate if I have selected the markets relevant to that trigger? For example, if I don't add a fixture's first half goals markets to 'my markets' then the first half goals trigger won't activate. Is that right?
Hi
Yes that is right the two triggers are independent. But if you set a match minute less than 45 for the second half trigger (OU markets) it will fire at that time.

Glad its working.  
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #23 on: 23 Feb 2025, 11:19 »
Thanks again for your help with the triggers Mark, everything is running smoothly and I have extended my license. If I want to filter out games where the difference between the current scores is more than 2, how do I do this please? For example, 1-3 or 2-1 is ok but 1-4 or 3-0 is to be excluded.

Many thanks, Mark

  • Moderator
  • Posts: 3675
*
Re: Basic in-play football (soccer) trigger
« Reply #24 on: 23 Feb 2025, 14:03 »
Hi
Add a condition:
and selections trigger expression ABS(market_score1 - market_score2) is less than 3
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #25 on: 26 Feb 2025, 19:28 »
Thanks Mark :)

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #26 on: 02 Mar 2025, 13:03 »
Hi
Add a condition:
and selections trigger expression ABS(market_score1 - market_score2) is less than 3

Hi Mark, can you please check my trigger (attached), I've added the condition for second-half goals.

Many thanks, Mark


  • Moderator
  • Posts: 3675
*
Re: Basic in-play football (soccer) trigger
« Reply #27 on: 03 Mar 2025, 15:43 »
Hi
Yes that looks fine. Second half trigger will bet according to match minute and price required if there is 2 goals difference or less.  
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #28 on: 08 Mar 2025, 16:08 »
Hi Mark,

Is there any reason why the attached is returning FALSE? I think it's currently preventing all my markets from activating, etc.

Thanks, Mark

  • All members
  • Posts: 26
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #29 on: 08 Mar 2025, 16:36 »
P.S. Attached is the trigger. Thanks.

 

Please note, BetFair is seems to be currently OFFLINE