SPY as Equityframe

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #202944 quote
    abel1986abel1986
    Participant
    New

    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 quote
    robertogozzirobertogozzi
    Moderator
    Legend

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

    x-9.jpg x-9.jpg
    #203048 quote
    abel1986abel1986
    Participant
    New

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

    Any clue?

    Screenshot-2022-10-25-at-17.59.25.png Screenshot-2022-10-25-at-17.59.25.png
    #203053 quote
    robertogozzirobertogozzi
    Moderator
    Legend

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

    #203055 quote
    abel1986abel1986
    Participant
    New

    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 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    It works perfectly, with no modifications.

    I only had to select what I was interested in.

    x-10.jpg x-10.jpg
    #203067 quote
    abel1986abel1986
    Participant
    New

    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 quote
    fifi743fifi743
    Participant
    Master

    there is not a problem of parenthesis

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

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

SPY as Equityframe


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
abel1986 @abel1986 Participant
Summary

This topic contains 7 replies,
has 3 voices, and was last updated by fifi743fifi743
3 years, 10 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 10/23/2022
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...