|
Here is update of Alex's EA to fix problems, which memebrs have seen when tested this EA online on demo trading (missing orders operations, stopping to trade, etc.)
Basing on my experience with coding and testing EA live I added some code to deal with errors in live environment and reformatted and cleaned up the code for easier reading. No trading logic was changed!
I suggest every EA programmer to look at the code and use similar technique with orders operations - this will help to avoid live trading errors.
Testers, please, use this version.
p.s. didn't noticed my bug with price for OrderSend. updated expert re-uploaded.
Last edited by Beluck; 10-30-2005 at 10:26 PM.
|