Event model for MQL4

 
It may be too late for this suggestion, but it would be nice if MQL4 provided specified functions that if a programmer defined, would be called by MT4 on certain events. Instead of the Start() function that only responds to ticks (ie, a tick event triggers a call to Start()) and then requires the developer to distinguish what events he actually wishes to respond to, it would be nice to have different event functions the developer can choose to provide in an indicator/expert. Some useful event functions would be OnTick()--for each tick, OnNewBar()--for each new bar, OnTrade()--for each new, closed, deleted, or modified trade, OnNews()--for each incoming news story/event, .... The developer could choose any or all of them to develop and MT4 would call the provided event functions for the respective events. Useful/needed parameters could be part of each function signature.
 
Brilliant idea!
 
I too agree that this is a brilliant idea, but I fear that it is too late in development to initiate.

Smoothice
 
Wow.....agreed.

maybe the next verion...
 
yeah. far far future version. may be 6 or 7
this model should be very good considered and embedded into our new architecture. but testing of our current architecture is not ending yet.
sorry