screener pour détecter des unicorne baissiers ou haussiers

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

    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]

    // 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]
    robertogozzi thanked this post
    #244059 quote
    Iván González
    Moderator
    Master

    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 « = »

    robertogozzi thanked this post
    #244076 quote
    slimanb
    Participant
    New
    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)
  • You must be logged in to reply to this topic.

screener pour détecter des unicorne baissiers ou haussiers


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
slimanb @slimanb Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by slimanb
11 months, 2 weeks ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/19/2025
Status: Active
Attachments: 1 files
Logo Logo
Loading...