Wedge pattern screener

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #78987 quote
    supertitisupertiti
    Participant
    Master

    https://www.prorealcode.com/prorealtime-market-screeners/wedge-pattern-screener/

    Bonjour à tous , bonjour Nicolas

    Est-il possible d’avoir trois screeners qui sache différencier les triangles :

    1- ascendants

    2- symetriques

    3- descendants

    merci pour ton aide

    #78989 quote
    NicolasNicolas
    Keymaster
    Legend

    Ou tout simplement identifier le pattern détecté par le screener avec un numéro ?

    #79036 quote
    supertitisupertiti
    Participant
    Master

    bonjour Nicolas

    Oui pourquoi pas ? si c’est plus facile pour toi.

    bon week end

    #79216 quote
    NicolasNicolas
    Keymaster
    Legend

    Le type de triangle détecté est désormais affiché dans la colonne de tri de ProScreener, soit n°1, 2 ou 3.

    De mémoire :

    1. triangle descendant
    2. triangle symétrique
    3. triangle ascendant
    //PRC_Wedge pattern | screener
    //12.09.2016
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    //fractals
    cp = 10 //lookback
    
    if high[cp] >= highest[(cp)*2+1](high) then
    LLH = 1
    else
    LLH = 0
    endif
    
    if low[cp] <= lowest[(cp)*2+1](low)  then
    LLL = -1
    else
    LLL = 0
    endif
    
    if LLH = 1 then
    a = b[1]
    abar = bbar[1]
    b = high[cp]
    bbar = barindex[cp]
    endif
    
    if LLL = -1 then
    c = d[1]
    cbar = dbar[1]
    d = low[cp]
    dbar = barindex[cp]
    endif
    
    c1 = a<b and c<d and abs(abar-bbar)>abs(cbar-dbar) and abs(a-b)<abs(c-d)
    c2 = a>b and c<d
    c3 = a>b and c>d and abs(abar-bbar)<abs(cbar-dbar) and abs(a-b)>abs(c-d)
    
    if c1 then 
    pattern = 1
    elsif c2 then 
    pattern = 2
    elsif c3 then 
    pattern = 3
    endif
    
    SCREENER [c1 or c2 or c3] (pattern as "type triangle n°")
    Meta Signals Pro thanked this post
    screener-triangle.png screener-triangle.png
    #79235 quote
    supertitisupertiti
    Participant
    Master

    Merci Nicolas pour cet excellent travail comme d’hab !

    d’après les retours du screener je verrai plutôt :

    3 = triangles descendants

    2 = triangles symétriques

    1 = pas de résultat ce jour  mais je vote pour des triangles ascendants

    Encore merci , bonne journée et bons trades

    nota = si tu pouvais joindre le code dans la rubrique screener cela servirai bien la communauté PRC

    Meta Signals Pro thanked this post
    #79881 quote
    supertitisupertiti
    Participant
    Master

    @ Nicolas

    Je teste journellement ce screener en daily depuis ta proposition.

    Les retours de type 2 et 3 fonctionnent bien.

    En revanche ceux de type 1 = triangles ascendants sont absents alors que visuellement j’en ai vu plusieurs depuis.

    Vois tu un bug possible dans ton code ?

    Bonne journée

    #79937 quote
    NicolasNicolas
    Keymaster
    Legend

    Oui j’en ai des tonnes. Si tu filtres la liste en partant du plus bas, tu devrais en avoir, puisque la liste se remplira à partir de 1 et non pas 3 (si filtre à partir de la valeur maximale).

    #79942 quote
    supertitisupertiti
    Participant
    Master

    Bonjour Nicolas

    Je viens de recopier ton code au cas où ?!

    Je n’avais pas pensé à l’effet du filtre 321 ou 123 cependant je n’ai toujours pas de 1 ?

    en daily sur la journée d’hier sur le SRD j’ai 72 retours que des 3 ou 2

    As tu le même résultat ?

    #79956 quote
    NicolasNicolas
    Keymaster
    Legend

    J’ai testé sur le NASDAQ et le NYSE et j’ai bien des 1. Ce que tu vois visuellement à l’écran n’est sans doute pas ce qu’à calculer le screener, voilà tout 🙂

    #79961 quote
    supertitisupertiti
    Participant
    Master

    Je viens de tester différents marchés et nous avons bien des 1.

    Le problème vient SRD depuis 10 jours pas de 1 ??!! essaies de ton côté pour voir

    #79962 quote
    NicolasNicolas
    Keymaster
    Legend

    J’en ai quelques uns, voir image.

    La variable ‘cp’ est à 10 périodes, voir pour moduler celle-ci.

    screener-triangle.png screener-triangle.png
    #79965 quote
    supertitisupertiti
    Participant
    Master

    voici le code que j’utilise :

    //Wedge pattern selection screener PRC 12.09.2016
    //PRC_Wedge pattern | screener
    //12.09.2016
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
     
    //fractals
    cp = 10 //lookback
     
    if high[cp] >= highest[(cp)*2+1](high) then
    LLH = 1
    else
    LLH = 0
    endif
     
    if low[cp] <= lowest[(cp)*2+1](low)  then
    LLL = -1
    else
    LLL = 0
    endif
     
    if LLH = 1 then
    a = b[1]
    abar = bbar[1]
    b = high[cp]
    bbar = barindex[cp]
    endif
     
    if LLL = -1 then
    c = d[1]
    cbar = dbar[1]
    d = low[cp]
    dbar = barindex[cp]
    endif
     
    c1 = a<b and c<d and abs(abar-bbar)>abs(cbar-dbar) and abs(a-b)<abs(c-d)
    c2 = a>b and c<d
    c3 = a>b and c>d and abs(abar-bbar)<abs(cbar-dbar) and abs(a-b)>abs(c-d)
     
    if c1 then
    pattern = 1
    elsif c2 then
    pattern = 2
    elsif c3 then
    pattern = 3
    endif
     
    SCREENER [c1 or c2 or c3] (pattern as "type triangle n°")
    wedge-070918.jpg wedge-070918.jpg
    #79970 quote
    supertitisupertiti
    Participant
    Master

    J’ai contourné le problème en créant un screener juste avec C1 !

    #114692 quote
    roncevaux68roncevaux68
    Participant
    Senior

    bonjour a tous

    sur votre programme on détecte les triangles comme

    1. triangle descendant
    2. triangle symétrique
    3. triangle ascendant

    petite question serais t”il possible de détecte les biseaux

    en 5 biseau descendant

    et en 6 biseau ascendant.

    ou si non pas possible , faut t’il crée un nouveau screener qui détecterai que les biseaux

    cordialement

    #132853 quote
    senasena
    Participant
    Junior

    Bonjourà tous,

    Je cherche un un screener qui detecte les figures biseau. Si quelqu’un a une idée, je suis preneur.

    Merci à vous.

    Cordialement

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

Wedge pattern screener


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

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

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 08/24/2018
Status: Active
Attachments: 4 files
ProRealCode ProRealCode
Loading...