SCREENER 20 ET 50 JOURS DEBUT DE TENDANCE

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #182047 quote
    Hervs
    Participant
    Average

    Bonjour,

    je me suis crée un indicateur basique de tendance ci-dessous:

    sma20 = average[20](close)
    sma50 = average[50](close)
    
    value = sma20/sma50
    c1= (value >= 1.05)
    
    return C1

    et j’ai réalisé un screener en lien ci dessous :

    sma20 = average[20](close)
    sma50 = average[50](close)
    
    value = sma20/sma50
    c1= (value >= 1.05)
    
    SCREENER (C1)

     

    Voila je souhaiterais ajouter une variable (modifiable), je voudrais détecter par mon Screener, les actions qui n’ont le signal depuis 10 jours Maximum( je vous ai mis un schéma en complément).

    Je vous remercie par avance

    Capture-decran-331.png Capture-decran-331.png
    #182159 quote
    JC_Bywan
    Moderator
    Master

    Bonjour, on peut tester comme ceci:

    sma20 = average[20](close)
    sma50 = average[50](close)
    
    value = sma20/sma50
    c1= (value >= 1.05)
    
    cumulc1=summation[11](c1)
    
    c2= (cumulc1<=10)
    
    SCREENER[C1 and C2](cumulc1)
    #182169 quote
    Hervs
    Participant
    Average

    Bonsoir JC,

    c’est exactement ce que je souhaitais, je te remercie beaucoup pour ton aide.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

SCREENER 20 ET 50 JOURS DEBUT DE TENDANCE


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Hervs @hervs Participant
Summary

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

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