Using extended football score information in triggers


Use these triggers as a template for your football strategies that rely on extended score information, such as yellow cards, red cards, corners, halft time score and penalties. This information is available in many BetFair markets, and MarketFeeder Pro provides access to it through trigger variables.

The primary trigger in the example does the following.

It waits until the teams get the predefined number of yellow or red cards and take the predefined number of corners, then it backs on Over 0.5 goals.

The trigger also checks the minute of the match (it waits till the specified minute arrives) and the half (either 1 or 2, as set in the constants).

For example, it can back at the 46th minute of the match in the second half if the teams have jointly got 3 yellow cards or 1 red card and performed 5 corner kicks, with one of the teams taking 3 corners more than the other.

This is an illustration of the circumstances in which the triggers can bet:

Extended football score

The triggers make use of the following built-in variables:

match_ycards1, match_ycards2 Yellow cards received by the teams
match_rcards1, match_rcards2 Red cards received by the teams
match_period Match half (1 for first, 2 for second)
match_minute Minute of the match (inc. extra time)
match_corners1, match_corners2 Corner kicks taken by the teams
match_penalties1, match_penalties2 Penalties assigned to the teams
match_ht_score1, match_ht_score2 Half-time score


Download the triggers for backing on Over 0.5 goals based on the score

You can adjust the following settings using the constants:

start_minute When to place the bet, minute of the match
market_goals Number of goals in the market name
match_half Which half to bet in
min_ycards Minimum number of yellow cards
min_rcards Minimum number of red cards
min_vlm Minimum matched volume
bet_size Bet size, % of bank
max_preoff_price Maximum price of Over 0.5 goals before the off
min_corners Minimum total number of corner kicks
min_corner_dif Minimum difference in the number of corner kicks taken by the teams
max_penalties Maximum number of penalties
max_ht_goals Maximum number of goals in the first half


If you have not heard of BetFair yet or do not have an account, register today and get £20 free. Use the link below:
New customers only, bet up to €/£20 on the Exchange and if your first bet loses, we’ll refund you €/£20 in Cash. Bet must be placed in first 7 days of account opening. T&Cs apply.
Gamble responsibly! Always be aware that betting is NOT risk-free. You must be 18+ years old before you try gambling, but even as an adult, withhold from spending money in an ill-judged manner. Our company does not encourage you to prefer gambling over other meaningful activities. If gambling is affecting your life or the lives of people close to you, please contact GamCare
© 2005-2023 WellDone Creative Software. All rights reserved. Terms and conditions.
BetFair® and the BetFair Logo are registered trade marks of Flutter Entertainment plc. Gamble responsibly.