Hi MarkV,
Thanks for the response.
My triggers work based on the first goal being scored, and before a maximum 30 minutes into the match, I then look to lay a market, AOHW or AOAW, where the odds are less than a set value.
My trigger works as per above, but, once the bet is placed, I am disappointed to see that the lay price drops further down, so I have missed out on some value, because the next trigger will then look to hedge out. My hedge works on a set odds value...
So, if I lay at odds = 10, and look to hedge out at odds = 20, then I have made the tick difference between 10 and 20, BUT, if I am able to lay at 8, then I will make more, because my initial lay stake is based on liability as in risk/(lay_price - 1)
After watching this in action last night, I could see the price drop after the lay bet had been placed, and I am assuming this is because the prices are all over the place until the market settles, after the first goal is scored, and of course the price of the market will settle down, and it is at this point that I should place my lay bet.
Of course, I don't know what this settle time should be, and I can only experiment to see what looks to be the best time period.
So, I set my timer2, which has a value of now_time, and this variable is set once there has been a goal, and it can be referenced by the actual bet trigger.
I can't really think of a better way of doing it than this, but always happy to get suggestions?
Thanks again
Mark.