moy mob

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #254610 quote
    Fredaur
    Participant
    New

    Bonjour

    Je cherche à scanner et détecter les valeurs suivantes

    1er condition :

    MM10 > MM20

    MM5 >MM10

    2 e condition à différencier dans screenner :

    Prix > MM 200

    ou

    Prix casse MM200 ou MM400

    3 e condition prix > MM 30

    4e condition

    Prix > à WMA 12

    OU

    Prix < WMA 12 ( 0 à 3%)

    Condition 1 – 2 et 3 doivent être réunies

     

    Merci par avance

    #254622 quote
    Iván González
    Moderator
    Master

    voici

    // --- Parameters and Indicator Calculations ---
    sma5 = Average[5](close)
    sma10 = Average[10](close)
    sma20 = Average[20](close)
    sma30 = Average[30](close)
    sma200 = Average[200](close)
    sma400 = Average[400](close)
    wma12 = Weightedaverage[12](close)
    
    // --- Condition 1: Short Term Bullish Structure ---
    // MM5 > MM10 AND MM10 > MM20
    cond1 = (sma5 > sma10) AND (sma10 > sma20)
    
    // --- Condition 2: Long Term Trend or Breakout ---
    // Price > MM200 OR Price crosses over MM200 OR Price crosses over MM400
    longTermTrend = close > sma200
    breakout200 = close CROSSES OVER sma200
    breakout400 = close CROSSES OVER sma400
    cond2 = longTermTrend OR breakout200 OR breakout400
    
    // --- Condition 3: Medium Term Filter ---
    // Price > MM30
    cond3 = close > sma30
    
    // --- Condition 4: WMA 12 Proximity ---
    // Price > WMA12 OR Price is below WMA12 within 3% range
    distWMA = (wma12 - close) / wma12 *100
    cond4 = (close > wma12) OR (close < wma12 AND distWMA <= 3)
    
    // --- Setup ---
    validScan = cond1 AND cond2 AND cond3 AND cond4
    
    SCREENER[validScan] (distWMA AS "% Dist WMA12")
    robertogozzi thanked this post
    #254623 quote
    Fredaur
    Participant
    New

    Merci beaucoup

    Je vais tenter de rajouter  wma 4 tendance haussière que j’avais oublié pour réduire la sélection

    Cordialement

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

moy mob


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Fredaur @fredaur Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Fredaur
2 months, 1 week ago.

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