Bonjour,
J’ai la même question s’il vous plaît.
Voivi le code
//SCREENER DE TWIST D’ICHIMOKU
Timeframe (15 minutes)
Tenkan15M=(highest[9](high)+lowest[9](low))/2
Kijun15M=(highest[26](high)+lowest[26](low))/2
SSA15M=(Tenkan15M[0]+Kijun15M[0])/2
SSB15M=(highest[52](high[0])+lowest[52](low[0]))/2
T15M = SSA15M[1] crosses over SSB15M[1] or SSA15M[1] crosses under SSA15M[1] or SSA15M-SSB15M=0
if T15M then
Twist15M=1
else
Twist15M=0
endif
Timeframe (1 hour)
Tenkan1H=(highest[9](high)+lowest[9](low))/2
Kijun1H=(highest[26](high)+lowest[26](low))/2
SSA1H=(Tenkan1H[0]+Kijun1H[0])/2
SSB1H=(highest[52](high[0])+lowest[52](low[0]))/2
T1H = SSA1H[1] crosses over SSB1H[1] or SSA1H[1] crosses under SSA1H[1] or SSA1H-SSB1H=0
if T1H then
Twist1H=1
else
Twist1H=0
endif
screener[Twist15M OR Twist1H]