Bougie hors BB (corps et mèche)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #194203 quote
    Ebly
    Participant
    New
    Bonjour,
    je souhaiterais avoir un pgm avec une flèche sur/sous les bougies 100% hors BB en fin de période (ex : Daily).
    J’ai trouvé le pgm ci-dessous mais il ne concerne que celles dont le corps (open et close) est hors BB.
    Que devrais-je modifier pour que mèche et corps soient hors BB ?
    Merci (désolé je suis complètement novice sur la programmation)
    bbup=BollingerUp[20](close)
    bbdn=BollingerDown[20](close)
    if open>bbup and close>bbup then
    drawarrowdown(barindex,high+AverageTrueRange[14](close)/2) coloured(255,0,0)
    elsif open<bbdn and close<bbdn then
    drawarrowup(barindex,lowAverageTrueRange[14](close)/2) coloured(0,255,0)
    endif
    return
    #194210 quote
    JC_Bywan
    Moderator
    Master

    Bonjour,

    Voici les 2 lignes à modifier pour avoir toute la bougie hors bb (suivies des anciennes lignes mises en commentaires après les “//”)

    bbup=BollingerUp[20](close)
    bbdn=BollingerDown[20](close)
    
    if low>bbup then // if open>bbup and close>bbup then
     drawarrowdown(barindex,high+AverageTrueRange[14](close)/2) coloured(255,0,0)
    elsif high<bbdn then // elsif open<bbdn and close<bbdn then
     drawarrowup(barindex,low-AverageTrueRange[14](close)/2) coloured(0,255,0)
    endif
    
    return
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Bougie hors BB (corps et mèche)


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Ebly @ebly Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_Bywan
3 years, 9 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 05/30/2022
Status: Active
Attachments: No files
Logo Logo
Loading...