Hi,
OK, it looks like all has worked fine, and over the weekend, testing, it worked as expected.
As before, I want to expand this, and look to drip lay the correct score. The amounts are not important, but, what is important is that I only place the bet AFTER the previous bet has been matched, AND also, I need to know that the index of the correct score market is the same as the original, and so, if for example when the first bet is placed, the score is 1-1, then the index in the CS market is 6. So, I place a bet of £1 at either the current price, or, if the price is not at 4.5, then set the bet for odds of 4.5...
There are 2 situations here,
1. The current price is 5.2, and so, we must place the bet, and wait until it reaches 4.5
OR
2. The current price is 3.8, and so, the bet gets taken at 3.8
Given these 2 situations, I want to be able to place the NEXT bet, say 2 ticks lower than the first 1, and once that is matched, place another bet, 2 ticks lower than the previous 1.
So, in 1. above, first bet is placed for £1 at odds of 4.5, then waiting, price reaches 4.5 and bet is placed, then, next trigger has been waiting to see that previous trigger has been fired and executed, and checks triggers number of runs = 1, and if so, places the next lay bet of £1 at odds 2 ticks lower, so, places bet of £1 at odds of 4.3. Next bet placed, £1 at 4.1, Next £1 at 3.95, Next £1 at 3.85 etc etc...
Now, given that my marketIndex value trigger has now expired, because the time is now at 70 minutes after the start of play, and the original marketIndex HAD a value of 6, then, how do I KEEP this marketIndex value, specific to the selection, in some variable, such that a new check on the current index will compare against each other and decide if they are now the same index or if another goal has been scored, at which case, not further bets should happen..
Now, all the above, is based on criteria 1. being satisfied, but, if we now have criteria 2. being satisfied, i.e. odds are below 4.5, then we need to look at placing the NEXT bet, 2 ticks below the previous matched bet.
I can't workout how to do this process.
So, in summary, I want to be able to do the following, for EACH selection:
1. look to place a bet at current market index, AND remember this initial index, AND remember the price it placed the bet at
2. look to place a further bet, X number of ticks below the previous, AND make sure the index is still the same
3. repeat step 2 until each small bet has been placed - which to me, is effectively a drip lay
As far as progress in this is concerned, I know that if I want to drip lay using 10 increments, then, I develop 10 triggers, and each trigger checks the number of runs of the previous trigger is set at 1, no problems, I understand that.
I want to be able to remember the original market index, and store this PER SELECTION, and then, remember the previous price where the bet was matched and place the next bet at X ticks below.
Hope that is clear?
Can you give me some help please?
Thanks
Mark.