| / | Forum |
|
Michal
2006.01.15 15:59
Hi everybody,
from some time I'm thinking about correct handeling of #trade context busy error. Does anybody has any general and portable solution? Michal |
|
Expert Advisors Based on Popular Trading Systems and Alchemy of Trading Robot Optimization (Cont.) In this article the author continues to analyze implementation algorithms of simplest trading systems and introduces recording of optimization results in backtesting into one html file in the form of a table. The article will be useful for beginning traders and EA writers. |
5198 |
stringo
2006.01.16 14:16
see example
|
|
Michal
2006.01.17 10:44
Thank you. I know the solution with a global variable. However, there are some flaws
with this method which I don't like:
- you need to do this for every interaction with the server. Not only OrderSend, but also close, delete and modify. Soon the EA code is poluted with settings/resettings semaphores. It can easily go out of control; - you need to wait for an arbitry amount of time. I don't like this. I want the order be executed as soon as possible, and no one millisecond later. A proper solution would be a local FIFO with orders. I wonder if such a solution already exists? |