Multi Time Frame RSI values ProScreener
- This topic has 5 replies, 3 voices, and was last updated 5 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
Similar topics:
Forums › ProRealTime English forum › ProScreener support › Multi Time Frame RSI values ProScreener
Hi to all!
I want a simple screener to get the RSI(14) values of multi time frames.
Something like this:
1 2 3 4 5 6 7 8 9 10 |
myRSI = RSI[14] TIMEFRAME(weekly) c1 = myRSI TIMEFRAME(daily) c2 = myRSI TIMEFRAME(60 minutes) c3 = myRSI SCREENER[c1 and c2 and c3] |
I don’t understand why the above code don’t work.
Any help will be appreciated!
Thanks in advance
Try inserting this at line 9 and also as the first line:
1 |
TIMEFRAME(default) |
Your conditions c1 and c2 and c3 will only test if the RSI[14] is above 0 or not (true), and it is indeed the case.
You won’t get any value in the ProScreener this way, so I wonder what it the exact purpose of your request?
To get values in a column as a sorting criteria, the variables must be with parenthesis:
1 |
screener(c1) |
but you can only have one column, so only one variable.
Firstly: ProScreener requires TIMEFRAME(1 hour), not TIMEFRAME(60 minutes) which is reserved to ProOrder
Secondly: If in your DEFAULT TF MyRsi=53.2456, then AND will make sure ALL values will be equal at the same time, which is pretty impossible! (try replacing AND with OR)
Thirdly: Your screener doesn’t seem to have any logical meaning, if you want to have the three TF’s ALL above oversold, or whatever else you prefer, you should write:
1 2 3 4 5 6 7 8 |
TIMEFRAME(weekly) c1 = RSI[14] > 30 TIMEFRAME(daily) c2 = RSI[14] > 30 TIMEFRAME(1 hour) c3 = RSI[14] > 30 timeframe(default) SCREENER[c1 and c2 and c3] |
Thanks to all for the help. My logic about the question was to get the RSI values from different time-frames in dedicated columns in ProScreener.
As I am coming from other trading platform, this feature it’s possible. But with your help I just played a little with the code and got finally some result.
Thanks again!
This post may help https://www.prorealcode.com/topic/returning-information-from-a-screener/#post-95524
Find exclusive trading pro-tools on