I need urgent help for my EA

 

Please i need someone to help me with Least Square Moving Average formula/equation. i need the formula itself and not indicator

thanks

Reason: