SPY as Equityframe

Viewing 8 posts - 1 through 8 (of 8 total)
  • #202944

    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

    #202986

    You have to choose one in pic X (when a name is incorrect, a list should be opened for you to choose from).

     

     

    #203048

    Thanks for the answer Roberto, unfortunately I am getting the attached popup.

    Any clue?

     

    #203053

    If you post your code I may try to find out what that error comes from.

     

    #203055

    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”)

    #203060

    It works perfectly, with no modifications.

    I only had to select what I was interested in.

     

    #203067

    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

    #203069

    there is not a problem of parenthesis

    EQUITYFRAME(“Shares – US (NYSE”, “SPY”)

Viewing 8 posts - 1 through 8 (of 8 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login