Trigger alert on rolling high price

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Jossy_79
Posts: 52
Joined: Sun Feb 18, 2018 11:43 am

Hi. I'd like to have BA alert me when a new high price point is reached within a rolling 10 minute period. I can figure out how to use stored values to log if a price exceeds a previously logged price however if I can't get my head around how you'd put a condition on this to only look back a max of 10 mins. A pointer in the right direction would be much appreciated!
User avatar
Dallas
Posts: 23510
Joined: Sun Aug 09, 2015 10:57 pm

Set a signal each time a new high SV triggers
Then use a Signal Changed condition on your alert rule

Same principal as delayed bets in tennis
Jossy_79
Posts: 52
Joined: Sun Feb 18, 2018 11:43 am

Thanks Dallas. Will have a shot at this today.
Jossy_79
Posts: 52
Joined: Sun Feb 18, 2018 11:43 am

Ok, been thinking about this. I understand the logic of using the signals however I'm pretty sure the signal triggered from the high SV will only ever trigger on a new high, not a high from the last rolling ten mins? This means the price could have been at 3.0 around 12 mins ago, it then dropped down to 2.0 but rose to 2.7 about 6 mins ago. The rolling high should be 2.7 but I can't figure out how to use SVs and signals to overwrite the 3.0 recorded 12 mins ago?
Post Reply

Return to “Bet Angel - Automation”