Error for moving average EA,

Fernando Carreiro  
Tan Zhi: Can someone help me to solve the error? Is it because there is no input for slowmovingaverage or others problem? I'm new so please help is anyone knows how to solve the problem?

You are missing a ";" in the string declaration of the variable "signal".

string signal=""; // <- There was a missing ";" in your code
Tan Zhi  
Fernando Carreiro:

You are missing a ";" in the string declaration of the variable "signal".

Thanks. It solve the error. 

However, the warnings can just leave it? or is there any ways to solve it too?

Tan Zhi  
Fernando Carreiro:

Never ignore warnings! They could be a sign of possible bad code and even a worse logic bug. So ALWAYS fix your warnings too.

You should always check and act upon the return ticket code for OrderSend().

alright thanks
Reason: