Jump to content

Automatically turn EA off when other EA is trading


Recommended Posts

Hi,

 

I am currently testing two EAs (WallStreet and Kangaroo) to use on the same account. I did some backtests with Dukascopy Data and merged the results together in Excel to analyse.

 

Thereby I found that it can happen that both WallStreet and Kangaroo have open positions with all of their pairs at the same time. This doesn't happen often, but it is possible. When left at their standart risk settings (Kangaroo: 20% per pair, WallStreet 5% per pair) there is a chance that at some point both EAs risk in total about 60% of the account (actually it would probably be less, as the EAs calculare their lot size according to the free margin, which will be decreased with each trade opened).

 

The dilemma now is: this happens only a few times. Reducing the risk of each EA would reduce the overall risk in such a situation, but also reduce the profits of trades where no other EA is trading.

 

Therefore I was wondering if it somehow is possible to automatically turn of an EA when another EA is trading? Is there already some EA, script or plugin which could realize this, or is it possible to code somthing?

 

I am grateful for any replies!

Thanks!

Link to comment
Share on other sites

I guess everyone has their own solutions. I give Kangaroo the priority, because it will sometimes open multiple trades to make up for a losing trade. With WallStreet, I limit the lot size to what my account can afford. Wallstreet seems to have more losses than Kangaroo, at the end of the day. You do lose some profits by limiting the trade size of Wallstreet, but then that allows Kangaroo to do what it needs to do if it has to enter 4 or 5 open trades at the same time. IMO. Put another way. I trust Kangaroo more than I trust WallStreet when it comes to having to make a choice between both EAs. Also, some NFA brokers will stop 1 of 2 EAs from opening trades if it is the same currency pair, until the first trade closes. But, the problem with that is that Kangaroo will no longer get the priority. If WallStreet is in a trade, then Kangaroo "won't" trade. Kangaroo doesn't trade every day, but when it does, it is usually a good trade. WallStreet seems to trade "every day", so I have no problem limiting WallStreet's lot size, if it will avoid a margin call on a Kangaroo trade. :|

 

Hi,

 

I am currently testing two EAs (WallStreet and Kangaroo) to use on the same account. I did some backtests with Dukascopy Data and merged the results together in Excel to analyse.

 

Thereby I found that it can happen that both WallStreet and Kangaroo have open positions with all of their pairs at the same time. This doesn't happen often, but it is possible. When left at their standart risk settings (Kangaroo: 20% per pair, WallStreet 5% per pair) there is a chance that at some point both EAs risk in total about 60% of the account (actually it would probably be less, as the EAs calculare their lot size according to the free margin, which will be decreased with each trade opened).

 

The dilemma now is: this happens only a few times. Reducing the risk of each EA would reduce the overall risk in such a situation, but also reduce the profits of trades where no other EA is trading.

 

Therefore I was wondering if it somehow is possible to automatically turn of an EA when another EA is trading? Is there already some EA, script or plugin which could realize this, or is it possible to code somthing?

 

I am grateful for any replies!

Thanks!

Link to comment
Share on other sites

You would have to use unchangeable Magicnumbers for both EAs and modify the sourcecode of both of them

Before opening a new position the EA would have to check whether there's already an open position with magicnumber assigned to the other EA

You can't disable an EA by MT4 code outside of the EA itself

Link to comment
Share on other sites

  • 2 weeks later...

Thank you for sharing your ideas. What do you think is the best EA that is compatible to almost all brokers today?

http://imagicon.info/cat/3-4/1.gifhttp://imagicon.info/cat/3-8/1.gifhttp://imagicon.info/cat/3-5/1.gifhttp://imagicon.info/cat/3-1/1.gifhttp://imagicon.info/cat/3-6/1.gifhttp://imagicon.info/cat/3-2/1.gifhttp://imagicon.info/cat/3-3/1.gifhttp://imagicon.info/cat/3-9/1.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...