affichage des plus haut et plus bas mensuel

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #108181 quote
    primo1primo1
    Participant
    Average
    //superieur des 24h derniers heures
    haut24h=Dhigh(close)[1]
         
    //inferieur des 24h derniers heures
    bas24h=Dlow(close)[1]
    //superieur du mois
    hautmois=high>highest[2304](close)
    //inferieur du mois
    basmois=(low)<lowest[2304](close)
    
    
    DRAWTEXT("haut24h",barindex,haut24h,SansSerif,Bold,16)coloured(153,153,0)
    DRAWTEXT("bas24h",barindex,bas24h,SansSerif,Bold,16)coloured(153,153,0)
    DRAWTEXT("hautmois",barindex,hautmois,SansSerif,Bold,16)coloured(153,153,0)
    DRAWTEXT("basmois",barindex,basmois,SansSerif,Bold,16)coloured(153,153,0)
    
    DRAWHLINE(haut24h)coloured (0,0,0)
    DRAWHLINE(bas24h)coloured (0,0,0)
    DRAWHLINE(hautmois)coloured (0,0,0)
    DRAWHLINE(basmois)coloured (0,0,0)
    
    
    return
    

    Hello,

     

    je n arrive pas à avoir les lignes horizontales sur les graphiques .

     

    Je voudrais aussi avoir haut et bas du mois et de l annee en cours

     

    merci de votre aide

    #108182 quote
    fifi743fifi743
    Participant
    Master

    bonjour

    modifie ces deux lignes pour commencer

    //superieur des 24h derniers heures
    haut24h=Dhigh(1)
        
    //inferieur des 24h derniers heures
    bas24h=Dlow(1)

     

    #108211 quote
    NicolasNicolas
    Keymaster
    Legend

    Titre modifié et sujet déplacé au bon endroit. Merci par avance pour votre collaboration à maintenir un forum bien rangé et où on trouve facilement des réponses à des questions grâce à des titres évocateurs.

    #108292 quote
    fifi743fifi743
    Participant
    Master

    bonsoir,

    j’ai écrit ce qui suit .

    les plus haut et plus bas mensuel

    et les haut et bas de la semaine

    a verifier

    cordialement

    if day<=2 and time=010000 then
    LLMens=low
    HHMens=High
    endif
    if CurrentDayOfWeek=1  and time=010000 then
    LLSEM=LOW
    HHSEM=High
    endif
    if LLmens>low then
    LLMens=LOW
    endif
    if HHMENS<high then
    HHmens=high
    endif
    if LLSem>low then
    LLSEm=LOW
    endif
    if HHSEm<high then
    HHSEM=high
    endif
    
    return LLmens as"Bas mensuel",HHMens as "haut mensuel" ,LLSEm as "bas semaine",HHSem as " haut de la semaine"
    #108305 quote
    NicolasNicolas
    Keymaster
    Legend

    Il y a ce qu’il faut dans ce sujet: https://www.prorealcode.com/topic/configuration-plus-haut-plus-bas-precedent/

    fifi743 thanked this post
    #108475 quote
    primo1primo1
    Participant
    Average

    Merci et desole

    #112747 quote
    primo1primo1
    Participant
    Average

    bonjour,

    Pouvez vous m aider?

    comment écrire un texte sur une ligne  et comment placer ce texte?

     

    merci par avance

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

affichage des plus haut et plus bas mensuel


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
primo1 @primo1 Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 09/22/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...