Bonjour,
je recherche screener avec cette configuration voir photo.
(sur la valeur ALTRA en hebdo)en bougie Heikin-ashi.
(1) la tankan-sen en (bleu clair) + la sma7en (vert clair) + bougies en HA
Sma 20 ascendante en (bleu foncé)
sma 50 ascendante en (rouge)
sma 100 ascendante en (violet)
sma 200 acendante en (noir)
le sar inversé en (vert)
le supertrend inversé en (vert)
Merci pour votre aide 🙏
Cordialement
hugo
Bonjour. Voici le code :
//=== PARAMÈTRES (ajustables) ===
stPeriod = 7
stMult = 3
//=== HEIKIN-ASHI CLOSE ===
haClose = (Open + High + Low + Close) / 4
//=== MOYENNES MOBILES SUR HA CLOSE ===
sma20 = Average[20](haClose)
sma50 = Average[50](haClose)
sma100 = Average[100](haClose)
sma200 = Average[200](haClose)
//=== CONDITIONS : MOYENNES ASCENDANTES ===
sma20up = sma20 > sma20[1]
sma50up = sma50 > sma50[1]
sma100up = sma100 > sma100[1]
sma200up = sma200 > sma200[1]
//=== SAR HAUSSIER (points en dessous du prix) ===
mySar = SAR[0.02, 0.02, 0.2]
sarBull = Close > mySar
//=== SUPERTREND HAUSSIER ===
myST = Supertrend[stMult, stPeriod]
stBull = Close > myST
//=== CONDITION FINALE ===
cond = sma20up AND sma50up AND sma100up AND sma200up AND sarBull AND stBull
SCREENER[cond](sma20 AS "SMA20", sma200 AS "SMA200", myST AS "SuperTrend")