Can anyone explain why my TD MA indicator stopped working?

TVC:SPX   S&P 500 Index
My TD Ma indicator stopped working out of the blue and I have no idea how to fix it, if anyone could help me out with a solution I'd greatly appreciate it! I tried the max_bars_back in pine as the error message suggested but it didn't work.