codification sur 2ut

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

    Bonjour à toute la communauté.

    Je cherche à codifier un indicateur qui me retourne la valeur 2 sur H1 quand en H1 le rsi14 est<40 et en D1 la clôture est>mm50.

    Voiçi ce que j’ai programmé mais cela ne fonctionne pas.

    Merci par avance pour l’aide apportée.

    c1=RSI[14](close)<40
    c2=close>Average[50](close)
    timeframe(1 day)
    if c2 then
    result1 =1
    endif
    timeframe(1 hour)
    if c1 then
    result2 =1
    endif
    return result1+result2
    #199608 quote
    Nicolas
    Keymaster
    Master

    C’est normal, il faut déclarer les indicateurs dans chacun des timeframes, donc en dessous de chaque instruction TIMEFRAME.

    #199629 quote
    bobo
    Participant
    Average

    Merci bien Nicolas pour cette précision.

    Cordialement.

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

codification sur 2ut


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
bobo @bobo Participant
Summary

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

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