Storing the tick difference between highest and lowest traded prices
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 
- jamesedwards
- Posts: 5502
- Joined: Wed Nov 21, 2018 6:16 pm
Convert them both to ticks then subtract one from the other.Dave64 wrote: ↑Fri Apr 03, 2026 3:14 pmI 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![]()
You do not have the required permissions to view the files attached to this post.
