EA Forex Academy – Algorithmic & Manual Trading Courses Forums Forex Trading Forum Adding EAs to a Portfolio Expert Advisor

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #63821
    Admin bar avatarAsser
    Participant

    Hi Petko! Hi guys!

    I understand how to create strategies and put them into one (or several) Portfolio(s) Expert Advisor.
    I also learned how to remove (or disable) losing strategies inside a Portfolio Expert Advisor.

    Now I need to know HOW to add (or replace) strategies to a Portfolio Expert Advisor already running on MT4.
    Can anyone explain that and show me your method?
    If there’s a video or a lesson on the subject, please point me to it.

    Thanks.

    #63823
    Admin bar avatarIlan
    Moderator

    Hi Asser,

    Simply drag the Portfolio EA from the Experts folder in MT into the Validator in EA Studio. Remove all acceptance criteria, and start the Validator. All of the strategies in the Portfolio EA will go into your collection. From there, remove or change any strategies you do not want, and move the rest to a Portfolio. If you have existing strategies in your Portfolio, you can either remove them, or keep them there if you would like them to be part of the Portfolio. From there, export the Portfolio EA and copy it into the Experts folder in MT, and attach it to a chart.

    Remember to delete the old one from the Experts folder, and close the chart it was running on, or just apply the new Portfolio EA to the existing chart if it’s the same asset, and overwrite the older one.

     

    Hope this is clear for you.

     

    Ilan

     

     

    #63826
    Admin bar avatarAsser
    Participant

    Very clear so far! Sounds simple too! But…
    I’m very visual Ilan and have to see it and digest it so I understand it fully before practicing it. Therefore I’m going to search all the courses and the Blog to see if there are any videos or screenshots showcasing the process in action.
    If you know where to look (I have all the courses), please let me know.
    Is that the only method or the simplest one?
    Thank you for the quick answer and for putting me on the right track Ilan, I really needed it.
    Asser

    #63827
    Admin bar avatarAsser
    Participant

    No need Ilan!
    Found good articles in the blog.
    Thanks again.
    You’re the best 😉

    #63828
    Admin bar avatarAsser
    Participant

    OK, I’m trying to digest your above guidance Ilan…

    Two questions come to my mind:

    1. If you “drag”(or import) a portfolio Expert (only one file with many EAs inside) to the Validator, you’ll be importing all the EAs inside, including the winning (and losing) EAs.
      It doesn’t make sense to me to recalculate the winning EAs in the Validator, since FXBlue already shows that they are winning.
    2. Why are you removing all Acceptance criteria before running the validator?
      It doesn’t make sense either because logically you should be using the same Acceptance criteria that you used when generating the old strategies.

    Thanks.

    #63830
    Admin bar avatarIlan
    Moderator

    Hi Asser,

     

    I think I can answer both questions with one answer.

    You are correct. The Portfolio EA is a single file with multiple strategies inside of it. The reason I said to remove all of the acceptance criteria is you asked initially how to add or remove strategies. In order to do that, you’d remove the acceptance criteria and then run the Validator to ensure all of the strategies are collected into the Collection, and you can then edit all, or any of them.

    Of course, if you want to remove the losing strategies, set the acceptance criteria, and also, in Data Horizon, select the dates you want to check the strategies’ performance within, or to make it easier to remove those that don’t meet your criteria in current market conditions.

    I hope this answers your questions – if you have any follow up questions, please feel free to ask me.

     

    Thanks,

    Ilan

     

    #66253
    tremosor
    Participant

    Hey Ilan,

     

    After I validator portfolio EA, get the result from FXblue, The fxblue shows the result with magic number, and the collection show ID , I can’t find the relate.

    thanks

    #66471
    Admin bar avatarIlan
    Moderator

    Hi tremosor,

    Yes, you are correct. A magic number gets generated when we export a strategy as an EA.

    Your results in FX Blue will match your results in the Validator. What you can do, is instead of using FX Blue, simply use the Validator to check the performance by changing the dates in Data Horizon, and adding acceptance criteria and performance filters. You can then remove the EAs / Strategies not performing, and export those that are as new EAs with new magic numbers, either as individual EAs or as a portfolio EA, and attach it it / them to your chart/s.

     

    Hope this helps,

    Ilan

    #66768
    jbcdk
    Participant

    Hi asser,

    Could you please give a link to the “good articles in the blog” you found, mentioned by you 22 October.

     

    Best regards

    jens

    #66791
    Admin bar avatarAsser
    Participant

    Tried to reply to you twice yesterday but this forum wouldn’t let me post my reply. Why? Beats me! Sent an email to info@eaforexacademy.com 24 hours ago, still no reply from them.

     

    #67215
    Admin bar avatarAsser
    Participant

    Hi (Hej) Jens,

    Sorry for the delay. The forum (or my browser) wouldn’t allow me to insert an image (no matter how much I reduce it’s size).

    • Go to the top of this forum page
    • Click on Blog
    • There you can see many articles (with screenshots & video links)
    • Do a search in the search box
    • or scroll down through the many titles on the right side.

    Here’s the complete URL address:

    Expert Advisors Blog

    I’m attaching a screenshot (the one I couldn’t insert even though I reduced the size to ridiculous 50 kb… and the moderator wouldn’t help)

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.