Screener avec Nombre de bougies

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #215662 quote
    Dany12
    Participant
    Junior

    Bonjour,

    quelqu’un pourrait m’aider à ajouter le nombre de bougie depuis que le prix a dépassé la m7 svp ? Merci…

    indicator1 = Average[7](close)
    indicator2 = indicator1
    c1 = (indicator1 > indicator2[1])

    indicator3 = Average[7](close)
    indicator4 = Average[50](close)
    c2 = (indicator3 > indicator4[1])

    indicator5 = Average[7](close)
    c3 = (close > indicator5)

    c4 = (close >= close[1])

    okvol=average[20](close*volume)>300000

    SCREENER[c1 AND c2 AND c3 AND c4 AND okvol](Variation AS “% Barre prec”)

    #215705 quote
    JC_Bywan
    Moderator
    Master

    Bjr,

    Version un peu nettoyée par rapport à l’assistant de création assistée (qui donne plusieurs noms différents au même indicateur), avec ajoût d’un compteur de barres depuis le croisement et tant que le prix reste au-dessus de la sma7, à tester:

    indicator1 = Average[7](close)
    c1 = indicator1 > indicator1[1]
    
    indicator4 = Average[50](close)
    c2 = indicator1 > indicator4[1]
    
    c3 = close > indicator1
    
    c4 = close >= close[1]
    
    okvol=average[20](close*volume)>300000
    
    if close crosses over indicator1 then
    barrecroisement=barindex
    endif
    if not c3 then
    compteurbarres=0
    else
    compteurbarres=barindex-barrecroisement+1
    endif
    
    SCREENER[c1 AND c2 AND c3 AND c4 AND okvol](compteurbarres AS "barres depuis croisement sma7")
    #215749 quote
    Dany12
    Participant
    Junior

    Super, ça fonctionne. Un grand Merci !

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

Screener avec Nombre de bougies


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Dany12 @dany12 Participant
Summary

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

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 06/05/2023
Status: Active
Attachments: No files
Logo Logo
Loading...