Screener Regressione canale

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #209739 quote
    Jack86gvJack86gv
    Participant
    New

    Salve,

    Chiedo gentilmente se qualcuno potrebbe aiutarmi a scrivere un screener sul Standard Deviation & Standard Error Linear Regression Channel

    vorrei vedere quando il prezzo esce dal canale sia sulla parte superiore che inferiore con questi parametri:

    Lookback = 100

    Channeltype: 2

    Nq Deviation 2

    Vi ringrazio tanto

    Giacomo

    #209754 quote
    NicolasNicolas
    Keymaster
    Legend

    In tempo reale non dobbiamo calcolare la funzione affine per tracciare una retta nel passato, basta l'ultimo punto del canale. Quindi lo screener è il codice seguente:

    lookback= 200 //channel period
    NbDeviation = 1 //Deviation multiplier
    test = high > linearregression[lookback]+std[lookback]*NbDeviation OR low < linearregression[lookback]-std[lookback]*NbDeviation
    
    screener[test]
    #209822 quote
    Jack86gvJack86gv
    Participant
    New

    Buon pomeriggio Nicolas,

    Grazie tante del tuo codice, provato e funziona benissimo, lo screener mi fa vedere tutti gli strumenti finanziari dove il prezzo e fuori dal canale.

    Gentilmente ti chiederei un altra cosa ovvero:

    vorrei che lo screener del canale mi indicasse quando il prezzo chiude fuori dal canale e prezzo successivo chiude dentro  al canale.

    Esempio: DAX  , ore 9 prezzo esce  dal canale regressione e prezzo chiude fuori,  ore 10 prezzo rientra nel canale regressione e prezzo chiude dentro al canale

    Grazie

    #209823 quote
    NicolasNicolas
    Keymaster
    Legend

    Il codice dello screener sottostante dovrebbe testare la reintegrazione del prezzo nel canale, il segnale è per entrambe le bande superiore e inferiore del canale.

    lookback= 200 //channel period
    NbDeviation = 1 //Deviation multiplier
    upper= linearregression[lookback]+std[lookback]*NbDeviation
    lower= linearregression[lookback]-std[lookback]*NbDeviation
    
    test = (close crosses under upper) or (close crosses over lower)
    
    screener[test]
    
    #212065 quote
    Jack86gvJack86gv
    Participant
    New

    Ciao Nicolas,

    il tuo codice mi e stato di molto utile, grazie mille.

     

    Giacomo

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

Screener Regressione canale


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Jack86gv @jack86gv Participant
Summary

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

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 02/15/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...