Avec plaisir pour plus d explication
Si cela ne détecte pas c est que sur PRT parfois il y a des annomalies de calculs (je pense que c est dans des cotations invisible)
en toutes modestie il ma fallut moins de 10 minutes pour vous le faire donc pas un grand travail
voila la version baissière et une photo pour vous montrer ou il vous donne l info en Jour baissier
//DETECTION TWIST BAISSIER
//----------------------------------------
total = 0
c1 = 0
TIMEFRAME(daily)
tenkan1 = ((highest[9](High)) + (lowest[9](Low)))/2
kijun1 = ((highest[26](High)) + (lowest[26](Low)))/2
s1 = (tenkan1 + kijun1) / 2
d1 = (highest[52](high) + lowest[52](Low)) /2
nbs1 = 1 // pour changer le nombres d bougies depuis le twist
TIMEFRAME(4 hours)
tenkan2 = ((highest[9](High)) + (lowest[9](Low)))/2
kijun2 = ((highest[26](High)) + (lowest[26](Low)))/2
s2 = (tenkan2 + kijun2) / 2
d2 = (highest[52](high) + lowest[52](Low)) /2
nbs2 = 1 // pour changer le nombres d bougies depuis le twist
TIMEFRAME(1 hours)
tenkan3 = ((highest[9](High)) + (lowest[9](Low)))/2
kijun3 = ((highest[26](High)) + (lowest[26](Low)))/2
s3 = (tenkan3 + kijun3) / 2
d3 = (highest[52](high) + lowest[52](Low)) /2
nbs3 = 1 // pour changer le nombres d bougies depuis le twist
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// CONDITION TWIST JOUR
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
for i = 1 to nbs1
if s1[i] < d1[i] and s1[i+1] > d1[i+1] then
total = (i*10000)
break
endif
next
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// CONDITION TWIST 4 heures
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
for i = 1 to nbs2
if s2[i] < d2[i] and s2[i+1] > d2[i+1] then
total = (i*100)
break
endif
next
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// CONDITION TWIST 1 heurs
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
for i = 1 to nbs3
if s3[i] < d3[i] and s3[i+1] > d3[i+1] then
total = i
break
endif
next
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
c1 = total > 0
SCREENER[c1] (total AS "Roch ")
- Fichiers joints
-
