New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Hi Markd and everyone
I was wondering if it is possible to write a scan code for the followings:
1. Let's say RSI(14) has been below 40 once or twice or more for the last 6 months (long term) and has been fluctuating below 60 but never exceed 60. Then RSI then trends up above 60.
I'm not sure if this is clear with what I can to write a code for. But is it possible to write a scan code for the above ?
Thanks in advance.
0
Answers
Your could try something like this (play with the parameters) and test it over some random dates from the past:
[group is sp500]
and [rsi(14) > 60]
and [1 days ago max(21, RSI(14)) < 60]
and [min(21, RSI(14)) < 40]