rbpinchman
New member
How can I use RSI and/or MACD to scan for a security that is lower or higher than at any point over the last X periods?
For instance
-15 min chart
-if the new bar ends higher or lower than any point in the last X number of 15 min bars, give me an alert.
Period 1 RSI: 48
Period 2 RSI: 49
Period 3 RSI: 52
Period 4 RSI: 42
...I'd want an alert telling me it's lower than the prior 4 15 min bars.
Thanks in advance
For instance
-15 min chart
-if the new bar ends higher or lower than any point in the last X number of 15 min bars, give me an alert.
Period 1 RSI: 48
Period 2 RSI: 49
Period 3 RSI: 52
Period 4 RSI: 42
...I'd want an alert telling me it's lower than the prior 4 15 min bars.
Thanks in advance