Hi
I'm hoping one of the many forum users who has a greater understanding of the triggers can help me out.
I'm playing with a trigger based on the over/under martingale trigger available on the site.
My aim is to switch from a goal offset of +1.5 to +0.5 towards the end of the match but only put a bet on if there are not unsettled bets on the higher up markets. If there are late goals I've noticed the odds on the +1.5 market are too much of a risk. Through a simple set of conditions I think I've got this part working but my problem is with preventing the bet being placed if I still have an unsettled bet on a +1.5 goal offset market.
Example: For arguments sake, the score at half time is 1-0. At 60 minutes (when my trigger is set to start) I would bet on the +1.5 market (1+0+1.5), so 2.5 over/under market in this case. After 80 minutes, I switch to the +0.5 markets but my trigger is putting a bet on the 1.5 over/under market even with an unsettled bet on the 2.5 o/u market. As it tries to chase any potential losses, the liability on the 1.5 o/u market is higher and there is a greater chance of it losing than the existing bet on the 2.5 o/u market due to only needing 1 goal to lose.
What I need help with (sorry it's took so long to get to the point) is a condition that checks the next market, 2.5 o/u in this example, to make sure there is no unsettled bet before placing the bet on the 1.5 o/u market.
I tried adding a condition: Selction's Trigger Expression football(6+market_score1+market_score2+1)_s_2_lay_matched is equal to 0
but obviously wasn’t as easy as that. I probably want to create a variable that I can append to the market name but is that even possible?
Any suggestions would be greatly appreciated.