Bougie Pénétrante/Piercing Pattern

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #64105 quote
    Alai-nAlai-n
    Participant
    Veteran

    Bonjour. J’apprécierai bien un petit coup de main afin de faire évoluer le code ci-dessous!

    L’idée étant de reconnaître les “Bougies Pénétrantes”.

    Pour ce faire il faudrait que je puisse prendre en référence la “Bougie[1]” en terme de %. Comme dans l’image (1) ci-jointe!

    Actuellement mon code donne des résultats tels que l’image(2) ci-jointe.

    Sauriez-vous faire?

    Merci

    // Candlestick Detection | Indicator Price
    
    Indicateur = 0
    rge = averagetruerange[10](close)
    
    IF Open[1]>Close[1] and Open<Close[1] and Close>Open and Close<Open[1] and Close>Close[1] and High<High[1] THEN
    DRAWARROWUP(barindex,low-rge/2)coloured(0,255,255)
    Indicateur = 1
    ENDIF
         
    IF Open[1]<Close[1] and Open>Close[1] and Close<Open and Close>Open[1] and Close<Close[1] and Low>Low[1] THEN
    DRAWARROWDOWN(barindex,high+rge/2)coloured(0,255,255)
    Indicateur = -1
    ENDIF
    
    RETURN Indicateur
    
    Piercing-Pattern.jpg Piercing-Pattern.jpg Piercing-Pattern-2.jpg Piercing-Pattern-2.jpg
    #64390 quote
    NicolasNicolas
    Keymaster
    Legend

    As-tu regardé si ce pattern n’était déjà pas disponible dans l’un de ces 2 indicateurs de la bibliothèque ?

    https://www.prorealcode.com/prorealtime-indicators/candlestick-patterns-recognition/

    https://www.prorealcode.com/prorealtime-indicators/candlesticks-patterns-indicator/

    Alai-n thanked this post
    #64411 quote
    Alai-nAlai-n
    Participant
    Veteran

    En effet, cela existe déjà et mieux écrit qu’à ma sauce!!!

    Merci pour les liens et bonne reprise…

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

Bougie Pénétrante/Piercing Pattern


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Alai-n @alai-n Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Alai-nAlai-n
8 years, 6 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/28/2018
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...