Error in Pi " script generated error"

I am getting “Your Script generated error” while trying to load below script.

SET A = Forecast(CLOSE,12)

SET B = Intercept(CLOSE,12)

CROSSOVER(A,B) = TRUE

Can someone help me to fix this out?