I want to get a cummulative relative Performance Line.
I get this error message. I don't know what i am doing wrong. Im trying it now for some time now. Can you help me?
Error: "Mismatched input '|PE|' expecting 'end of line without line continuation'."
change = (close[1]-close[2])/close[2])
n = 252
sum = 0
sais(change, n) => for i=0 to n-1
sum := sum + change [n]
plot(sais, color=color.blue)