Flèches sur prix Stochastique X2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #98792 quote
    Gilles Trader
    Participant
    Junior

    Bonjour,

    Merci de m’aider si vous avez un petit moment. Je cherche à mettre des flèches lors de signaux bien précis: Je m’explique

    Je cherche un code qui permet de mettre des flèches lorsque le stochastique %K 11 5 3 est sous les 20 et que le stochastique 128 8 est supérieur a 50 ? Une flèche verte montante s’afficherait alors.

    Et inversement lorsque le stoch 11 5 3 est au dessus de 80 et que le 128 8 est inferieur à 50 ? Cela m’aiderait grandement

    Merci d’avance

    #98794 quote
    Gilles Trader
    Participant
    Junior

    Je pense avoir réussis

     

    sto = Stochastic[11,3](close)
    sto1 = Stochastic[128,8](close)
    rge = averagetruerange[10](close)

    if sto[1]>80 and sto1 [1]<50 then
    DRAWARROWDOWN(barindex[1],high[1]+rge/2)coloured(255,10,10)
    elsif sto[1]<20 and sto1 [1]>50 then
    DRAWARROWUP(barindex[1],low[1]-rge/2)coloured(10,255,10)
    endif

    RETURN

     

     

     

    corrigez moi si je me trompe

    #98796 quote
    swapping
    Participant
    Master
    sto = Stochastic[11,3](close)
    sto1 = Stochastic[128,8](close)
    rge = averagetruerange[10](close)
    
    if sto[1] > 80 and sto1[1] < 50 then
    DrawArrowDown(barindex[1],high[1]+rge/2) coloured(255,10,10)
    elsif sto[1] < 20 and sto1[1] > 50 then
    DrawArrowUp(barindex[1],low[1]-rge/2) coloured(10,255,10)
    endif
    
    return

    Hello gilles, je ne pense pas que tu te sois trompé mais utilise le bouton [Insert PRT code] pour bien formaté le code c’est mieux pour la lecture 🙂

    le seul truc que les copains vont te dire c’est de penser à ajouter ton drapeau du pays dans ta fiche personnelle, cordialement 😉

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

Flèches sur prix Stochastique X2


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

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

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