Discussion of article "Creating Multi-Expert Advisors on the basis of Trading Models" - page 7

 

In the CTableOrders class, I think you should use order_info.OrderType() instead of order_info.Type()

 
Thank you!!! Very interesting article. I will try to take it as a basis for developing my own multicurrency Expert Advisor. I tried to write it myself - it works, but I see a problem in the architecture of the programme and I can't understand how to fix it myself. As a beginner and inexperienced, such things are hard for me.
 

Dear EA author and articles:

I want to congratulate you as I found your design excellent. :)

I have a problem loading the code and trying to test it because the line:

result=list_models.Add(m_macd); //FROM FILE model_simple.mq5

gives an error message (

conversion is not accessible because of inheritance access

)

when trying to compile.

And I couldn't solve this error despite browsing the forums and trying a couple of alternatives.

Could you help me if you are so kind?

Thank you very much.

 

Hi, could you update this post a bit, I find it interesting but there are errors, I have been correcting some but others are more complicated. For example, in MACD you open many sell positions and don't close the others. Still the concept is very good, although it would be nice if you could update it and use it in live trades. Thank you. Best regards.