Question à propos des bandes de Bollinger

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #250387 quote
    umrk
    Participant
    New

    J’ai de forts soupçons selon lesquels , pour calculer les indicateurs BollUp et BollDown, PRT utilise la moyenne du cours à la clôture (p ex Average[20]Close pour les Boll20).

    Mais ce n’est pas ce que j’ai fait dans mon algo sous excel !  dans cet algo j’utilise (Low,+High+Close)/3, dont je calcule la moyenne sur 20, 150 périodes.

    Quelqu’un pourrait il me dire comment calculer les bandes de Bollinger selon ma logique à moi ? MERCI !

    #250388 quote
    robertogozzi
    Moderator
    Legend

    Utilisez le prix TYPICAL, comme sur la photo.

    Iván González and umrk thanked this post
    x.jpg x.jpg
    #250392 quote
    Iván González
    Moderator
    Legend

    Bonjour, voici l’indicateur des bandes de Bollinger décomposé.
    Vous pouvez changer la variable src par ce que vous voulez.

    p=20
    type=0
    s=2
    
    src=(high+low+close)/3 //close
    
    AvgBollinger = Average[p,type](src)
    dev = STD[p](src)
    
    bollTop = AvgBollinger + s * dev
    bollBot =AvgBollinger - s * dev
    
    return bollTop AS "Boll+", bollBot AS "Boll-", AvgBollinger as "Avg"
    umrk and robertogozzi thanked this post
    #250393 quote
    umrk
    Participant
    New

    Merci !

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

Question à propos des bandes de Bollinger


Support Plateforme : Graphiques, Données & Courtiers

New Reply
Author
author-avatar
umrk @umrk Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by umrk
1 year ago.

Topic Details
Forum: Support Plateforme : Graphiques, Données & Courtiers
Language: French
Started: 09/05/2025
Status: Active
Attachments: 1 files
Logo Logo
Loading...