Proscreener che referenzia un indice

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #252343 quote
    Alessandro FurlaniAlessandro Furlani
    Participant
    Senior

    Se non ricordo male c’era la possibilità di referenziare un indice dentro al proscreener. Quello che intendo è condizionare la selezione in base anche all’andamento dell’indice cioè se NASDAQ[0]>NASDAQ[1] allora tiro fuori solo titoli che salgono, al contrario solo quelli che scendono.

    Ricordo male ??

    #252363 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Adesso non ce l’ho sottomano, ma se cerchi EQUITYFRAME troverai il codice per farlo.

    #252364 quote
    Alessandro FurlaniAlessandro Furlani
    Participant
    Senior

    Ok grazie ma io vorrei misurare l’indice NASDAQ oppure il DIJ o SP500, come faccio ad impostare il comando ?

    Forse lo posso prendere dalle liste ? tipo EQUITYFRAME (“World Indices” “COMP”), posso fare cosi ?

    #252374 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Buongiorno. Ecco un esempio di uno screener che genera gli stessi risultati dell’indicatore Relative Strength Index predefinito di PRT.

    CloseStock = Close
    EQUITYFRAME("Nyse American Stocks","SPY")
    CloseIndex = Close
    EQUITYFRAME(default)
    Ratio = CloseStock / CloseIndex 
    
    SCREENER (Ratio AS "RelativeStrength")
    robertogozzi thanked this post
    #252386 quote
    Alessandro FurlaniAlessandro Furlani
    Participant
    Senior

    Nell’utilizzoo dell’Equityframe posso comunque usare CloseIndex[0] per riferirmi alla barra corrente o CloseIndex[1] per quella precedente ?

    #252394 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Si, le variabili puoi usarle comunemente.

    Iván González thanked this post
Viewing 6 posts - 1 through 6 (of 6 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

Proscreener che referenzia un indice


ProScreener: Scansione Mercati & Screener

New Reply
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
11 months, 1 week ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 10/08/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...