I have problem by setting the SPY as Equityframe

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #254338 quote
    thomas2004ch
    Participant
    Average

    My screener looks as follow:

    TIMEFRAME(daily)
    
    c1 = close > 10
    c2 = close * volume > 5000000000
    
    CloseVal = Close
    
    //EQUITYFRAME("NASDAQ","QQQ")
    EQUITYFRAME("NYSE AMERICAN","SPY")
    CloseInd = Close
    
    Sma   = average[130,0](close)
    
    RatioVal = (CloseVal / Sma)
    
    RationQQQ = (CloseInd / Sma)
    
    EQUITYFRAME(default)
    //Ratio = (CloseVal / CloseInd) *100
    //RelativeStrength = (Ratio - Ratio[1]) *100
    
    //SCREENER[c1 and c2](RelativeStrength AS"RelativeStrength", Ratio as "Ratio")
    
    RelativeStrength = RatioVal / RationQQQ
    
    SCREENER[c1 and c2](RelativeStrength as "RelativeStrength", RatioVal as "Single RSL", RationQQQ as "QQQ RSL")

    But as I run it, I got error:”.. the instrument has to be listed on the same exchange as …”. But I do chose the “US NYSE Stocks” from the “Selection To Scan”. What could be the reasson?

    #254339 quote
    thomas2004ch
    Participant
    Average

    If I use the QQQ as follow:

    EQUITYFRAME(“NASDAQ”,”QQQ”)

    There is no problem, when I chose the “US NASDAQ Stocks” from the “Selection To Scan”.

    #254352 quote
    Iván González
    Moderator
    Master

    Hi. I don’t have problems with your code to screen London Market.

    TIMEFRAME(daily)
    
    c1 = close > 10
    c2 = close * volume > 5000000000
    
    CloseVal = Close
    EQUITYFRAME("NYSE AMERICAN","SPY")
    CloseInd = Close
    Sma   = average[130,0](close)
    RatioVal = (CloseVal / Sma)
    RationQQQ = (CloseInd / Sma)
    
    EQUITYFRAME(default)
    
    RelativeStrength = RatioVal / RationQQQ
    
    SCREENER[c1 and c2](RelativeStrength as "RelativeStrength", RatioVal as "Single RSL", RationQQQ as "QQQ RSL")
    
    #254354 quote
    thomas2004ch
    Participant
    Average

    If I chose the “UK Stocks”, I got the following error. Maybe you are a Premium Member? I am just a free member.

    Besides, do you have problem by “US NYSE Stocks”?

    #254359 quote
    Iván González
    Moderator
    Master

    ahh, ok. So that’s the problem. I’m checking the screener with premium account

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

I have problem by setting the SPY as Equityframe


ProScreener support

New Reply
Author
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Iván González
1 month, 2 weeks ago.

Topic Details
Forum: ProScreener support
Language: English
Started: 12/07/2025
Status: Active
Attachments: 2 files
Logo Logo
Loading...