signale break 30min sur ut inférieures

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #225409 quote
    olivierolivier
    Participant
    Junior

    Bonjour,

    je n’arrive pas à mettre un signal en clôture 30 min du break des bande de bollinger sur UT 1 minute.

    si je supprime le condition “if openminute=0…..”, le résultat : une multitude de points. Si je l’inscrit, le résultat : rien.

    la condition ne doit pas être la bonne pour avoir un signal à la clôture 30 minutes.

    Pouvez vous m’aider

    timeframe (30 minutes)
    bbup=BollingerUp[20](close)
    bbdown=bollingerdown[20](close)
    //ligne macd
    MMrapide = EXPONENTIALAVERAGE[12](CLOSE)
    MMlente = EXPONENTIALAVERAGE[26](CLOSE)
    e = MMrapide - MMlente// ligne macd
    
    timeframe(default)//1 minute
    //signal break bandebollinger 30 minutes en cloture
    if openminute=0 or openminute=30 then
    if close crosses under  bbdown then
    breakbbdown=1
    drawpoint (barindex,low-6,5)coloured(255,153,0)
    endif
    if close crosses over bbup then
    breakbbup=1
    drawpoint (barindex,high+6,5)coloured(255,153,0)
    endif
    endif
    return breakbbdown,breakbbup
    #225449 quote
    Alai-nAlai-n
    Participant
    Veteran

    Bonjour Olivier,

     

    Essayez de réduire la distance des points avec Low et High, lignes 14 et 18 !

    timeframe (30 minutes)
    bbup=BollingerUp[20](close)
    bbdown=bollingerdown[20](close)
    //ligne macd
    MMrapide = EXPONENTIALAVERAGE[12](CLOSE)
    MMlente = EXPONENTIALAVERAGE[26](CLOSE)
    e = MMrapide - MMlente// ligne macd
     
    timeframe(default)//1 minute
    //signal break bandebollinger 30 minutes en cloture
    if openminute=0 or openminute=30 then
    if close crosses under  bbdown then
    breakbbdown=1
    drawpoint (barindex,low-0.3,5)coloured(255,153,0)
    endif
    if close crosses over bbup then
    breakbbup=1
    drawpoint (barindex,high+0.3,5)coloured(255,153,0)
    endif
    endif
    return breakbbdown,breakbbup
    #225451 quote
    olivierolivier
    Participant
    Junior

    bonjour,

    le résultat est identique

    #225455 quote
    Alai-nAlai-n
    Participant
    Veteran

    Si j’ai bien compris, vous voulez afficher un Drawpoint à chaque fois qu’une close UT 1 minute, clôture au-dessus/en-dessous des Bollinger prises sur un Graph. UT 30 minutes !

    Si c’est bien ça, le premier problème résidait dans l’échelle, soit ma réponse précédente, deuxièmement assurez vous que votre graphique en UT 1 minute vous affiche assez d’historique afin d’identifier le moment où la condition a été remplit!

    Photo jointe graph 1 minute sur le SP500(chez moi cela a l’air de fonctionner!)

    Capture-decran-2023-12-19-161205.png Capture-decran-2023-12-19-161205.png
    #225461 quote
    Alai-nAlai-n
    Participant
    Veteran

    C’est ennuyeux que l’on ne puisse modifier ses précédents posts, car du coup cela laisse bcp de déchets sur le site !@Nicolas

     


    @Olivier
    , j’ai retester sur plusieurs exemples et il y a en effet qque chose d’anormal! Cela ne déclenche pas systématiquement comme cela, le devrait ! Désolé, je suis Out…

    #225494 quote
    olivierolivier
    Participant
    Junior

    merci pou l’aide. non je veux un drawpoint à la cloture 30 min sur un graphe 1 min si le prix a croisé les bollingers 30 min.

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

signale break 30min sur ut inférieures


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
olivier @olivier Participant
Summary

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

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