Conditions Question

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Simoba
Posts: 36
Joined: Wed Oct 09, 2019 11:25 am

Hi Guys,

How do I create a condition where the lay bet is placed if the price is less than 3 or greater than 4 please? I can create the automation where the price is greater than one number and less than another, however how do I do it when it is an either or scenario please? Apologies if a daft question, however I am rather new to creating these automation files. Thanks ever so much.
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

You can have as many conditions in your bet instruction as you need - in this case you'll want two - one for >3 and the other <4.
Simoba
Posts: 36
Joined: Wed Oct 09, 2019 11:25 am

Hi, thanks for the reply. So if I put the conditions as one less than 3 and one greater than 4, it will place the bet if just one of those conditions are met, as it is one or the other? It has to be less than 3 OR greater than 4.Thank you
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

Apologies- I didn't look at you question closely enough - I thought you wanted between 3 and 4 Instead I can see you wanted under 3 OR over 4.
In this case I'd suggest two Bet instructions. One for the under 3 the other with the Over 4 to each of them you can add a condition Number of bet triggers =0 to prevent betting twice if the price moves.
Simoba
Posts: 36
Joined: Wed Oct 09, 2019 11:25 am

Thanks, so basically I need to set up 2 different automation rules, one for <3 and a totally separate one for >4 then I can apply both to the market in Guardian and either one or neither will get matched and place. Thank you
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

Simoba wrote:
Sun Nov 13, 2022 12:27 pm
Thanks, so basically I need to set up 2 different automation rules, one for <3 and a totally separate one for >4 then I can apply both to the market in Guardian and either one or neither will get matched and place. Thank you
Don't forget the extra condition on each: Number of Place Bet Triggers =0
Simoba
Posts: 36
Joined: Wed Oct 09, 2019 11:25 am

Thanks again, duly noted ! Much appreciated.
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

You can do it with just one rule, you will just need to nest the conditions.
I used back price as an example but you can use whatever you like.
nest.PNG
You do not have the required permissions to view the files attached to this post.
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

Dabbla wrote:
Sun Nov 13, 2022 12:46 pm
You can do it with just one rule, you will just need to nest the conditions.
Of course - forgot that.
Simoba
Posts: 36
Joined: Wed Oct 09, 2019 11:25 am

Dabbla wrote:
Sun Nov 13, 2022 12:46 pm
You can do it with just one rule, you will just need to nest the conditions.
I used back price as an example but you can use whatever you like.

nest.PNG
Thank you Dabbla, much appreciated
Post Reply

Return to “Bet Angel - Automation”