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?
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”.
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")
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”?
ahh, ok. So that’s the problem. I’m checking the screener with premium account