Screener de consolidation

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

    Bonjour,

    je recherche un screener pour les actions qui classe les consolidations avec une MACD positive.

    Si l’action ferme plus bas qu’elle n’ouvre 1 jour avant cela donnera +1

    Si l’action ferme plus bas qu’elle n’ouvre les 2 jours précédents, cela donnera +2

    Si l’action ferme plus bas qu’elle n’ouvre les 3 jours précédents, cela donnera +3

    Jusqu’à +5.

    Pourriez-vous s’il vous plait m’aider dans cette requête?

    En vous remerciant par avance.

    #24939 quote
    NicolasNicolas
    Keymaster
    Legend

    Bonjour David, voici un code de screener plutôt rapide, non testé, qui devrait faire ce que tu cherches à obtenir :

    mymacd = average[12,1]-average[26,1]
    consolidation = summation[5](close<open[1])
    
    c = mymacd>0 and consolidation>0
    
    screener [c] (consolidation as "nb jours conso")
    
    #24955 quote
    DAVIDDAVID
    Participant
    Average

    Merci beaucoup pour votre aide, ce code fonctionne parfaitement.

    Bonne journée,

    David

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 de consolidation


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
DAVID @david-tisseyre Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by DAVIDDAVID
9 years, 8 months ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 02/10/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...