Ajout signal niveau RSI “croissant”

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #196749 quote
    maxlys
    Participant
    Senior

    Bonjour,

    J’aimerais pouvoir affiner mon indicateur ci dessous, avec pour la condition a la hausse ( RSI croise à la hausse la MM) y ajouter la conditin suivante :

    Ligne du RSI lors du croisement soit a lahausse ( soit une courbe qui “repart” à la hausse) , peut être en comparant le niveau du RSI par rapport à sa période precedente et donc qu’il soit “plus haut” mais je n’arrive pas a coder ce critere.

    merci pour votre aide

     

    atr = averagetruerange[10](close)*1.8
    indicator1 = RSI[20](close)
    indicator2 = Average[20](RSI[20](close))
    c1 = (indicator1 CROSSES OVER indicator2)
    c2 = (indicator1 CROSSES UNDER indicator2)
    
    IF c1 then
    drawarrowup(barindex[0],low-atr/1.0)coloured(0,255,0)
    elsif c2 then
    drawarrowdown(barindex[0],high+atr/1.0)coloured(255,0,0)
    
    endif
    
    return
    
    #196750 quote
    JC_Bywan
    Moderator
    Master

    Bonsoir, tu peux compléter la ligne 4 en:

    c1 = (indicator1 CROSSES OVER indicator2) and indicator1 > indicator1[1]

    resp ligne 5 en:

    c2 = (indicator1 CROSSES UNDER indicator2) and indicator1 < indicator1[1]
    #196777 quote
    maxlys
    Participant
    Senior

    Merci IC BYWAN

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

Ajout signal niveau RSI “croissant”


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
maxlys @maxlys Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/04/2022
Status: Active
Attachments: No files
Logo Logo
Loading...