PRT bands screener sulla linea a breve termine

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #164362 quote
    Centro
    Participant
    New

    Buongiorno a tutti, vi chiedo dove posso trovare uno screener per PRT bands che restituisca i risultati di ricerca con indicazione del segnale che è avvenuto il cambio di tendenza da ribassista a rialzista sulla linea a breve termine.

    Grazie

    Screenshot-527.png Screenshot-527.png
    #164368 quote
    robertogozzi
    Moderator
    Master

    Prova a cercare sul forun PRT BANDS, negli ultimi mesi ho visto che ci sono state spesso richieste e post in merito ad esse.

    #164369 quote
    Nicolas
    Keymaster
    Master

    Il seguente screener ti avviserà quando la linea a breve termine del PRT cambia da rossa a verde con tendenza rialzista:

    up = PRTBandsUp
    dn = PRTBandsDown
    a = PRTBandsShortTerm
    
    if close crosses over up and trend<=0 then //le prix casse la bande supérieure
    trend=1 //tendance haussière
    elsif close crosses under dn and trend>=0 then //le prix casse la bande inférieure
    trend=-1 //tendance baissière
    endif
    
    reprise = a>a[1] and a[1]<a[2] and trend>0
    
    screener[reprise]

    Puoi trovare molti esempi di codifica delle bande PRT in questo argomento francese: https://www.prorealcode.com/topic/prt-bands-trend-following-prorealtime/

    #164372 quote
    robertogozzi
    Moderator
    Master
    #164459 quote
    Centro
    Participant
    New

    Grazie Nicolas, molto gentile

    #164460 quote
    Centro
    Participant
    New

    Grazie Robertogozzi, ci guardo

    #164462 quote
    Centro
    Participant
    New

    Ciao Nicolas, scusa se approfitto, ma io di codice non capisco nulla, ti chiedo è possibile avere anche la versione contraria, lo screener che restituisca i risultati di ricerca con indicazione del segnale che è avvenuto il cambio di tendenza da rialzista a ribassista sulla linea a breve termine.

    grazie in anticipo

    #164470 quote
    Nicolas
    Keymaster
    Master

    Stesso codice ma con inversione di linea e solo durante un trend rialzista (sfondo verde)

    up = PRTBandsUp
    dn = PRTBandsDown
    a = PRTBandsShortTerm
    
    if close crosses over up and trend<=0 then //le prix casse la bande supérieure
     trend=1 //tendance haussière
    elsif close crosses under dn and trend>=0 then //le prix casse la bande inférieure
     trend=-1 //tendance baissière
    endif
    
    desc = a<a[1] and a[1]>a[2] and trend>0
    
    screener[desc]
    Centro thanked this post
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

PRT bands screener sulla linea a breve termine


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Centro @centro Participant
Summary

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

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