Modifier un screener: Supprimer la Ts et le remplacer par la Ks

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #260848 quote
    HUGO LEVIEILS
    Participant
    Senior

    Bonjour,

    Quelqu’un pourrait modifier ce screener ?

    Supprimer la Tankan-sen et le remplacer par la Kijun-sen

    Voila le code

    Merci pour votre aide 🙏

    Bonne journée


    IF BarIndex = 0 THEN
    xClose = (Open + High + Low + Close) / 4
    xOpen = (Open + Close) / 2
    xHigh = High
    xLow = Low
    ELSE
    xClose = (Open + High + Low + Close) / 4
    xOpen = (xOpen[1] + xClose[1]) / 2
    xHigh = Max(High, Max(xOpen, xClose))
    xLow = Min(Low, Min(xOpen, xClose))
    ENDIF
    
    // 1. Current candle is a bearish Heikin-Ashi (red) with a flat top (no upper wick)
    c1 = (xClose < xOpen) AND (xHigh = xOpen)
    
    // 2. Previous candles were bullish Heikin-Ashi (green) with a flat bottom (no lower wick)
    bullHA = (xClose > xOpen) AND (xLow = xOpen)
    c2 = bullHA[1] AND bullHA[2]
    
    // 3. Tenkan-Sen calculation
    tenkan = TenkanSen[9,26,52]
    
    // 4. The current price intersects the Tenkan-Sen during the session
    c3 = (Low <= tenkan) AND (High >= tenkan)
    
    SCREENER[c1 AND c2 AND c3]
    
    #260852 quote
    JC_Bywan
    Moderator
    Master

    Bonjour,

    on remplace sous //3 la ligne 21 en tenkan=… par:

    kijun= KijunSen[9,26,52]
    

    et sous //4 la ligne 24 en c3=… par:

    c3 = (Low <= kijun) AND (High >= kijun)
    
    robertogozzi thanked this post
    #260854 quote
    HUGO LEVIEILS
    Participant
    Senior

    Merci beaucoup 🙏

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

Modifier un screener: Supprimer la Ts et le remplacer par la Ks


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by HUGO LEVIEILS
23 hours, 34 minutes ago.

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