bande bollinger custom

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #211403 quote
    gregoiregregoire
    Participant
    Senior

    bonjour tout le monde.

    j ai cherché mais pas trouvé, j ai besoin de bande de bollinger avec les fonctions décalage à droite et à gauche et de haut en bas comme pour les moyennes mobiles dans prt, si quelqu’un à ça dans un coin sa me rendrait un grand service pour baktest.

    merci à vous

    cordialement.

    greg

    #211565 quote
    gregoiregregoire
    Participant
    Senior

    bonjour tout le monde.

    j ai cherché mais pas trouvé, j ai besoin de bande de bollinger avec les fonctions décalage à droite et à gauche et de haut en bas comme pour les moyennes mobiles dans prt, si quelqu’un à ça dans un coin sa me rendrait un grand service pour baktest.

    merci à vous

    cordialement.

    greg

    bon je me répond à moi même, du coup grâce au cour de nico j ai réussi à me la fabriqué, il me manque juste un ptit truc, avec l évolution de la v11 peut on maintenant décalé à droite ? si oui je veux bien la formule que je puisse l’intégré.

    merci beaucoup.

    cordialement.

    #211578 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    C’est la version standard :

    English
    -------
    BB     = 20                                 //20   periods
    BBdev  = 2.0                                //2.0  standard deviation
    BBavg  = average[BB,0](close)               //BB mean (middle line)
    UPboll = BBavg + ((std[BB](close)) * BBdev) //BB Upper Band
    LOboll = BBavg - ((std[BB](close)) * BBdev) //BB Lower Band

    C’est la version décalée :

    //
    // SHifted
    //
    BBVal    = 20                                              //20   periodi BB
    BBdev    = 2.0                                             //2.0  deviazione BB
    ShiftNum = 0                                               //0    numbers of shifted periods
    BBavg    = average[BBval,0](close[ShiftNum])               //BB mean (middle line)
    BollUp   = BBavg + ((std[BBval](close[ShiftNum])) * BBdev) //BB Upper Band
    BollDn   = BBavg - ((std[BBval](close[ShiftNum])) * BBdev) //BB Lower Band
    #211591 quote
    gregoiregregoire
    Participant
    Senior

    haa, super merci roberto,je pensais avoir trouvé la solution avec decay mais là j apprend quelques chose,merci beaucoup je vais faire la modification.

    bonne journnée

    #212029 quote
    gregoiregregoire
    Participant
    Senior

    bonjour robertogozzi

    j ai testé merci beaucoup cependant j ‘ai toujours le problème du décalage vers la gauche !, je pensais qu avec la v11 c ‘était possible ?, toujours pas ?

    merci

    #212039 quote
    NicolasNicolas
    Keymaster
    Legend

    Tu souhaites décaler visuellement ? Sans toucher aux données ?

    #212066 quote
    gregoiregregoire
    Participant
    Senior

    bonjour Nicolas oui pour optimisé mon point d entré enfin essayé voir si sa fonctionne.

    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

bande bollinger custom


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
gregoire @gregus Participant
Summary

This topic contains 6 replies,
has 3 voices, and was last updated by gregoiregregoire
3 years, 6 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 03/12/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...