Probleme de codage avec instructions SCREENER

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #250666 quote
    FredaurFredaur
    Participant
    Junior

    Bonjour

    Rien ne ressort avec mon codage

     

    Quelqu un pourrait il m’aider

     

    merci par avance

     

    Cordialement

     

     

    // Conditions de base
    SCREENER [Close > Average[200](Close)]
    SCREENER [Average[200](Close) > Average[200](Close)[20]] // MM200 haussière

    // 3 bougies rouges
    Bearish1 = (Close < Open)
    Bearish2 = (Close[1] < Open[1])
    Bearish3 = (Close[2] < Open[2])
    SCREENER [Bearish1 AND Bearish2 AND Bearish3]

    // Volume inférieur à la moyenne
    VolumeCondition = Volume < Average[20](Volume)
    SCREENER [VolumeCondition]

    // RSI en survente
    RSIValue = RSI[14](Close)
    SCREENER [RSIValue < 30]

    // Faible volatilité (ATR < 2%)
    ATRValue = ATR[14]
    ATRPercent = (ATRValue / Close) * 100
    SCREENER [ATRPercent < 2]

    // Proche d’un support
    NearMA200 = (Abs(Close – Average[200](Close)) / Average[200](Close)) < 0.02
    NearMA50 = (Abs(Close – Average[50](Close)) / Average[50](Close)) < 0.02
    SCREENER [NearMA200 OR NearMA50]

    // Condition combinée
    SCREENER [Close > Average[200](Close) AND Average[200](Close) > Average[200](Close)[20] AND Bearish1 AND Bearish2 AND Bearish3 AND VolumeCondition AND RSIValue < 30 AND ATRPercent < 2 AND (NearMA200 OR NearMA50)]

    #250667 quote
    JSJS
    Participant
    Master

    Salut,
    Essayez ces…

    // Basic conditions
    c1=Close > Average[200](Close)
    c2=Average[200](Close)> Average[200](Close)[20] // Bullish MM200
    
    // 3 bougies rouges
    Bearish1=(Close<Open)
    Bearish2=(Close[1]<Open[1])
    Bearish3=(Close[2]<Open[2])
    c3=Bearish1 AND Bearish2 AND Bearish3
    
    // Volume below average
    VolumeCondition=Volume<Average[20](Volume)
    c4=VolumeCondition
    
    // RSI in survente
    RSIValue=RSI[14](Close)
    c5=RSIValue<30
    
    // Low volatility (ATR < 2%)
    ATRValue=AverageTrueRange[14]
    ATRPercent=(ATRValue/Close)*100
    c6=ATRPercent<2
    
    // Proche d’un support
    NearMA200=(Abs(Close-Average[200](Close))/Average[200](Close))<0.02
    NearMA50=(Abs(Close-Average[50](Close))/Average[50](Close))<0.02
    c7=NearMA200 OR NearMA50
    
    // Condition combinée
    SCREENER [c1 and c2 and c3 and c4 and c5 and c6 and c7]
    robertogozzi and Iván González thanked this post
    #250676 quote
    FredaurFredaur
    Participant
    Junior

    Bonjour

     

    Merci beaucoup

    JS thanked this post
    #250677 quote
    FredaurFredaur
    Participant
    Junior

    le screener me ressort 3 bougies vertes !

     

    Bonne journée

    JS thanked this post
    #250686 quote
    NicolasNicolas
    Keymaster
    Legend

    Pour mémoire, il ne peut y avoir qu’une seule instruction SCREENER dans un code de screener 🙂 Le code que tu postes me semble être généré par une IA n’est ce pas ?

    le screener me ressort 3 bougies vertes !

    Quel instrument, unité de temps ?

    #250691 quote
    FredaurFredaur
    Participant
    Junior

    Unité de temps journalier

    #250694 quote
    FredaurFredaur
    Participant
    Junior

    Oui en effet, le code a été généré par une ia.

    #250696 quote
    FredaurFredaur
    Participant
    Junior

    Bonjour

    En fait cela fonctionne, mais je me suis du coup aperçu d’un problème.

     

    La couleur des bougies est inversée sur mes graphiques prorealtimes contrairement à celles des graphiques zone bourse et abc bourse, comment est ce possible ?

Viewing 8 posts - 1 through 8 (of 8 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

Probleme de codage avec instructions SCREENER


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Fredaur @fredaur Participant
Summary

This topic contains 7 replies,
has 3 voices, and was last updated by FredaurFredaur
1 year ago.

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