Bollinger middle band : appel direct dans ProBuilder ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #265536 quote
    OURCETOURCET
    Participant
    Junior

    Bonjour

    Dans le manuel on trouve BollingerUp et BollingerDown mais existe-il l’appel à la Bollinger du milieu autrement que par le calcul.

    Merci

    #265538 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Bonjour. La bande centrale correspond à une moyenne mobile sur N périodes. Par défaut, il s’agit d’une moyenne mobile simple.


    #265543 quote
    NicolasNicolas
    Keymaster
    Legend

    C’est en effet une moyenne mobile simple (arithmétique) de période 20, soit l’instruction:

    average[20](close)
    
    


    #265547 quote
    OURCETOURCET
    Participant
    Junior

    Bonjour,

    Merci Ivan, mais je voulais connaitre le code permettant d’utiliser la bollinger du milieux comme on utilise BollingerUp ou BollingerDown.

    Merci

    #265552 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Voici un indicateur simple qui utilise les trois bandes :

    bollU = BollingerUp[20](close)    //Bande supérieure
    bollD = BollingerDown[20](close)  //Bande inférieure
    bollM = average[20](close)        //Bande centrale
    IF high >= bollU AND close <= bollU THEN
       DrawText("Le prix est très proche de la bande supérieure",BarIndex,bollU+range)
    ELSIF close >= bollD AND low <= bollD THEN
       DrawText("Le prix est très proche de la bande inférieure",BarIndex,bollU+range)
    ELSIF (close >= bollM AND low <= bollM) THEN
       DrawText("Le prix est très proche de la bande médiane.",BarIndex,bollU+range)
    ENDIF
    RETURN
    



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

Bollinger middle band : appel direct dans ProBuilder ?


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
OURCET @ourcet Participant
Summary

This topic contains 4 replies,
has 4 voices, and was last updated by robertogozzirobertogozzi
5 hours, 42 minutes ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 10/08/2026
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...