Trigger alert on rolling high price
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!
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?