Ichimoku fraicheur + volume

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #144841 quote
    jbaudry
    Participant
    New

    Bonjour,

    Je souhaite ajouter une colonne fraicheur du signal (nombre de jour depuis le croisement Tekan Kijun) à mon screener ainsi qu’un filtre avec un volume minimum.

    Je veux bien un peu d’aide, je vous remercie par avance.

    SCREENER(close as "close")
    
    INDICATEUR = 0
    
    enkansen = (highest[9](high)+lowest[9](low))/2
    ijunsen = (highest[26](high)+lowest[26](low))/2
    
    SSpanA = (enkansen[26]+ijunsen[26])/2
    SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
    
    Chikou = close  // 26 périodes auparavant
    
    C1 = close > SSpanA and close > SSpanB
    C2 = Tenkansen crosses over Kijunsen
    C3 = Tenkansen > SSpanA and Tenkansen > SSpanB
    C4 = Kijunsen > SSpanA and Kijunsen > SSpanB
    C5 = Chikou > SSpanA[26] and Chikou > SSpanB[26]
    
    IF C1 and C2 and C3 and C4 and C5 THEN
    INDICATEUR = 1
    ENDIF
    
    
    screener[INDICATEUR]
    #144849 quote
    Nicolas
    Keymaster
    Master

    Ci-dessous le code modifié, le critère de tri indique maintenant la quantité de chandeliers depuis la détection : (compatible v10.3)

    //INDICATEUR = 0
    
    tenkansen = (highest[9](high)+lowest[9](low))/2
    kijunsen = (highest[26](high)+lowest[26](low))/2
    
    SSpanA = (tenkansen[26]+kijunsen[26])/2
    SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
    
    Chikou = close  // 26 périodes auparavant
    
    C1 = close > SSpanA and close > SSpanB
    C2 = Tenkansen crosses over Kijunsen
    C3 = Tenkansen > SSpanA and Tenkansen > SSpanB
    C4 = Kijunsen > SSpanA and Kijunsen > SSpanB
    C5 = Chikou > SSpanA[26] and Chikou > SSpanB[26]
    c6 = volume>10000
    
    IF C1 and C2 and C3 and C4 and C5 and c6 THEN
    INDICATEUR = 1
    startbar=barindex
    ENDIF
    
    
    screener[INDICATEUR](barindex-startbar as "fraicheur")
    #144902 quote
    jbaudry
    Participant
    New

    Merci beaucoup nicolas.

    La fraicheur dans le code est en quelle unité de temps ? J’ai également un problème avec le volume, le filtre ne marche pas as-tu une idée du problème?

    Sais-tu comment indiquer une fraicheur maximal?

    Merci

    2020-09-21-16_00_08-ProScreener-Croisenement-tekan-kijun-jour.png 2020-09-21-16_00_08-ProScreener-Croisenement-tekan-kijun-jour.png
    #144904 quote
    Nicolas
    Keymaster
    Master

    Il faudrait essayer avec cette version compatible v11, j’ai inclut un seuil de “maxFraicheur” pour indiquer la quantité de chandeliers maximum depuis l’événements des dernières conditions réunies.

    maxfraicheur = 50
    
    itenkansen = (highest[9](high)+lowest[9](low))/2
    ikijunsen = (highest[26](high)+lowest[26](low))/2
    
    SSpanA = (itenkansen[26]+ikijunsen[26])/2
    SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
    
    Chikou = close  // 26 périodes auparavant
    
    C1 = close > SSpanA and close > SSpanB
    C2 = Tenkansen crosses over Kijunsen
    C3 = Tenkansen > SSpanA and Tenkansen > SSpanB
    C4 = Kijunsen > SSpanA and Kijunsen > SSpanB
    C5 = Chikou > SSpanA[26] and Chikou > SSpanB[26]
    c6 = volume>10000
    
    IF C1 and C2 and C3 and C4 and C5 and c6 THEN
    INDICATEUR = 1
    startbar=barindex
    ENDIF
    
    screener[INDICATEUR and barindex-startbar<=maxfraicheur](barindex-startbar as "fraicheur")
    screener-fraicheur-ichimoku.png screener-fraicheur-ichimoku.png
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Ichimoku fraicheur + volume


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
jbaudry @jbaudry Participant
Summary

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

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