ah ok c’est à cause de la traduction en francais du code
utiliser celui ci :
ATR = AverageTrueRange[20](close)
ATRM = 2.25 * ATR
MLine = ExponentialAverage[20](close)
UChannel = MLine + ATRM
LChannel = MLine – ATRM
FreeBarUp = Low > UChannel
FreeBarDown = High < LChannel
if FreeBarUp and not FreeBarUp[1] then
DRAWARROWDOWN(barindex,high)coloured(255,0,0)
endif
if FreeBarDown and not FreeBarDown[1] then
DRAWARROWUP(barindex,low)coloured(0,255,0)
endif
return UChannel,MLine,LChannel