Screener Pista Ciclica

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #100112 quote
    DomDom
    Participant
    Junior

    Buongiorno a tutti.

     

    Vorrei il vostro aiuto per poter creare uno screener con l’indicatore Cyclical Path

    il codice dell’indicatore è il seguente

    // pista ciclica
    // buy crossunder zeroline and sell crossover zeroline
    // by carlini mauro
    //
    lenta = linearregression[14](close)
    veloce = linearregression[2](close)
    pista = lenta-veloce
    if pista < 0 then
    color=-1
    else
    if pista > 0 then
    color=1
    endif
    endif
    RETURN pista COLOURED by color STYLE (line)as "velovola" , 0 as "zeroline"

     

    Lo screener dovrebbe mostrare i titoli che hanno raggiunto il più basso livello dell’indicatore nelle ultime 60 sedute e quelli che hanno raggiunto il più alto livello dell’indicatore nelle ultime 60 sedute (magari fare due screener diversi)

    L’idea è che quando questo indicatore raggiunge questo livello significa che è uscito da un trend laterale di medio termine e che quindi si può seguire il titolo con strategie trend following

     

    Grazie a chi mi darà una mano

    #100113 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Per chiarezza dei messaggi sul Forum di Prorealcode, separate le parti del vostro codice usando il pulsante per l’inserimento del testo del codice. <<

    Grazie.

    Più tardi te lo scriverò.

    #100121 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    // pista ciclica
    // buy crossunder zeroline and sell crossover zeroline
    // by carlini mauro
    //
    lenta   = linearregression[14](close)
    veloce  = linearregression[2](close)
    pista   = lenta-veloce
    Massimo = highest[60](pista[1])
    Minimo  = lowest[60](pista[1])
    x       = pista >= Massimo OR pista <= Minimo
    SCREENER[x]
    x-3.jpg x-3.jpg
    #100128 quote
    DomDom
    Participant
    Junior

    Grazie sei stato gentilissimo

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

Screener Pista Ciclica


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Dom @mimmo Participant
Summary

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

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 06/07/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...