Aide code : croisement bande de Bollinger par Bougies

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #235992 quote
    alberto97400
    Participant
    New

    Bonjour,

    Suis à la recherche d’une programmation du croisement des bandes de bollinger & bougie journalière :

    Ligne du bas de la Bollinger : croisement de la bougie à la hausse,

    Ligne du haut de la Bollinger : croisement de la bougie à la baisse,

    Cf copie écran.

    Merci,

    Bien cordialement.

    BB.jpg BB.jpg
    #236001 quote
    Iván González
    Moderator
    Legend

    Holà. Série aussi :

    bbup=BollingerUp[20](close) 
    bbdn=bollingerdown[20](close)
    
    if close crosses over bbdn THEN 
    drawarrowup(barindex,bbdn)coloured("green")
    elsif close crosses under bbup then
    drawarrowdown(barindex,bbup)coloured("red")
    endif
    
    return bbup as "bollinger Up", bbdn as "bollinger down"
    #236012 quote
    alberto97400
    Participant
    New

    Bonjour,

    Merci pour ce retour, j’ai un message bloquant ?

    Voir pj 2

    BB2.jpg BB2.jpg
    #236019 quote
    Alai-n
    Participant
    Veteran

    alberto97400 Vous essayez de l’exécuter sur ProScreener, ce ne sera pas possible écrit comme ça ! Ce code s’applique dans la partie Indicateur !!!

    #236020 quote
    Alai-n
    Participant
    Veteran

    alberto97400 cela devrait être mieux comme ça pour “Screener”

    bbup=BollingerUp[20](close)
    bbdn=bollingerdown[20](close)

    if close crosses over bbdn THEN
    Signal = 1
    //drawarrowup(barindex,bbdn)coloured(“green”)
    elsif close crosses under bbup then
    Signal = -1
    //drawarrowdown(barindex,bbup)coloured(“red”)
    endif

    Screener[close crosses over bbdn Or close crosses under bbup](Signal as “Signal”)

    #236065 quote
    alberto97400
    Participant
    New

    Merci Alai-n, je fais souvent cet erreur, je teste…

    Encore merci !

    #236069 quote
    alberto97400
    Participant
    New

    J’ai testé, ça marche, juste changé la période des BB à 150 comme sur mes graphiques, pour coller à mes paramètres journaliers…

    Merci.

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

Aide code : croisement bande de Bollinger par Bougies


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 6 replies,
has 3 voices, and was last updated by alberto97400
2 years, 1 month ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 08/01/2024
Status: Active
Attachments: 2 files
Logo Logo
Loading...