If You are newbie, then first closely read documentation please.
1. Single apostroph determines single character literal. See https://docs.mql4.com/basis/types/literal
2. String constants must be enclosed in the quotation marks (double apostrophs). See https://docs.mql4.com/basis/types/string
3. Expression of the switch operator must be of integer type. See https://docs.mql4.com/basis/operators/switch

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
Hi all, (I'm a newbie).
I'm trying to set some variable values according to the currency pair being traded at the moment, using the code below. But when I try to compile it, I get the error "EURUSD - more than 1 symbol".
Please what is wrong with my code?
Here it is:
Any help will be really appreciated.