Upper and Lower Traded Range

Advanced automation available in Guardian - Chat with others and share files here.
Emtaxx
Posts: 297
Joined: Mon Feb 10, 2025 10:00 pm

Jeusus chr james thats a clever way to do it. I wish i was this clever :(

Thank you so much. Let me know if you ever go spoons and give me u table number. A full english and a pint of ale will be on its way :'). And I'm being dead serious lmk please
Emtaxx
Posts: 297
Joined: Mon Feb 10, 2025 10:00 pm

jamesedwards wrote:
Thu Jun 26, 2025 3:53 pm
There may be more efficient ways to achieve this, but this is how I would do it.

test 6.baf


This returns the high and low max price per selection based on min vol of £500.

Needs to run on a high refresh rate, and takes a few seconds to cycle through all the prices.

Updates high/low prices every minute.
Sorry James :( Could you explain how this works exactly, I feel why I get so stuck at times is I struggle with the logic behind things. i.e. you've stored a value from an entered amount i.e. 1000 and 1.01 (These would be the odds) However they're not tied into anything so I don't understand how they're making a connection with one another when their SV is not specific what context it is
User avatar
jamesedwards
Posts: 4009
Joined: Wed Nov 21, 2018 6:16 pm

Emtaxx wrote:
Thu Jun 26, 2025 4:22 pm
Jeusus chr james thats a clever way to do it. I wish i was this clever :(

Thank you so much. Let me know if you ever go spoons and give me u table number. A full english and a pint of ale will be on its way :'). And I'm being dead serious lmk please
Many thanks, but I probably haven't set foot into a 'spoons for many years. I'll let you know if ever I do though. :mrgreen:
User avatar
jamesedwards
Posts: 4009
Joined: Wed Nov 21, 2018 6:16 pm

Emtaxx wrote:
Thu Jun 26, 2025 5:11 pm
jamesedwards wrote:
Thu Jun 26, 2025 3:53 pm
There may be more efficient ways to achieve this, but this is how I would do it.

test 6.baf


This returns the high and low max price per selection based on min vol of £500.

Needs to run on a high refresh rate, and takes a few seconds to cycle through all the prices.

Updates high/low prices every minute.
Sorry James :( Could you explain how this works exactly, I feel why I get so stuck at times is I struggle with the logic behind things. i.e. you've stored a value from an entered amount i.e. 1000 and 1.01 (These would be the odds) However they're not tied into anything so I don't understand how they're making a connection with one another when their SV is not specific what context it is
It works by cycling through every single possible price and checking when the traded vol for each selection is first above £500.

So the "high price" starts at 1000 then reduces by one tick every refresh cycle. The "low price" starts at 1.01 and increases by one tick every refresh cycle. It stores the max or min price for each individual selection when it first reaches a price with volume greater than £500.
Emtaxx
Posts: 297
Joined: Mon Feb 10, 2025 10:00 pm

you're like my missus, too posh for spoons!

Wow it's such a clever way to do it. I'd have never ever of done it like this, honestly, even after spending 15 minutes looking at it I still don't understand hence why I had to ask (embarrassing to say:(.

The next question I have is how do I then take the information taken from this (i.e. if 500 has been found at odds of 6.8)

Just set another SV in my rules to say if one tick below 'high price' Place bet?
User avatar
jamesedwards
Posts: 4009
Joined: Wed Nov 21, 2018 6:16 pm

Emtaxx wrote:
Thu Jun 26, 2025 5:52 pm
The next question I have is how do I then take the information taken from this (i.e. if 500 has been found at odds of 6.8)
The prices are saved as SVs at selection level called "high price" and "low price". Just use them as conditions or odds or whatever, like you would normally.

Be aware that at the moment, roughly every minute these SVs reset to null while it undertakes another price sweep. If that is a problem for what you want to do then you will need to fiddle with it a bit.
Emtaxx
Posts: 297
Joined: Mon Feb 10, 2025 10:00 pm

Appreciate it James, thanks. For what I need I'm only really interested in taking 1 log, so I'll alter it to that :) Remeber table number and pub name and itll be with you! :) 8-)
Post Reply

Return to “Bet Angel - Automation”