codification sur 2ut

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #199603 quote
    bobobobo
    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
    NicolasNicolas
    Keymaster
    Legend

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

    #199629 quote
    bobobobo
    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.
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

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 bobobobo
4 years ago.

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