Storing the tick difference between highest and lowest traded prices

We were all new to Bet Angel once. Ask any question you like here and fellow forum members promise not to laugh. Betfair trading made simple.
Post Reply
Dave64
Posts: 32
Joined: Thu Jan 08, 2026 10:09 pm

I seem to be cracking on nicely with my greyhound trading rules (each one currently has 17 conditions that need to be met before they fire ... with probably more enhancements to come) but I can't for the life of me work out how to calculate and store the number of ticks between the highest and lowest traded price (I already have these stored as variables). For example the highest traded price is 5.0 and the lowest is 3.1 and all I want to do is store the number of ticks difference. It's probably staring me in the face but my brain is numb and I need an old man afternoon nap so any help would be appreciated :)
User avatar
jamesedwards
Posts: 5502
Joined: Wed Nov 21, 2018 6:16 pm

Dave64 wrote:
Fri Apr 03, 2026 3:14 pm
I seem to be cracking on nicely with my greyhound trading rules (each one currently has 17 conditions that need to be met before they fire ... with probably more enhancements to come) but I can't for the life of me work out how to calculate and store the number of ticks between the highest and lowest traded price (I already have these stored as variables). For example the highest traded price is 5.0 and the lowest is 3.1 and all I want to do is store the number of ticks difference. It's probably staring me in the face but my brain is numb and I need an old man afternoon nap so any help would be appreciated :)
Convert them both to ticks then subtract one from the other.
z101.jpg
You do not have the required permissions to view the files attached to this post.
Dave64
Posts: 32
Joined: Thu Jan 08, 2026 10:09 pm

Brilliant!! Just what I needed .... thanks again James 👍
Post Reply

Return to “Bet Angel for newbies / Getting started”