screneer indicatore maggiore di tot giorni fa

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #169058 quote
    max1775
    Participant
    Average

    come si imposta una condizione di u determinato indicatore ad esempio una media mobile a 50 periodi oppure adx maggiore di 5 giorni fa? in modo che risultino crescenti

    #169059 quote
    robertogozzi
    Moderator
    Master

    Così:

    Media  = average[20,0](close)
    Rialzo = Media > Media[5]      //La media attuale (Media o Media[0]) > della media di 5 barre fa
    #169403 quote
    max1775
    Participant
    Average

    per adx a 18 periodi come si scrive? maggiore di 5 giorni fa?

    #169408 quote
    robertogozzi
    Moderator
    Master

    Qui trovi la documentazione https://www.prorealcode.com/documentation/adx/

    Basta che alla riga 1 sostituisci AVERAGE[20,0](close) con:

    Adx[18]

    la variabile MEDIA puoi anche lasciarla, è solo un nome, oppure puoi sostituirla con un altro tipo MIOADX.

    Non ci sono altre variazioni da fare.

    #169464 quote
    max1775
    Participant
    Average

    ciao roberto io purtroppo non sono molto pratico   mi puoi aggiungere a questo screener le due condizioni che ti ho chiesto? ( media mobile e adx)  grazie

    // Il codice seguente si rivolge al timeframe:weekly
    TIMEFRAME(weekly)
    indicator1 = DonchianChannelUp[10]
    c1 = (close > indicator1)
    
    // Il codice seguente si rivolge al timeframe:daily
    TIMEFRAME(daily)
    indicator2 = Volume
    indicator3 = Average[20](indicator2)
    c2 = (indicator2 > indicator3)
    
    // Il codice seguente si rivolge al timeframe:daily
    TIMEFRAME(daily)
    indicator4 = ADX[18]
    c3 = (indicator4 < 35)
    
    // Il codice seguente si rivolge al timeframe:daily
    TIMEFRAME(daily)
    indicator5 = Average[50](close)
    c4 = (close > indicator5)
    
    // Il codice seguente si rivolge al timeframe:DEFAULT
    TIMEFRAME(DEFAULT)
    
    SCREENER[c1 AND c2 AND c3 AND c4] ((close/DClose(1)-1)*100 AS “% Var ieri”)
    #169467 quote
    robertogozzi
    Moderator
    Master

    Per favore usa sempre il pulsante “Insert PRT code” quando inserisci il codice nei tuoi post per facilitare la lettura degli altri.

    Grazie 🙂

    Insert-PRT-Code-IT.jpg Insert-PRT-Code-IT.jpg
    #169470 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    // Il codice seguente si rivolge al timeframe:weekly
    TIMEFRAME(weekly)
    indicator1 = DonchianChannelUp[10]
    c1 = (close > indicator1)
    
    // Il codice seguente si rivolge al timeframe:daily
    TIMEFRAME(daily)
    indicator2 = Volume
    indicator3 = Average[20](indicator2)
    c2 = (indicator2 > indicator3)
    
    // Il codice seguente si rivolge al timeframe:daily
    TIMEFRAME(daily)
    indicator4 = ADX[18]
    c3 = (indicator4 < 35)
    RialzoADX = indicator4 > indicator4[5]//L'ADX attuale (indicator4 o
    //                                            indicator4[0]) > dell'ADX di
    //                                            5 barre fa
    // Il codice seguente si rivolge al timeframe:daily
    TIMEFRAME(daily)
    indicator5 = Average[50](close)
    c4 = (close > indicator5)
    RialzoMedia = indicator5 > indicator5[5]//La MEDIA attuale (indicator5 o
    //                                                 indicator5[0]) > della
    //                                                 media di 5 barre fa
    // Il codice seguente si rivolge al timeframe:DEFAULT
    TIMEFRAME(DEFAULT)
    SCREENER[c1 AND c2 AND c3 AND c4 AND RialzoADX AND RialzoMedia] ((close/DClose(1)-1)*100 AS "% Var ieri")
    #169482 quote
    max1775
    Participant
    Average

    grazie mille

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

screneer indicatore maggiore di tot giorni fa


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
max1775 @max1775 Participant
Summary

This topic contains 7 replies,
has 2 voices, and was last updated by max1775
4 years, 10 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 05/07/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...