Bonjour serait-il possible de créer un screener à partir de cet indicateur ?
merci d’avance
Lb = 9
if close > Average[Lb](High)[1] then
trend = 1
gann = Average[ Lb ](low)[1]
r=0
g=125
b=0
elsif close < Average[Lb](Low)[1] then
trend = –1
gann = Average[Lb](high)[1]
r=255
g=0
b=125
else
trend = trend
endif
if trend <> trend[1] then
if trend = 1 then
drawvline(barindex)coloured(r,g,b)style(dottedline,1)
elsif trend = –1 then
drawvline(barindex)coloured(r,g,b)style(dottedline,1)
endif
endif
return gann as “Gann”coloured(r,g,b)style(line,2)