Hi Everyone.
With this file (attached - Lay The Leader after 1 Set) I want to do the following:
When the 1st set is won in a match, player A who wins this 1st set, I want one Lay bet to be placed on this player A at the point they are not serving in the 2nd set. When the this game (whether it be the first game or the second game of the set) is complete, for it to Green Up
Player A = 1st Set Winner
Player B = 1st Set Loser
- So only one lay bet with only one green up per match
I have got the file/bot to work when Player A DOES NOT SERVE FIRST in the 2nd set and it greens up correctly - In this instance Player B (the 1st Set Loser) served first in the 2nd set
However if player A (the 1st set Winner) DOES SERVE FIRST in the 2nd set, the lay bet is not triggered
Player A serves first in the 2nd set = Bot NOT working
Player B serves first in the 2nd set = Bot working
Could someone please take a look at why this is the case? I am staring at the conditions and in my mind it should work for both set of circumstances - The Green Up Rule uses the Matched Bet Condition = 1
N.B.
As a bonus I would also like for it to green up if it hits a certain profit margin or loss margin - My thinking would be either
A) adding two conditions Greater then X OR Less than Y in among the Green Up Conditions
OR
B) Using a Trailing Stop With Greening (I think)
Option B feels better to me, but I know I am getting ahead of myself as it's only working 50% of the time in it's current state
Tennis - Lay the Leader after 1 Set - Only working half of the time
Use a 'Close Trade on Selection with Greening' rule
with the following Condition
Number of matched bets condition
on selection is greater than 0
Tennis serving condition
Selection is serving
Tennis Fixed Score condition
Sets 1-0
Games ANY-ANY
Points 0-0
By using 'matched bets is equal to 1' there might be times when your bet isn't all matched in one go so you may end up with 2, 3, 4+ matched bets by the time your full stake is taken, so its best to use greater than 0 in these situations