What's the problem with the script? input length = 50; def AverageCandle = Average(Candlesize, length); I want to get the number from average candle size for a trailing stop. ThX