|
Event driven programming
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
|