Screener max 40 settimane + roc decrescente

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #151321 quote
    Giuseppe76
    Participant
    New

    Buongiorno,

    Sto tentando di scrivere il codice di uno screener che mi individui le azioni che abbiano rotto e chiuso sopra il massimo delle ultime 40 settimane, di queste vorrei vedere (in ordine decrescente) quelle che abbiano avuto il maggior ROC nelle ultime 50 settimane e che non abbiano avuto un gap maggiore del 5% negli ultimi 60 giorni.

    Potete aiutarmi?

    Grazie mille

    #151381 quote
    Giuseppe76
    Participant
    New

    Io ho scritto una cosa del genere ma non so come mettere il roc decrescente ne come inserire il gap:

    TIMEFRAME(weekly)
    MyHigh = highest[40](high)  //highest in 40 weeks
    c1           = Roc[50](close) > 0
    SCREENER [myhigh and c1]
    
    #151418 quote
    robertogozzi
    Moderator
    Master

    Devi avere un pò di pazienza, ti risponderò appena possibile.

    Grazie.

    Giuseppe76 thanked this post
    #151428 quote
    Giuseppe76
    Participant
    New

    Certo, nessun problema. grazie

    #151472 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    TIMEFRAME(weekly)
    MyHigh = high > highest[40](high[1])  //highest in 40 weeks
    c2     = Roc[12](close)
    //
    TIMEFRAME(Daily)
    Gap    = open - high[1]
    c0     = Gap <= (high[1] * 0.05)
    c1     = summation[50](c0) = 50
    //
    TIMEFRAME(default)
    Cond   = MyHigh AND c1
    SCREENER [Cond](c2 AS "Roc")
    Giuseppe76 thanked this post
    #151477 quote
    Giuseppe76
    Participant
    New

    Grazie mille!!

    Gentilissimo come sempre.

    #151558 quote
    Giuseppe76
    Participant
    New

    Avrei ancora una domanda.

    Non è possibile usare questo screener sul Russell 1000? non lo trovo nell’elenco dei mercati.

    Grazie

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

Screener max 40 settimane + roc decrescente


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Giuseppe76 @giuseppe76 Participant
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by Giuseppe76
5 years, 3 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 11/23/2020
Status: Active
Attachments: No files
Logo Logo
Loading...