Thank you Roberto. By the way, can DefParam DrawOnLastBarOnly = true & false co-exist in the same indicator code? Or I must choose one or the other?