Bonjour,
Quelqu’un pourrait modifier ce screener ?
Supprimer la Tankan-sen et le remplacer par la Kijun-sen
Voila le code
Merci pour votre aide 🙏
Bonne journée
IF BarIndex = 0 THEN
xClose = (Open + High + Low + Close) / 4
xOpen = (Open + Close) / 2
xHigh = High
xLow = Low
ELSE
xClose = (Open + High + Low + Close) / 4
xOpen = (xOpen[1] + xClose[1]) / 2
xHigh = Max(High, Max(xOpen, xClose))
xLow = Min(Low, Min(xOpen, xClose))
ENDIF
// 1. Current candle is a bearish Heikin-Ashi (red) with a flat top (no upper wick)
c1 = (xClose < xOpen) AND (xHigh = xOpen)
// 2. Previous candles were bullish Heikin-Ashi (green) with a flat bottom (no lower wick)
bullHA = (xClose > xOpen) AND (xLow = xOpen)
c2 = bullHA[1] AND bullHA[2]
// 3. Tenkan-Sen calculation
tenkan = TenkanSen[9,26,52]
// 4. The current price intersects the Tenkan-Sen during the session
c3 = (Low <= tenkan) AND (High >= tenkan)
SCREENER[c1 AND c2 AND c3]
Bonjour,
on remplace sous //3 la ligne 21 en tenkan=… par:
kijun= KijunSen[9,26,52]
et sous //4 la ligne 24 en c3=… par:
c3 = (Low <= kijun) AND (High >= kijun)