rising three methods

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

    bonjour

    je cherche le code pour screener les 3 méthodes ascendantes et descendantes

    quelqu’un pourrait-il m’aider ? j’essaie de m’y mettre mais faut vraiment être calé

    merci beaucoup

    #243051 quote
    Iván González
    Moderator
    Master

    Bonjour. Désolé, c'est peut-être le traducteur, mais ce n'est pas très clair pour moi. Que veux-tu faire exactement ? En fonction des indicateurs sur lesquels vous souhaitez créer le filtre. Je ne sais pas si vous voulez dire ceci :

    screener[yourConditions](method1 as "M1",method2 as "M2")

    Selon la version que vous possédez (complète ou premium), vous pouvez filtrer par 1 ou 2 méthodes.

    #243062 quote
    BEBERD
    Participant
    New

    bonjour

    je souhaite le code script de la figure des chandeliers japonais : rising three methods ou encore en Français : les 3 méthodes ascendantes

    afin de faire un scan du marché avec cette figure

    merci

    rising-three-methods-2235620563.png rising-three-methods-2235620563.png
    #243075 quote
    Iván González
    Moderator
    Master

    Ok, j'ai compris. Il va être difficile de rencontrer ce patron… si vous passez le screener, vous ne pourrez pas le sauver.

    // ------------------------------------- //
    // SCREENER FOR RISING THREE METHODS
    // ------------------------------------- //
    
    // Pattern parameters
    MaxBodyRatio = 0.3  // Maximum proportion of the small candles' body relative to the large initial candle
    smaCandle = average[10](high - low) // Average size of the last 10 candles
    
    // Condition 1: Large bullish candle compared to the average
    LargeBullish = (close[4] > open[4]) AND ((high[4] - low[4]) > 1.5 * smaCandle) AND ((close[4] - open[4]) > (high[4] - low[4]) * 0.6)
    
    // Condition 2: Three small candles within the range of the large initial candle
    cand1 = (high[4] > high[1]) AND (low[4] < low[1]) AND (ABS(close[1] - open[1]) <= MaxBodyRatio * (close[4] - open[4]))
    cand2 = (high[4] > high[2]) AND (low[4] < low[2]) AND (ABS(close[2] - open[2]) <= MaxBodyRatio * (close[4] - open[4]))
    cand3 = (high[4] > high[3]) AND (low[4] < low[3]) AND (ABS(close[3] - open[3]) <= MaxBodyRatio * (close[4] - open[4]))
    SmallCandles = cand1 AND cand2 AND cand3
    
    // Condition 3: Large bullish final candle breaking the high of the first candle
    FinalBullish = (close > open) AND (close > high[4]) AND ((high - low) > smaCandle) AND ((close - open) > (high - low) * 0.6)
    
    // Condition 4: Two red candles
    red1 = open[1] > close[1]
    red3 = open[3] > close[3]
    redcandles = red1 AND red3
    
    // Total pattern condition
    PatternDetected = LargeBullish AND SmallCandles AND FinalBullish AND redcandles
    
    // Screener output
    SCREENER[PatternDetected](close as "close")
    

    Si vous créez un indicateur pour voir comment fonctionner, vous verrez parfois que cette configuration est effectuée. Vous pouvez varier les coefficients qu'il peut et les conditions pour générer votre buscador le plus ajusté à ce que vous faites. J'espère que c'est votre Sirva de base.

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

rising three methods


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
BEBERD @beberd Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Iván González
1 year, 1 month ago.

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