@Mohi1006,
Hello.
I have tried doing this but it's still saying `length’ argument (0) `sum’ in the function. It should be >0'
Do you have to activate this change once you have altered the code?
Many thanks
P.S. I just discovered you have to reapply the indicator to the chart then it works fine