Download MetaTrader 5

can i replace symbol() in OrderSend(symbol(),OP_BUY..... with eurusd so it buy eurusd

To add comments, please log in or register
Why to sell products in MetaTrader AppStore? Find that out from the article!
christian gouveros
352
christian gouveros 2012.05.02 14:35 

hi...

can i replace symbol() in OrderSend(symbol(),OP_BUY..... with eurusd so it buy eurusd 

 if i run the script from any chart, i just want it to but eurusd...

 

is this possible?

 

thanks

christian 

Trinh Dat
37203
Trinh Dat 2012.05.03 03:12  


you can replace  symbol() = "eurusd" or any.

so function : OrderSend("eurusd",OP_BUY.....



cjgovi:

hi...

can i replace symbol() in OrderSend(symbol(),OP_BUY..... with eurusd so it buy eurusd 

 if i run the script from any chart, i just want it to but eurusd...

 

is this possible?

 

thanks

christian 

Biantoro Kunarto
14805
Biantoro Kunarto 2012.05.03 03:14  
cjgovi:

hi...

can i replace symbol() in OrderSend(symbol(),OP_BUY..... with eurusd so it buy eurusd 

 if i run the script from any chart, i just want it to but eurusd...

 

is this possible?

 

thanks

christian 

Possible, btw you must ask this question in www.mql4.com, because this is for mt4.
To add comments, please log in or register