Demande aide pour améliorer mon screener de croisement CCI

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #89048 quote
    philvm69philvm69
    Participant
    Average

    Bonjour Nicolas,

    Tout d’abord mes meilleurs voeux pour 2019 et la santé en premier.

    Je me permets de venir chercher ton expérience pour améliorer mon screener qui de donne un croisement haussier du CCI du niveau de 100:

    indicator1 = CCI[20]
    
    c1 = (indicator1 >= indicator1[1])
    
    c2 = indicator1 crosses over -100
    
    indicator2 = volume
    
    c3 = indicator2 > 100000
    
    SCREENER[c1 and c2 and c3] ((close/DClose(1)-1)*100 AS "% Veille")

     

    Je chercher mais n’arrive pas à coder ceci: une fois passé le niveau -100 à la hausse, le screener devrait me donner dans le partie tri (au lieu de close/DClose(1)-1)*100 AS “% Veille”) le nombre d’UT depuis le croisement (tout en restant > à -100 et étant en croissance).

    Je te remercie d’avance pour ton aide précieuse,

    Cordialement,

    Philippe

    #90625 quote
    philvm69philvm69
    Participant
    Average

    Nicolas ?

    Merci

    #90630 quote
    NicolasNicolas
    Keymaster
    Legend

    Désolé, je n’avais pas vu ton message auparavant.

    Si j’ai bien compris ta demande, je pense que ça devrait fonctionner :

    Le screener renvoie les résultats pour les instruments qui ont toujours été en CCI ascendant (ou égal) depuis le croisement du niveau -100, le critère de tri étant la quantité de barres depuis le croisement:

    icci = CCI[20]
    
    if icci crosses over -100 then 
    start=barindex
    endif
    
    count = 0
    if(icci>-100) then 
    for i = 0 to (max(1,barindex-start)) do 
    if icci[i]>=icci[i+1] then 
    count=count+1
    else
    count=0
    break
    endif
    next
    endif
    
    result = count>0
    v = volume > 100000
    
    SCREENER [v and result] (count)
    #90675 quote
    philvm69philvm69
    Participant
    Average

    Impec Merci Nicolas

Viewing 4 posts - 1 through 4 (of 4 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

Demande aide pour améliorer mon screener de croisement CCI


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
philvm69 @philvm69 Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by philvm69philvm69
7 years, 8 months ago.

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