Download MetaTrader 5

Using 2 EA's on a FX pair

To add comments, please log in or register
Do you know that MQL5 has structures?
jocopley
248
jocopley 2016.03.02 15:08 

I am using an EA to determine and trade on extreme prices. Although this has a SL built in I would like to use an additional EA (Trade Protector) to add a proportional SL. I have an additional window showing the FX pair in the same timeframe with the Trade Protector running but its not working.

I am using MT4 Terminal and have ticked the box "Allow import of external experts" (not sure if this is correct).

Could someone assist?

Francis Dogbe
9501
Francis Dogbe 2016.03.02 21:43  
jocopley:

I am using an EA to determine and trade on extreme prices. Although this has a SL built in I would like to use an additional EA (Trade Protector) to add a proportional SL. I have an additional window showing the FX pair in the same timeframe with the Trade Protector running but its not working.

I am using MT4 Terminal and have ticked the box "Allow import of external experts" (not sure if this is correct).

Could someone assist?

Check the journal tab and see what error is reporting there. 
jocopley
248
jocopley 2016.03.03 08:29  
Francis Dogbe:
Check the journal tab and see what error is reporting there. 

Thanks for your reply. I see no error there. It looks like they are both running..

Do you know how to backtest with two EA's? i.e. One to initiate the trade and the other to protect it and manage stops. 

Stuart Browne
5813
Stuart Browne 2016.03.03 08:54  
jocopley:

Thanks for your reply. I see no error there. It looks like they are both running..

Do you know how to backtest with two EA's? i.e. One to initiate the trade and the other to protect it and manage stops. 

Not possible 
Francis Dogbe
9501
Francis Dogbe 2016.03.03 09:54  
jocopley:

Thanks for your reply. I see no error there. It looks like they are both running..

Do you know how to backtest with two EA's? i.e. One to initiate the trade and the other to protect it and manage stops. 

Please send screenshot of the two EAs
jocopley
248
jocopley 2016.03.03 11:56  
Stuart Browne:
Not possible 

Question answered. Thanks.

jocopley
248
jocopley 2016.03.03 12:59  
jocopley:

Question answered. Thanks.

Stuart,

When using the above scenario and forward testing is there anything I have to do to ensure that both EA's work together?

Stuart Browne
5813
Stuart Browne 2016.03.04 00:38  
jocopley:

Stuart,

When using the above scenario and forward testing is there anything I have to do to ensure that both EA's work together?

That really depends on how the EAs logic works mate. But the first thing I would suggest is to make sure they're both using the same magic number. 
jocopley
248
jocopley 2016.03.04 09:49  
Stuart Browne:
That really depends on how the EAs logic works mate. But the first thing I would suggest is to make sure they're both using the same magic number. 
The trade protector doesn't have a magic number. Does that mean it will not work with the trade maker or will work with everything?
Stuart Browne
5813
Stuart Browne 2016.03.04 10:06  
jocopley:
The trade protector doesn't have a magic number. Does that mean it will not work with the trade maker or will work with everything?
Without seeing the code, I really can't tell you sorry. Have you tried contacting the author?
jocopley
248
jocopley 2016.03.04 11:09  
Stuart Browne:
Without seeing the code, I really can't tell you sorry. Have you tried contacting the author?
Could I send it to you - would you mind?
12
To add comments, please log in or register