Repeat Triggers?

Please post any questions regarding the program here.

Moderator: 2020vision

Repeat Triggers?

Postby AndyG » Fri Mar 03, 2006 3:55 am

Hi, I have set up a trigget to back a certain horse if its price is below 3.0.

It works fine but only once.

I want to back it continaully each time its price goes that low.

Is there a way to do this or does excel only do a bet once for each trigger?

Any help much appreciated as currently I close everything down and do it all again to place the next bet. Seems a bit daft although maybe it is me that is daft!

Cheers
AndyG
 
Posts: 3
Joined: Fri Mar 03, 2006 3:52 am

Postby mikeeboy » Fri Mar 03, 2006 12:31 pm

Presumably you would only wan to do it if it went above 3.0 after you have triggered.

You'll need to use the CLEAR trigger to clear the bet cells so that you could resubmit a new bet. This is no good on its own of course becasue otherwise you would be continually firing bets as long as the price < 3.0.

So each time you back you'll need to set a flag of some sort to indicate that a BACK bet has been made and when the price goes above 3.0 you'll need to clear the flag. You'd need to include a check on this flag in your trigger.

You're getting into VB macro stuff here though I would think.
mikeeboy
 
Posts: 12
Joined: Wed Jan 04, 2006 4:59 pm

Re: Repeat Triggers?

Postby Mitch » Fri Mar 03, 2006 12:32 pm

Do you want to continually back it if it remains below 3.0 or only back it again if the price goes above 3.0 then below again?
User avatar
Mitch
 
Posts: 365
Joined: Sat Nov 19, 2005 12:28 am
Location: Leicester

Postby AndyG » Fri Mar 03, 2006 5:56 pm

Thanks guys, I just want to keep backing it to the set stake when it is below 3.
I have criteria set re total amount to bet etc.

But it is just getting it to clear the data so that another bet gets sent that I need.

Sounds like I need to use the CLEAR function but how do I do that please?
AndyG
 
Posts: 3
Joined: Fri Mar 03, 2006 3:52 am

Postby Mitch » Fri Mar 03, 2006 8:02 pm

I think this works but please test it for your situation without money if you can because I haven't been able to.

=IF(AND(A5<>"",F5<3,Q5="",F5<>0,O5<>0,P5<>0),"BACK",IF(AND(Q5<>"",T5=P5),"CLEAR","HOLD"))

That goes in N5, and copy down as far as you need to. If you have other criteria then you'll need to amend it or let me know and I will do it for you.

It will place a bet if all of the following are true....

Col A has a name in AND
Back odds are under 3.0 and above 0 AND
There is no bet ref in col Q AND
There are odds in col O AND
There is a stake in col P

It will enter the CLEAR trigger if....

There is a bet ref in col Q AND
The stake matched in col T is the same as the stake requested in col P

If criteria for clearing a ref or placing a bet aren't met it will display HOLD.


Obviously it can be changed to do whatever you want, but as I said before, please test it first.
User avatar
Mitch
 
Posts: 365
Joined: Sat Nov 19, 2005 12:28 am
Location: Leicester

Postby AndyG » Sat Mar 04, 2006 1:42 am

Thanks Mitch, you are a gent.

I will try it today and let you know how it goes.

Cheers
AndyG
 
Posts: 3
Joined: Fri Mar 03, 2006 3:52 am


Return to Help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 50 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.