So I'm trying to set-up an automation and struggling with it. Basically I want to record the volume percent of all selections. Take the two selections with the highest volume percents. Calculate the difference between these 2 percents and if the difference is between 5% and 80% then place a back bet on the selection with the highest volume percent so to sum up.
- Record the volume percent of every selection
- Record the two highest volume percents
- Calculate the difference between those two values
- Place back bet on selection with highest volume percent if the calculated difference is between 5% and 80%
This is what I'm getting but it's giving me the wrong runner
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 1. Porthall Storm: Back_Greyhound_Volume_Percent = 4.943
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 2. Mohican Garfield: Back_Greyhound_Volume_Percent = 15.274
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 3. Catunda Stella: Back_Greyhound_Volume_Percent = 18.397
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 4. Flickering Fire: Back_Greyhound_Volume_Percent = 38.558
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 5. Ballyregan Lena: Back_Greyhound_Volume_Percent = 9.413
17/02/2023 15:31:40: [G_Auto 1] : Store Value (Shared) for 6. Swift Urania: Back_Greyhound_Volume_Percent = 13.415
17/02/2023 15:31:45: [G_Auto 1] : Store (range calc) Value (Shared) for 1. Porthall Storm: Maximum_Volume = 38.558