BREAKOUT 08H00-09H00 durant la journée

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #161118 quote
    larouedegannlarouedegann
    Participant
    Master

    Bonjour à tous.

    Il y a bien longtemps que je n’ai pas fait de PROGRAMATION d’indicateur et je coince un peu…….

    Le but étant de dessiner de 08h00 à 21h59 en graphique 1 minute

    le plus haut et le plus bas de 08h00-08h59.(voir graphique).

    J’ai fait un indicateur mais celui-ci n’est pas bon, il part de 0.

    MERci à vous.

    IF TIME >=080000 and TIME<=085900 THEN
    plushaut=highest[59](high)
    plusbas = lowest[59](low)
    ENDIF
    
     
    RETURN plushaut AS "plus haut 8h-9h",plusbas AS "plus bas 8h-9h"
    BUNDXXXX_8-1-minute.png BUNDXXXX_8-1-minute.png
    #161153 quote
    NicolasNicolas
    Keymaster
    Legend

    Je pense que cet article du blog te sera utile : Déterminer une breakout box entre 2 horaires

    PLermite thanked this post
    #161215 quote
    larouedegannlarouedegann
    Participant
    Master

    Merci à toi, Nicolas

    J’ai cherché pendant des heures sur le forum sans rien voir..;)

    IF intradaybarindex = 0 THEN
    valeurhaute = 0
    valeurbasse = close*10
    ENDIF
    
    tcondition = TIME>=080000 and TIME<=090000
    IF tcondition THEN
    valeurhaute = max(valeurhaute,high)
    valeurbasse = min(valeurbasse,low)
    ENDIF
    
    RETURN valeurhaute,valeurbasse

    Comme quoi, il faut toujours s’adresser à la bonne personne

    A plus

    MERCI

    BUNDXXXX_8-1-minute-1.png BUNDXXXX_8-1-minute-1.png
Viewing 3 posts - 1 through 3 (of 3 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

BREAKOUT 08H00-09H00 durant la journée


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/11/2021
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...