Indicateur Zig Zag : screener avec retracement 61,8%

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #262462 quote
    philippe noury
    Participant
    Junior

    Bonjour

    n’est-il pas possible de créer à partir de l’indicateur ZIG ZAG, un screener avec un retracement minimum de 61,8% ?

    dans l’attente cordialement


    #262463 quote
    JC_Bywan
    Moderator
    Master

    Bonjour, le zigzag n’est pas adapté pour le temps réel, car il se sert de bougies “futures” par rapport à la bougie de calcul. Donc pas adapté à un screener. Il ne sert qu’à dessiner les extrêmes du passé, pour lequel le futur immédiat des bougies (le passé “moins passé”) est déjà connu. En temps réel en indicateur, sa valeur courante serait modifiée si on regardait la même bougie quelques bougies plus tard en relançant l’indicateur (il “repeint”).

    robertogozzi and Iván González thanked this post
    #262487 quote
    Nicolas
    Keymaster
    Legend

    Ce screener utilise les plus hauts et bas des derniers 65 chandeliers:

    Fibonacci 61.8% retracement

    Sinon tu peux tester celui là:

    // -------------------------------------------------------
    // Screener ZigZag natif PRT + Fibonacci 61.8%
    // Paramètres :
     ZZpercent   = 5    // amplitude du ZigZag en %
     nearpercent = 1    // proximité max au niveau 61.8% en %
    // -------------------------------------------------------
    
    
    zz = zigzag[ZZpercent](close)
    
    
    // Détection des pivots
    itop = zz[1] > zz[0] and zz[1] > zz[2]
    ibot = zz[1] < zz[0] and zz[1] < zz[2]
    
    
    // Mémorisation du dernier sommet et du dernier creux confirmés
    if itop then
        hh = zz[1]
    endif
    if ibot then
        ll = zz[1]
    endif
    
    
    // Calcul du niveau 61.8% entre le dernier creux et le dernier sommet ZigZag
    level618    = ll + (hh - ll) * 0.618
    distancePct = ABS(1 - (close / level618)) * 100
    
    
    SCREENER[distancePct < nearpercent](distancePct)
    
    Iván González thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Indicateur Zig Zag : screener avec retracement 61,8%


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Nicolas
1 month, 2 weeks ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 07/11/2026
Status: Active
Attachments: No files
Logo Logo
Loading...