cardio:
Hi
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?
Thankscradio,
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 !
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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