I can code some in mql, and i want to learn and get better.
but i can't find any info about this, not in forum or in the book section, maybe i am looking in the wrong place but i think im not sure what i am looking for at all.
Any tips where i can find some info, where shall i start.?
Why would you need 2 EAs?
Just open an order on GBPUSD when the EURUSD MAs cross.
Just because an EA is attached to one symbol's chart, it is not restricted to that symbol when opening trades
I understand that, but it would not work for me.
Im sorry i might got my example wrong.
The thing is that my EURUSD strategy i very big and complex, so i dont think it would be easy doing that.
Or how exactly are you meaning i shall do?? GumRai
@pontuso:
You can search for opened EurUsd orders from GbpUsd.
You can use GlobalVariableSet to communicate between EAs.
You can send GbpUsd orders from EurUsd EA.
The first option is quite basic, just use OrderSelect loop. Then if( OrderSymbol()=="EURUSD" ) OrderSend("GBPUSD"....). You can get all details about the EurUsd order using the OrderSelect loop. If you're still confused then start from chapter1 of the book. You could be missing some basics.
I understand that, but it would not work for me.
Im sorry i might got my example wrong.
The thing is that my EURUSD strategy i very big and complex, so i dont think it would be easy doing that.
Or how exactly are you meaning i shall do?? GumRai
If you simply want to open a buy/sell order on GBPUSD at the same time that your EA opens an order with EURUSD, you simply add the extra code to Buy/Sell GBPUSD immediately after the EURUSD order
OrderSend("GBPUS", etc,etc)
If you simply want to open a buy/sell order on GBPUSD at the same time that your EA opens an order with EURUSD, you simply add the extra code to Buy/Sell GBPUSD immediately after the EURUSD order
OrderSend("GBPUS", etc,etc)

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi does anyone if it's a EA out there witch can work like this.
For example:
I put in "this new" EA on GBPUSD chart,
and i have a EA based on two moving averages running on the EURUSD chart.
And when the EURUSD EA is buying in a MA cross i want the "new EA" on GBPUSD open a buy at the exact same time.
vice versa on the closing of order.