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