Quote:
|
Originally Posted by cardio
Hi
I find my code becoming more unmanageable as its complexity increases. What I think is needed is event driven programming. Then when an event like a buy or a close occurs, other functions will just react to that. Currently one always has to check all the orders to see if something has happended. Does anyone have some event driven code for mql?
Thanks
|
cradio,
Unfortunately MQL4 leaks the event driven concept.
There are only three events out these. init(, dinit and start.
I hope to see even driven and object oriented in MQL5

!