Bonjour,
Quelqu’un peut me rajouter a ce code
(1) le Sar Inversé en cours
(2) la SMA 200 en cours
Cordialement
hugo
IF BarIndex = 0 THEN
haClose = Close
haOpen = Open
ELSE
haClose = (Open + High + Low + Close) / 4
haOpen = (haOpen[1] + haClose[1]) / 2
ENDIF
cHA = haClose > haOpen
myTenkan = TenkanSen[9, 26, 52]
cTenkan = myTenkan > myTenkan[1]
mySMA = Average[7](Close)
cSMA = mySMA > mySMA[1]
myST = Supertrend[3, 10]
cST = Close > myST AND Close[1] < myST[1]
SCREENER[cHA AND cTenkan AND cSMA AND cST]
Bonjour Hugo,
Voici le screener avec les deux conditions ajoutées :
SAR Inversé en cours → le prix est au-dessus du SAR (mode haussier actif) SMA 200 en cours → le prix cote au-dessus de la moyenne 200 périodes
IF BarIndex = 0 THEN
haClose = Close
haOpen = Open
ELSE
haClose = (Open + High + Low + Close) / 4
haOpen = (haOpen[1] + haClose[1]) / 2
ENDIF
cHA = haClose > haOpen
myTenkan = TenkanSen[9, 26, 52]
cTenkan = myTenkan > myTenkan[1]
mySMA = Average[7](Close)
cSMA = mySMA > mySMA[1]
myST = Supertrend[3, 10]
cST = Close > myST AND Close[1] < myST[1]
mySAR = SAR[0.02, 0.02, 0.2]
cSAR = Close > mySAR
mySMA200 = Average[200](Close)
cSMA200 = Close > mySMA200
SCREENER[cHA AND cTenkan AND cSMA AND cST AND cSAR AND cSMA200]