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.
Need help with stored values and signals
- jamesedwards
- Posts: 4290
- Joined: Wed Nov 21, 2018 6:16 pm
There is a condition called "number of selections condition"
- jamesedwards
- Posts: 4290
- Joined: Wed Nov 21, 2018 6:16 pm
Sorry, I thought you meant two selections in the whole market. You meant two selections within your criteria?
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.
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.
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
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
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.
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
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
-
- 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.
-
- Posts: 1646
- Joined: Fri Nov 20, 2015 9:38 am
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)..
-
- Posts: 41
- Joined: Sun Jun 26, 2016 7:58 pm
Resolvedsionascaig wrote: ↑Sat Dec 21, 2024 10:26 amI 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)..
Last edited by MrJoeBlack on Sat Dec 21, 2024 3:31 pm, edited 1 time in total.
Create what I have said above , its ok to change it to projected sp. Make sure you have all 3 rules.Luke.B wrote: ↑Sat Dec 21, 2024 10:06 amAs 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
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.
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
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