Multi Time Frame RSI values ProScreener

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #99596 quote
    Geons
    Participant
    Average

    Hi to all!

    I want a simple screener to get the RSI(14) values of multi time frames.

    Something like this:

    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

    #99598 quote
    robertogozzi
    Moderator
    Master

    Try inserting this at line 9 and also as the first line:

    TIMEFRAME(default)
    #99644 quote
    Nicolas
    Keymaster
    Master

    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:

    screener(c1)

    but you can only have one column, so only one variable.

    Geons thanked this post
    #99649 quote
    robertogozzi
    Moderator
    Master

    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:

    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]
    Geons thanked this post
    #99731 quote
    Geons
    Participant
    Average

    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!

    #99733 quote
    robertogozzi
    Moderator
    Master
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Multi Time Frame RSI values ProScreener


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Geons @geons Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by robertogozzi
6 years, 9 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 05/28/2019
Status: Active
Attachments: No files
Logo Logo
Loading...