Tracé du segment pas horizontal

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #129830 quote
    Roland57800
    Participant
    Veteran

    Bonjour,

    j’ai un petit code qui me donne un signal

    j’ai tracé une petite ligne horizontale, mais elle n’est pas horizontale

    le point de départ est correct et elle s’élève légèrement au lieu de rester horizontale

    Quelle peut-être l’erreur dans le code

    Merci pour la réponse

    Cordialement

     

     

    signal = 0
    
    sl=((high/low)-1)*100
    
    
    
    if sl <= seuil and sl = lowest[periode](sl)  and close > WeightedAverage[4](close)  then
    
    signal = 1
    
    if signal >0  then
    periode = 5
    
    Resistance = highest [periode] (close)
    DRAWSEGMENT(BarIndex + (periode),Resistance,BarIndex,high) coloured(30,144,255) STYLE(line,3)
    
    endif
    
    endif
    return
    #129832 quote
    Nicolas
    Keymaster
    Master

    Désolé, je ne répondrai pas à la question. Merci de LIRE LES REGLES ET DE NE PAS DOUBLE POSTER !! On passe plus de temps à modérer qu’à répondre aux questions 👿

    Ton autre sujet : https://www.prorealcode.com/topic/probleme-de-tracage-dune-ligne-horizontale-pour-signal/

    #129845 quote
    Roland57800
    Participant
    Veteran

     

    Désolé

    bon après-midi

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

Tracé du segment pas horizontal


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 05/04/2020
Status: Active
Attachments: No files
Logo Logo
Loading...