I use this line in my ea to open a trade
OrderSend (pair,action,volume(),MarketInfo(pair,MODE_ASK),3,stopLose1,takeProfit1,"",0,0,Green)
I recive error:
Error unknown symbol name eurusd; for OrderSend function
I test this line in an ea which contains only this OrderSend line it works without any error
- Find the missed parameters in these codes
- OrderSend - Using multiple symbols - "unknown symbol name EURUSD for OrderSend function"
- Questions from Beginners MQL4 MT4 MetaTrader 4
I recive error:
Error unknown symbol name eurusd; for OrderSend function
Is there a symbol with the name "eurusd"?
Maybe it is "EURUSD" or has a prefix or suffix
I test this line in an ea which contains only this OrderSend line it works without any error
Not possible that an EA with just the OrderSend line will work at all.
There has to be other lines that declare and give values to the variables.
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