Need help with stored values and signals

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Luke.B
Posts: 119
Joined: Wed Dec 25, 2019 1:28 pm

Hi,
I have a feeling you can do what i am after, but for the life of me cant figure it out.

i want to back horses in a race in a bracket of $5-$10 but only if there is two of them.
But i cant work out how to count in automation.

Any help would be great. Even better would be some Dallas steps.
User avatar
jamesedwards
Posts: 4290
Joined: Wed Nov 21, 2018 6:16 pm

There is a condition called "number of selections condition"
Luke.B
Posts: 119
Joined: Wed Dec 25, 2019 1:28 pm

i thought that only returned total number of runners in a race. I dont get any drop down options to get specific.
Are you saying this is a count function for any criteria?
User avatar
jamesedwards
Posts: 4290
Joined: Wed Nov 21, 2018 6:16 pm

Luke.B wrote:
Thu Dec 19, 2024 1:15 pm
i thought that only returned total number of runners in a race. I dont get any drop down options to get specific.
Are you saying this is a count function for any criteria?
Sorry, I thought you meant two selections in the whole market. You meant two selections within your criteria?
Win
Posts: 28
Joined: Sun Feb 02, 2020 10:16 pm

I've done something similar in the past.
The way I did it was have a rule that sets a SV named counter to 0 for each market. And another rule that runs at the required time that runs for every selection and increments counter by 1 if the condition is met.
And finally, if a condition on my rule that places the bet so that it only runs if counter equals x.
Hope that all makes sense.
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

Create a Start rule that sets every selection for your SV (xxx) to 0.

Rule 1 (true) , For every selection.
Conditions , fixed odds condition => 5 , then another fixed odds condition <=10
Add a condition that sv (xxx) = 0
Store a value (xxx) of 1, for the selection

Rule 2 (false) For every selection.
fixed odds condition <5 , OR fixed odds condition 10 >
Add a condition that sv (xxx) = 1
Store a value (xxx) of 0 for the selection.

How to add, AND , OR,NAND, NOR,
https://www.betangel.com/user-guide/gro ... tions.html


RULE 3 for ANY selection
Add them together. (this number should be a MARKET SV)
https://www.betangel.com/user-guide/sto ... alues.html

That should point you in the right direction
Luke.B
Posts: 119
Joined: Wed Dec 25, 2019 1:28 pm

How do i keep the stored values refreshing. they calculate for me but then dont update with every change/refresh
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

Luke.B wrote:
Fri Dec 20, 2024 11:27 am
How do i keep the stored values refreshing. they calculate for me but then dont update with every change/refresh
Rule 1 and 2 , will only update when there’s a change from true to false or false to true.
Rule 3 will update constantly ,depending on your refresh set up for this rule.

You can remove the stored value conditions from rule 1 and 2 . Although, I wouldn't recommend it, as better optimized as it is.
Luke.B
Posts: 119
Joined: Wed Dec 25, 2019 1:28 pm

As the Projected SP changes the stored values dont change
It looks like it stores a value if the projected sp is within 5-10 range
if there are two runners with that i see a 1 in the stored value and a 2 in the sum stored value - all good
If the projected sp changes and there is only 1 in that range - it is not updating

If on the other hand a third runner is within 5-10 then it will add that one, it just wont remove 1, if it starts in this range and then is no longer in this range

i have all rules set to unlimited and rearm every refresh

How do i make the stored values keep restoring the correct info
MrJoeBlack
Posts: 41
Joined: Sun Jun 26, 2016 7:58 pm

Resolved
Last edited by MrJoeBlack on Sat Dec 21, 2024 3:30 pm, edited 1 time in total.
sionascaig
Posts: 1646
Joined: Fri Nov 20, 2015 9:38 am

MrJoeBlack wrote:
Sat Dec 21, 2024 10:20 am
Can anyone help with this...
I haven't looked at the baf but if a selection goes out with range then you will need to reset it?

==> so will require another rule to check for this (and reset for that selection)..
MrJoeBlack
Posts: 41
Joined: Sun Jun 26, 2016 7:58 pm

sionascaig wrote:
Sat Dec 21, 2024 10:26 am
MrJoeBlack wrote:
Sat Dec 21, 2024 10:20 am
Can anyone help with this...
I haven't looked at the baf but if a selection goes out with range then you will need to reset it?

==> so will require another rule to check for this (and reset for that selection)..
Resolved
Last edited by MrJoeBlack on Sat Dec 21, 2024 3:31 pm, edited 1 time in total.
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

Luke.B wrote:
Sat Dec 21, 2024 10:06 am
As the Projected SP changes the stored values dont change
It looks like it stores a value if the projected sp is within 5-10 range
if there are two runners with that i see a 1 in the stored value and a 2 in the sum stored value - all good
If the projected sp changes and there is only 1 in that range - it is not updating

If on the other hand a third runner is within 5-10 then it will add that one, it just wont remove 1, if it starts in this range and then is no longer in this range
Thats what rule 2 will do in my example above

i have all rules set to unlimited and rearm every refresh

How do i make the stored values keep restoring the correct info
Create what I have said above , its ok to change it to projected sp. Make sure you have all 3 rules.
Any issues post the file and ill have a look at it.

I don't really use Excel in the way ,so cant help with that issue.
Luke.B
Posts: 119
Joined: Wed Dec 25, 2019 1:28 pm

Hi,

ok, yep i get the Rule 2 and it giving a value of 0.
My issue came about when i thought i might want two ranges to view on the one click screen.
So 1 rule looks for 5-10
And 1 rule looks for fav 1-5 range

If a runner started in the 1-5 and then went to the 5-10 it wasn't clearing in the 1-5
Luke.B
Posts: 119
Joined: Wed Dec 25, 2019 1:28 pm

i also could only get the sum stored value to work as an "every selection" and not "market"
Post Reply

Return to “Bet Angel - Automation”