SCREENER 20 ET 50 JOURS DEBUT DE TENDANCE

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #182047 quote
    HervsHervs
    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_BywanJC_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
    HervsHervs
    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.
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 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 HervsHervs
4 years, 10 months ago.

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