RSI retournement

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14885 quote
    jeanphi0034
    Participant
    Junior

    Bonjour à tous

    Je m inspiré d un code du screener donner dans le manuel proscreener de prorealtime concernant le retournement de la tendance si rsi sup 70 ou inf 30. En fait je voudrais déclencher un signal de vente si le rsi vient de passer sous le niveau 70 alors que le précédent était au dessus de 70. Je rentre le code

    Filtre =RSI(1) >70 and RSI<70

    Mais cela ne fonctionne pas , votre aide me serait précieuse merci

    #14898 quote
    supertiti
    Participant
    Master

    Bonjour Jean Philippe

    Avec cela ça devrait faire l’affaire ?

    // SIGNAUX RSI DID   14.10.2016
    
    a =  RSI [14](close) >  70
    If  a crosses under 70 then
    a = 1
    else
    a = 0
    endif
    
    c = RSI [14](close) > 30 and RSI [14](close) < 70
    If c[2] > 30 and c < 70   then
    c = 0
    endif
    
    b = RSI [14](close)  < 30
    If  b crosses over 30  then
    b = 0
    else
    a = 1
    endif
    
    Return a as " down " , b as " up" , c as " c "
    Signaux-RSI.jpg Signaux-RSI.jpg
    #14926 quote
    jeanphi0034
    Participant
    Junior

    Thank you very much for your prompt reply

    Please, could check

    b = RSI [14](close)  < 30

    If  b crosses over 30  then

    b = 0

    else

    a = 1  is n’t it b=1 ?

    Endif

    Thank you

    Jean Philippe

    #14928 quote
    Nicolas
    Keymaster
    Master

    Merci didi et jean-philippe :

    • utiliser le bouton “insert PRT code” pour poster du code sur le forum
    • parler Français sur le forum français 🙂 (je sais moi aussi je me trompe parfois .. hahaha )
    #14934 quote
    supertiti
    Participant
    Master

    Essaie avec b = 1 et tu verras qu’il te manque des signaux.

    bonne journée

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

RSI retournement


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by supertiti
9 years, 4 months ago.

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