salut, si j insère dans le programe ok, merci. maintenant j essai dans un indicateur donchian, mais j ai une erreur. possible de trouvé une solution . merci
IF BarIndex > N THEN
upperBand = Highest[N](High)
lowerBand = Lowest[N](Low)
middleBand = (upperBand + lowerBand)/2
ELSE
upperBand = Undefined
lowerBand = Undefined
middleBand = Undefined
ENDIF
RETURN upperBand[1] AS “Upper band” , lowerBand[1] AS “Lower band” , middleBand[1] COLOURED(0,255,0) AS “Middle band”
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok