screener multi timeframe avec moyennes mobiles 200 et 100 périodes

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #152259 quote
    Miko31Miko31
    Participant
    Senior

    Bonjour,

    je n’arrive pas à éliminer les actions qui sont baissières depuis longtemps dans les screeners journaliers ou 1H. J’ai tenté plusieurs codes avec TIMEFRAME (xxx) mais ça ne marche pas.

    par exemple

    SCREENER : ne vérifie pas  la condition “SMA100<SMA200 sur les 200 dernières barres” en WEEKLY    AND     “close crosses over MM20” en DAILY

    pourriez-vous m’aider ?

    Merci par avance

    #152283 quote
    NicolasNicolas
    Keymaster
    Legend

    C’est logique, puisque la valeur d’une MM200 commencera à se calculer à la 200ème barre, et ProScreener n’a que 254 barres d’historique disponible. Donc ton test des “200 dernières barres” doit être réduit :

    timeframe(weekly)
    sma100=average[100]
    sma200=average[200]
    c1 = summation[56](sma100<sma200)=56
    
    timeframe(daily)
    c2 = close crosses over average[20]
    
    screener[c1 and c2]
    #152284 quote
    Miko31Miko31
    Participant
    Senior

    Mais, oui ! Je n’avais pas pensé à cette limite de 254 barres. Merci beaucoup Nicolas, merci pour tous vos conseils sur ce forum !

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 multi timeframe avec moyennes mobiles 200 et 100 périodes


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Miko31 @pascale31 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Miko31Miko31
5 years, 10 months ago.

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