Indicateur plus Haut/Bas

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #113421 quote
    be fabe fa
    Participant
    New

    Bonjour,

    Nouveau dans PRT mais aussi dans la programmation, je souhaite programmer un indicateur qui suit les plus haut mais qui s’ajuste que sur les bougies vertes et inversement sur les plus bas.

    J’ai testé :

    HH = highest[2](high)
    LL = lowest[2](low)
    
    RETURN hh as "HH", ll as "LL"

    Problème, il s’ajuste sur toutes les bougies.

    Si vous avez une idée, merci de votre aide.

    #113423 quote
    NicolasNicolas
    Keymaster
    Legend

    On peut utiliser l’instruction VARIATION qui indique si la variation de la bougie courante est positive ou négative:

    if variation>0 then 
     HH = highest[2](high)
    else
     LL = lowest[2](low)
    endif
    
    RETURN hh as "HH", ll as "LL"
    #113447 quote
    be fabe fa
    Participant
    New

    Merci Nicolas pour ce retour rapide.

    Effectivement il fonctionne très bien par rapport à ce que j’ai posté. Je m’aperçois qu’il ne reflète pas ce que je recherche. En fait j’ai récupérer un indicateur mais celui-ci n’est pas modifiable et je n’arrive donc pas a savoir comment il a été créé. Voir l’image. Avez vous un bout de code pour reproduire ce dernier sans les moyennes, juste les haut et bas du graphique?

     

    Merci à vous.

    breakout.jpg breakout.jpg
    #113450 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    >> Bonjour, merci de renseigner votre pays dans votre page de profil << (survoler à la souris votre image de profil en haut à droite, un menu déroulant apparait, aller dans settings, et y sélectionner le pays)

    #113451 quote
    be fabe fa
    Participant
    New

    C’est fait 🙂

    JC_Bywan thanked this post
    #113593 quote
    be fabe fa
    Participant
    New

    J’ai trouvé ce que cherchais, il faut choisir l’indicateur canal de donchian. Merci pour le code :).

Viewing 6 posts - 1 through 6 (of 6 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

Indicateur plus Haut/Bas


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
be fa @be_fa Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by be fabe fa
7 years ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/22/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...