Basically what i'm trying to do is MVC, if you notice inside each file there's at the bottom a java example of what i'm trying to do, the ChatView model impement some sort of GUI, not really interested in making a GUI now, just print a MessageBox and Alert instead.
I'm stuck right now with the design of this, i just want the entire design to work. Good Luck :)
Just follow the java example in each file attached in the above post, for the ChatView part don't worry about gui just print some message.
I'm not interested in java examples. I want to know exactly what you hope to accomplish with MQL...
In that case it is simple.
Project i'm planning is will have a GUI and i wanted to use MVC design. I can't really tell what i'm trying to accomplish right now, its a big project for me, i was making this model just to see if i can get the MVC working, that's why i was following that java example.
But if you want to make more concrete stuff, just make a strategy that inform you when 2 ma cross, and use 2 edit text field as input parameter on chart. If possible mantaining MVC design like in the example i attached. Can't think of anything else really.
I beg to differ, I am in fact not wrong.
class Observer : public CObject
class CTrade : public Observer
class CTradeStrategy : public CTrade
No classes were "lost" and the implementation inheritance is the exact same as using multiple inheritance.
I feel like something is getting lost here... Are you using an English translator? Do you understand what it means to clone a class/folder into the project directory?