candle color croisement chikou span et Bande de Bollinger

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #222258 quote
    xclncia
    Participant
    New

    Bonjour

    je souhaiterais colorier la bougie quand la chikou span de l’indicateur ichimoku croise la bande de bollinger .

    J’ai parcouru le forum mais je n’ai rien trouvé qui pourrait ressemblé à ma demande

    auriez vous une idée s’il vous plait

    Capture.png Capture.png
    #222260 quote
    Nicolas
    Keymaster
    Master

    La Chikou, c’est le prix actuel mais 26 périodes en arrière, donc on peut tester le croisement du Close avec la Bollinger haute il y a 26 chandeliers :

    if close crosses over bollingerup[20][26] then 
     drawcandle(open,high,low,close) coloured("white")
    endif 
    
    return
    #222263 quote
    xclncia
    Participant
    New

    ca fonctionne parfait Merci, et pour le croisement par le bas je dois modifier quoi svp?

    la bande de bollinger je l’utilise en période 20 écart type 2.5

    #222264 quote
    xclncia
    Participant
    New

    après avoir cherché un peu j’ai réussi pour le croisement par le bas par contre je ne trouve pas comment modifier l’écart type

    #222360 quote
    xclncia
    Participant
    New

    si quelqu’un a une idée pour modifier l’écart type et l’avoir en 2.5, ca serait top un grand merci en tout cas

    #222361 quote
    JC_Bywan
    Moderator
    Master

    Bonjour,

    sma=20
    facteur=2.5
    bollupperso = average[sma](close)+facteur*STD[sma](close)
    xclncia thanked this post
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

candle color croisement chikou span et Bande de Bollinger


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
xclncia @xclncia Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by JC_Bywan
2 years, 5 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 10/11/2023
Status: Active
Attachments: 1 files
Logo Logo
Loading...