Hi all,
just a couple of comments about EA Studio with Portfolio EA and MT4 tracker.
Thanks Steve for taking into account my suggestion about having the option to remove the pruned strategies instead of only commenting them. I have a couple of ideas I would like to share with you all.
- Maximum number of simultaneous trades. Having a variable (input) for that.
In one of my accounts I'm using a "EA Studio Portfolio EA" slightly modified to run only a maximum number of strategies/trades simultaneoulsy. The modification is quite simple as the EA Studio Portfolio code is quite clean. The idea is to have a variable to set the number of maximum trades that can be open at the same time. Having this helps me limit my exposure to the market and it also helps me to reduce the number of strategies to 1 or 0 when I want to remove this Portfolio EA from a chart. The portfolio EA has 100 strategies and they are ordered by its SQN ratio or Profit to DD ratio, but the EA can only have 5 (variable) trades open simultaneously. Once the maximum number of trades are open, the EA can not open more trades, but at the same time, the ones that are open are still being managed by the EA. If I want to remove the EA, I simply modify the variable to 0, and once the last trade is closed I can remove the EA from the chart. This modification can be easily made inside MT4 Tracker or can be done in EA Studio.
- Expiration date: if we can set a date after that no more trades can be opened (the opened trades will still be managed by the EA) it will be a lot easier to replace a Portfolio EA with a new (pruned) portfolio EA. The idea is being able to build Portfolio EAs that will open trades only for some time (a week / two weeks / a month). After that date, no more new trades are allowed. After the expiration date the Portfolio EA will continue managing the opened trades until they all are closed, but not opening more trades. That will help us to remove/replace the Portfolio EAs a lot more easily: simply using a new chart for a new pruned EA and letting the old one close all its trades and being safe because the old one isn't going to open new trades. Removing the old EA once it has closed all its trades.
- Saving/Recording statistics (profit factor, MaxDD, etc) as comments in the EA, so they could be used (read) by MT4 Tracker or even EA Studio later. I mean, once we have built and tested a strategy in EA Studio we get some statistics that tell us how good the strategy is (SQN, profit factor, MaxDD, Ahsrpe ratio, etc.). If we could save those numbers as comments in the EA Studio Strategy we could simply read them later in the MT4 Tracker or in EA Studio later. This way we could have a better idea about how the strategy is working in a real account. For example, if we got a strategy with profit factor 90%, we should expect to win most of the trades. If once I have 20 trades (for example) our strategy is having only 50% of good trades this strategy should be removed from our portfolio. This is a very basic example. The overall idea is storing the statistics as comments inside the generated EA and being able to use them later. This should be done inside EA Studio and there should be a way to put it inside a Portfolio EA. It is likely not easy to do that, but I think if it were possible I think it could be of help...
Hope this helps
(Apologize for my writing but I don't have much time now. I could try to elaborate a bit more if needed)
Best regards,
RJ