This is the concept for which I took on learning MQL5. I waited, and neglected poor old MQL4 all the while.
I'm not compiling yet... will my version be done in time for the competion? Absolutely not. Hopefully I'll have a pet zombie in the race, at any rate.
I am thinking in selfish terms for my library. I am only making my class structure fit my particular functions of the things you want to do.
However when it comes down to it, there are a lot of very useful "bits" for putting in place - open source mentalities, rather than only compiling before distribution, is healthy.
Leadership on the MetaQuotes team into these areas would be the most simple answer. Start version tracking database for user projects. The best conceptual material on the site I have found are the Price Histogram indicator and the VOM library. Those projects are already prepared for a thorough communal enhancing - and have well documented concepts for the OO usage (at least in part)
221
Hey everyone,
I was thinking today if it is possible to build an indicator action library using the object oriented programming in mql5 ? Let me give an example:
Let's say I'm programming an EA that enters the market shortwhen the EMA trend of period 34 is smallerthan zero, and the MACD Signal crosses the zero line downwards.
Normally I would have to write everything for scratch. Would it be possible to write a library to make the following possible:
Of course the above is just an example and not how it shoulkd exactly be structured.
If it is possible won't it be great if we all can make one big library for all the indis to make this possible ?
I know this article (http://www.mql5.com/en/articles/116) explains how to work if OO programming, but I think it would be awesome if metaquotes could write such a library for all to use. I don't have the time or knowledge to do this all by myself