Author Topic: Tennis set score difference  (Read 2270 times)

Tags:
  • All members
  • Posts: 23
  • Gender: Male
Tennis set score difference
« on: 30 Jan 2017, 14:51 »
Is there any variable for the difference in tennis set score? For example in my image the difference in the second set is 3, and I don't know which variable calculates this difference.
Thanks!

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Tennis set score difference
« Reply #1 on: 30 Jan 2017, 15:36 »
hi
you will find all the tennis conditions in selections trigger expression then select market variables.

mcbee
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: 23
  • Gender: Male
Re: Tennis set score difference
« Reply #2 on: 30 Jan 2017, 15:56 »
Yes...I only have these variables, but nothing about set points difference  :(

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Tennis set score difference
« Reply #3 on: 30 Jan 2017, 17:10 »
hi
all you have to do is tennis_player1_points_won-tennis_player2_points_won

mcbee
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: 23
  • Gender: Male
Re: Tennis set score difference
« Reply #4 on: 30 Jan 2017, 17:27 »
Thanks for the info!  ;)

  • All members
  • Posts: 23
  • Gender: Male
Re: Tennis set score difference
« Reply #5 on: 31 Jan 2017, 10:46 »
Also, is there a variable for the set number winner? For example in the image attached, the set 1 winner is Kristina, and I need a variable that remembers her as the winner of the set. Most variables look at the index of the player rather than the winner.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Tennis set score difference
« Reply #6 on: 31 Jan 2017, 16:00 »
hi
you would have to create a variable to record IF(tennis_player1_setsc1>tennis_player2_setsc1,1,2)
so if player 1 points are greater than player 2 then 1 else 2
you are now entering complicated conditions , if you need a free trigger completed please use this link, then you will be able to see the conditions and learn.

https://community.welldonesoft.com/marketfeeder-make-me-a-trigger/

mcbee
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: 23
  • Gender: Male
Re: Tennis set score difference
« Reply #7 on: 31 Jan 2017, 19:05 »
Well this is weird, I used a user variable named setwinner with the value IF(tennis_player1_setsc1>tennis_player2_setsc1,1,2)


And in this game, tennis_player1_setsc1 is indeed greather than tennis_player2_setsc1, and my variable shows result 2, meaning that it's false. What is going on here?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Tennis set score difference
« Reply #8 on: 31 Jan 2017, 20:10 »
hi
not sure, i will have to test them in a day or so,i am busy for a few days.

will get back to you
mcbee
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: 23
  • Gender: Male
Re: Tennis set score difference
« Reply #9 on: 31 Jan 2017, 20:17 »
Ok, no worries, thanks! :)

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Tennis set score difference
« Reply #10 on: 02 Feb 2017, 17:58 »
hi
could you please include your trigger so that i can test exactly as it is.

mcbee
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: 23
  • Gender: Male
Re: Tennis set score difference
« Reply #11 on: 02 Feb 2017, 21:10 »
Sure, here it is

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Tennis set score difference
« Reply #12 on: 03 Feb 2017, 07:09 »
hi
the reason why you have conflicting results and variable difference is because you have the variable setwinner set to global , this means that the variable looks at all markets at once.
please change setwinner to Individually for each market.

thank you
mcbee
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: 23
  • Gender: Male
Re: Tennis set score difference
« Reply #13 on: 03 Feb 2017, 07:24 »
Oh, didn't realise that, thank you mcbee

 

Please note, BetFair is seems to be currently OFFLINE