Indicateur Ichimoku : remplacer la SMA7 par la Tenkan-sen

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

    Bonjour,

    Quelqu’un peu me modifier un autre code

    (1) Supprimer la SMA7

    (2) et mettre a la place la Tankan-sen

    (3) juste avant j’ai des bougies haussiéres en Heikin-Ashi

    (4) je recherche l’impact le cours avec la Tanken -sen

    (5) En Séance ( pas en cluture)

    Voir photo

    merci d’avance


    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



    c1 = (xClose < xOpen) AND (xHigh = xOpen)



    sma7 = Average[7](Close)

    c2 = (Low <= sma7) AND (High >= sma7)



    SCREENER[c1 AND c2]


    Impact-le-cours-avec-la-tankan.png Impact-le-cours-avec-la-tankan.png
    #258552 quote
    Iván GonzálezIván González
    Moderator
    Legend

    C’est ici:

    // Heikin-Ashi calculation
    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 (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)
    
    SCREENER[c1 AND c2 AND c3]
    


    #258565 quote
    HUGO LEVIEILSHUGO LEVIEILS
    Participant
    Senior

    Merci Ivan 🙏

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Indicateur Ichimoku : remplacer la SMA7 par la Tenkan-sen


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by HUGO LEVIEILSHUGO LEVIEILS
7 months, 4 weeks ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 02/25/2026
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...