screener pour détecter des unicorne baissiers ou haussiers

Forums ProRealTime forum Français Support ProBuilder screener pour détecter des unicorne baissiers ou haussiers

Viewing 3 posts - 1 through 3 (of 3 total)
  • #244014

    insert PRT code

    // Détection des points d’intérêt ICT sur 4 heures
    timeframe(4 hours)
    highestHigh_4h = highest[26](high) // Plus haut sur les 26 dernières bougies de 4 heures (équivalent à 1 semaine)
    lowestLow_4h = lowest[26](low) // Plus bas sur les 26 dernières bougies de 4 heures
    liquidityPoints_4h = (high == highestHigh_4h) or (low == lowestLow_4h)

    // Détection des configurations “Unicorn” sur 15 minutes
    timeframe(15 minutes)
    indicator1_15m = (high[1] < low[2]) and (low > high[1])
    indicator2_15m = (low[1] > high[2]) and (high < low[1])

    breakerBullish_15m = (close > open[1]) and (open < close[1])
    breakerBearish_15m = (close < open[1]) and (open > close[1])

    unicornBullish = liquidityPoints_4h and (indicator1_15m and breakerBullish_15m)
    unicornBearish = liquidityPoints_4h and (indicator2_15m and breakerBearish_15m)

    SCREENER [unicornBullish or unicornBearish]

     

    1 user thanked author for this post.
    #244059

    Bonjour. Veuillez noter que dans probuilder, vous ne pouvez pas déclarer de variables avec "_". En revanche, l'expression "==" n'est pas valide. Utilisez plutôt « = »

    1 user thanked author for this post.
    #244076
    Bonsoir
    merci pour votre réponse
    hélas votre code  ne fonctionne pas ci joint capture d’écran et je ne vous le cache je n’ai pas compris ce qu’il veut que je fasse .
    Bonne soirée
    Sliman
Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login