I am triying to make a chart and indicator with this code but something is wrong

Printable View