Error unknown symbol name eurusd; for OrderSend func2

Back to topics list To post a new topic, please log in or register
avatar
26
Mahmood000 2015.12.22 09:05
 
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
avatar
Moderator
3406
GumRai 2015.12.22 09:35 #
 
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. 

avatar
108
eddie 2015.12.22 09:40 #
 

Start the Debugger and check the value of "pair".


Back to topics list  

To add comments, please log in or register