renvoyer une valeur depuis la dernière tendance

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #124228 quote
    bobo
    Participant
    Average

    Bonjour à tous et à Nicolas,

    Je cherche à codifier un indicateur qui me renvoie le plus haut de chaque bougie depuis la dernière fois que mon indicateur “tendance”=1.(c’est à dire depuis le 22/05/2018 dans mon exemple)

    Code de mon indicateur:

    a=ExponentialAverage[8](close)
    b=ExponentialAverage[21](close)
    c=ExponentialAverage[50](close)
    c1=summation[15](close>a and a>b and b>c)=15
    if (c1) then
    result=1
    else
    result=0
    endif
    return result

     

    Merçi par avance pour votre aide.

     

    Alain

     

    MC-Journalier.png MC-Journalier.png
    #124235 quote
    Nicolas
    Keymaster
    Master
    • Pour un nouveau sujet, votre titre doit être suffisamment explicite pour inciter la communauté à lire votre discussion.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

renvoyer une valeur depuis la dernière tendance


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
bobo @bobo Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
5 years, 11 months ago.

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