Request for an example of a robust sample EA

 
Can the MT developers post an example of a robust EA that uses stop orders to enter trades? The stops are calculated based on time of day, so if there is no new tick there, the next incoming bar should be considered.

I am looking at the samples but they are not robust. They don't have error checking, sleep/waiting modes and refreshes built into them. As such, they are very poor examples to follow when developing codes.

Please, please provide with some better quality examples. Also, there is a question on how to signal that a stop loss or take profit order has been triggered ealier, can you please answer that too?

Thank you for your help,
Maji
 
Bump... trying to get some attention from the developers. You owe it to the users to provide us with some decent examples of robust codes. The examples you provided are not robust but just simplistic. Please help us, the users.
 
 
Thanks Slawa for the links. However, I had checked them out before and they DO NOT have the error checking mechanisms. What happens if there is an error while placing the order? How can it retry to place that error? In other words, it is not as robust as we would like it to be. See the various examples RJ is posting... he is trying to make his code robust. That is what we are expecting. Please help us with some robust examples.

thanks,
Maji
Reason: