Horse Racing - Laying a Horse If Trading at Bottom of Range

From Bet Angel forum:

I have been looking to find a way to lay horses that are within the bottom 3 ticks of their ranges in the last 60 seconds before the off. I can’t find a way to capture range in BA. Anyone have any ideas?

Bfexplorer Solution:

If I understand it correctly this betting strategy requires checking whether a horse is traded in the bottom of already traded prices 60 seconds before race start.

Similar like in the script: Place Bets in Traded Range, we need to check traded range first, and the filter selections/horses traded at the bottom of this range.

I implemented the script using following parameters:

MinimalTradedVolume, MinimalDifferenceFromBottom, MinimalOdds, MaximalOdds, BetType and Stake