change to "Symbol()" or NULL
No you got me wrong ...
Suppose I am using EURUSD chart ... and if I use "Symbol()" or NULL then it will rightly execute trades for EURUSD ...
... But, suppose I am using EURUSD chart ... and if I need to execute GBPUSD order what should I do?
Thanks for your reply!
newdigital ; mladen
What means more accurate, "different pairs," and how it could help to make trading .... if you know any information or web. page. .... could you put on the web?
Thanks.
Hello!
Can someone tell me how to open 2 different pairs in the same ea??
It dosent work when I use the following commands ...
OrderSend("EURUSD",OP_BUY,lots,Ask,3,0,0,"PHH",mn,0,LawnGreen);
OrderSend("GBPUSD",OP_BUY,lots,Ask,3,0,0,"PHH",mn,0,LawnGreen);
If the base chart is EURUSD then the ea doesnot open GBPUSD orders.
Please advice.
Thanks!Hi blackat,
I am not a coder but ... if you want for your EA to work on every pair so attach it to every pair with different magic number.
If you want for your EA to work on sepected pairs by attaching it to one chart only so use TSD EA as an example about how to do it (this EA should be attached to 1 chart and it is processing all the opairs selected:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello!
Can someone tell me how to open 2 different pairs in the same ea??
It dosent work when I use the following commands ...
OrderSend("EURUSD",OP_BUY,lots,Ask,3,0,0,"PHH",mn,0,LawnGreen);
OrderSend("GBPUSD",OP_BUY,lots,Ask,3,0,0,"PHH",mn,0,LawnGreen);
If the base chart is EURUSD then the ea doesnot open GBPUSD orders.
Please advice.
Thanks!