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
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: Thanks. It solve the error. However, the warnings can just leave it? or is there any ways to solve it too?
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().
Fernando Carreiro:
alright thanks
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().
Tan Zhi: alright thanks
You are welcome!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?