Screnner stochastique (14,2,3)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #152130 quote
    frenchnl
    Participant
    Junior

    Bonjour Nicolas,

    J’aimerai créer un screnner avec le stochastique (14,2,3) pour détecter des valeurs avec ces conditions :

    Condition 1 : K%(close) casse par le haut la limite basse 30 du stochastique (donc K% sera égal ou sup à 30)

    Condition 2 : K%[1]< K%(close)

    Condition 3: K%[2]< K%[1]

    Les conditions 1 et 3 indiquant une tendance montante.

    Pourriez-vous me dire comment coder ce screnner?

    En vous remerciant par avance.

    Nicolas leclercq

    #152131 quote
    frenchnl
    Participant
    Junior

    Nicolas, je voulais dire : quel texte de code mettre pour ces conditions ?

    Merci.

    #152144 quote
    Daniele Maddaluno
    Participant
    Master

    Si je l’ai bien interprété, essayez ceci:

    stoK = Stochastic[N,K](close)
    
    c1 = stoK crosses over 30
    c2 = stoK > stoK[1]
    c3 = stoK[2] < stoK[1]
    
    test = c1 and c2 and c3
     
    screener[test]

    Lisez ceci aussi.

    Nicolas thanked this post
    #152251 quote
    frenchnl
    Participant
    Junior

    Merci Danièle,

    J’ai compris.

    N correspond aux nombres de période ?

    Soit dans mon cas le 14?

    Merci

    Nicolas

    #152252 quote
    Daniele Maddaluno
    Participant
    Master

    Oui, exactement, dans votre cas:
    N = 14
    K = 2
    Si vous avez aussi besoin du signal vous devez ajouter:

    signal = average[D](sto)

    où D dans votre cas est 3.

    #152262 quote
    frenchnl
    Participant
    Junior

    Merci Danièle,

    J’ai compris.

    Merci

    Nicolas

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

Screnner stochastique (14,2,3)


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
frenchnl @frenchnl Participant
Summary

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

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 11/29/2020
Status: Active
Attachments: No files
Logo Logo
Loading...