calcul de lowest et highest dans une période passée

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #51987 quote
    unclebob504
    Participant
    Average

    Bonjour

    Est il possible de calculer un lowest ou et un hightest dans une période passée ?

    Je souhaiterais déterminer un highest  dans une periode déterminer par rapport à des bar index . ( voir graph, les x sont les barindex)

    defparam calculateonlastbars=1000
    
    for i=0 to 25 do
    result=0
    if open[i+1]<close[i+1] and open[i]>close[i] and close[i+1]<open[i]  and open[i+1]>close[i] then
    x=barindex[i]
    result=1
    drawtext("x",x,45.92)
    endif
    next
    
    return result as "result"
    
    
    

    Cordialement

    #51991 quote
    Nicolas
    Keymaster
    Master

    Cela semble être lié à l’autre sujet ?

    #51993 quote
    unclebob504
    Participant
    Average

    Oui tout à fait

    #52050 quote
    Nicolas
    Keymaster
    Master

    Ok, inutile de double poster dans ce cas, je répondrai dans l’autre topic: https://www.prorealcode.com/topic/determiner-un-bvarindex-precedent/

    #52083 quote
    unclebob504
    Participant
    Average

    OK je le saurais pour la prochaine fois !

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

calcul de lowest et highest dans une période passée


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by unclebob504
8 years, 3 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/08/2017
Status: Active
Attachments: No files
Logo Logo
Loading...