Multi Time Frame RSI values ProScreener
Forums › ProRealTime English forum › ProScreener support › Multi Time Frame RSI values ProScreener
- This topic has 5 replies, 3 voices, and was last updated 6 years ago by
robertogozzi.
-
-
05/28/2019 at 1:46 PM #99596
Hi to all!
I want a simple screener to get the RSI(14) values of multi time frames.
Something like this:
MTF RSI12345678910myRSI = RSI[14]TIMEFRAME(weekly)c1 = myRSITIMEFRAME(daily)c2 = myRSITIMEFRAME(60 minutes)c3 = myRSISCREENER[c1 and c2 and c3]I don’t understand why the above code don’t work.
Any help will be appreciated!
Thanks in advance
05/28/2019 at 1:58 PM #99598Try inserting this at line 9 and also as the first line:
1TIMEFRAME(default)05/29/2019 at 7:46 AM #99644Your 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:
1screener(c1)but you can only have one column, so only one variable.
1 user thanked author for this post.
05/29/2019 at 9:13 AM #99649Firstly: 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:
12345678TIMEFRAME(weekly)c1 = RSI[14] > 30TIMEFRAME(daily)c2 = RSI[14] > 30TIMEFRAME(1 hour)c3 = RSI[14] > 30timeframe(default)SCREENER[c1 and c2 and c3]1 user thanked author for this post.
05/30/2019 at 8:48 PM #99731Thanks 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!
05/30/2019 at 9:17 PM #99733This post may help https://www.prorealcode.com/topic/returning-information-from-a-screener/#post-95524
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on