Hello,
I am trying to use the “SPY” ETF as equityframe but cannot get it run.
EQUITYFRAME(“Shares – US (NYSE”, “SPY”)
Any idea about the correct syntax to use?
thanks in advance
You have to choose one in pic X (when a name is incorrect, a list should be opened for you to choose from).
Thanks for the answer Roberto, unfortunately I am getting the attached popup.
Any clue?
If you post your code I may try to find out what that error comes from.
It was actually taken from a code that you shared sometime ago:
TIMEFRAME(daily)
CloseVal = Close
//
EQUITYFRAME(“Shares – US (NYSE”, “SPY”)
CloseInd = Close
EQUITYFRAME(default)
Ratio = (CloseVal / CloseInd) *100
TIMEFRAME(default)
RelativeStrength = (Ratio – Ratio[1]) *100
MyAvg = average[20,0](RelativeStrength) //Media Semplice a 20 periodi
Cond = 0
IF RelativeStrength CROSSES OVER MyAvg AND (close > 150) THEN
cond = 1
ELSIF RelativeStrength CROSSES UNDER MyAvg AND (close > 150) THEN
cond = 2
ENDIF
SCREENER [Cond](Cond AS “1=↑,2=↓”)//(RelativeStrength AS “RelativeStrength”)
It works perfectly, with no modifications.
I only had to select what I was interested in.
Not for me yet…I am on version 11.1
When I select the SPY ticker from the list I always get the same popup
Never mind, thanks anyway for your help
there is not a problem of parenthesis
EQUITYFRAME(“Shares – US (NYSE”, “SPY”)