Forza relativa su indice

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #235810 quote
    MarcfarmMarcfarm
    Participant
    New

    Buongiorno ho iniziato lo screener ma non riesco a completarlo. Lo screener opera sul paniere di azioni del Nasdaq100 e mi va a selezionare le 10 azioni più forti sulla media della variazione% a 1-3-6-12 mesi.  Quello che non riesco a fare è che dovrebbe operare solamente se l’indice Nasdaq100 è superiore alla sua media mobile a 200 giorni

    Timeframe(Monthly)
    roc12 = ROC[12](close)
    roc6  = ROC[6](close)
    roc3  = ROC[3](close)
    roc1  = ROC[1](close)
    //
    Timeframe(default)
    c1  = (roc12 + roc6 + roc3 + roc1) / 4
    SCREENER (c1 AS "Average Mom.")
    #235814 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Questo dovrebbe andare bene:

    // confronto tra un indice  e le azioni che lo compongono
    //
    Timeframe(Monthly)
    EQUITYFRAME("Azioni - US (NASDAQ","QTEC")
    Media  = average[200,0](close)
    Indice = close > Media
    EQUITYFRAME(default)
    roc12  = ROC[12](close)
    roc6   = ROC[6](close)
    roc3   = ROC[3](close)
    roc1   = ROC[1](close)
    //
    Timeframe(default)
    EQUITYFRAME(default)
    c1     = (roc12 + roc6 + roc3 + roc1) / 4
    SCREENER[Indice](c1 AS "Average Mom.")

    Se segnala troppi elementi, puoi ridurli filtrando in base al prezzo nell’ultima riga. Ad esempio questa filtra solo le azioni con prezzo superiore a 400:

    SCREENER[Indice AND (close >= 400)](c1 AS "Average Mom.")
    Iván González thanked this post
    #235822 quote
    MarcfarmMarcfarm
    Participant
    New

    Grazie ma mi da “Equityframe errore di istruzione”, mi pare che non riconosca QTEC. Siccome in Prorealtime non c’è l’indice Nasdaq 100 tra le liste predefinite (c’è solo US Nasdaq azioni e US Tech 150) potrebbe essere questo il problema? Allora mi sono creato io una lista con le attuali azioni del Nasdaq100 (che terrò aggiornata). E’ possibile far girare lo screener sulla lista da me creata operando solamente se l’indice Nasdaq 100 (NDX) oppure l’ETF NDXH (ETF su Nasdaq100 Hedged quotato a Milano) sono superiori alla loro media mobile a 200giorni?

    #235859 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Non saprei dirti, devi provare.

Viewing 4 posts - 1 through 4 (of 4 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

Forza relativa su indice


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Marcfarm @marcfarm Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
2 years, 1 month ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 07/26/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...