hi,
i would like to have the following trigger for horses races
monitor tha race 10 minutes before the start
- bet will be on the favor as it is on the start of monitoring never change a selection
- calculate the moving average of lay price every minute
( A )- add to the moving average lay price the value that i will input manual on each race
when the lay price is higher than the total value of moving average + input value then make a back bet with the first lay price is offering
( B ) -sutract from the moving average of lay price the value (moving average - input value) and if the lay price is lower of the total of these two values then make a lay bet with the first back price is offering
in other words:
lay price > moving average of lay price + input value => back on a lay price
lay price < moving average of lay price - input value => lay on a back price
THANKS
NIKOLAS