Formula proscreener per supertrend

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #205086 quote
    Fabiolo
    Participant
    Junior

    Buongiorno,

    ho creato il seguente banale screener che estrae i titoli che sono passati da ieri ad oggi, da supertrend rosso a supertrend verde, cioè stanno andando in trend positivo:

    //Supertrend diventa verde
    ST=SuperTrend[3,10]
    V2= ST[0]<ST[1] AND Close[0]>Close[1] AND Close[0]>ST[1]
    Screener [Val and V1 and ST and V2]

    oggi 30/11/2022 sul Nasdaq mi estrae i seguenti titoli: NXST, SABR, CTRN, PAQC e SABRP.

    il SuperTrend[3,10] dovrebbe essere definito dalle seguenti formule:

    SuperTrend superiore = (massimo + minimo) / 2 + 3 * ATR (10)

    SuperTrend inferiore = (massimo + minimo) / 2 – 3 * ATR (10)

    ST[0] dovrebbe essere la linea rossa e ST[1] quella verde.

    ho provato a fare i conti per CTRN o SABR (file allegati) con le due formule esplicitate ma non mi tornano…..

    Qualcuno può esplicitarmi lo screener usando anzichè le formule ST[0] e ST[1], le formule esplicitate (incluso ATR) così magari capisco meglio e riesco a verificare i numeri ?

    Grazie

    Fabio

    CTRN-2022-11-30-184934.png CTRN-2022-11-30-184934.png SABR-2022-11-30-184755.png SABR-2022-11-30-184755.png
    #205171 quote
    robertogozzi
    Moderator
    Master

    Il cambio di colore non è come l’hai scritto tu, tu verifichi che sia ROSSO, ma non che PRIMA fosse VERDE:

    ST=SuperTrend[3,10]
    Verde  = close > ST
    Rosso  = close < ST
    Cambio = (Verde AND Rosso[1]) OR (Verde[1] AND Rosso)
    //oppure  Camnbio = (close CROSSES OVER ST) OR (close CROSSES UNDER ST)
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Formula proscreener per supertrend


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Fabiolo @fabiolo Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
3 years, 3 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 11/30/2022
Status: Active
Attachments: 2 files
Logo Logo
Loading...