I see, but there are doubts that this construction will block OnBookEvent(). The glass change event can run in bunches, after all. I'll check it out, thanks again.
Alexey Kozitsyn: I see, but there are doubts that this construction will block OnBookEvent(). The glass change event can run in bunches, after all. I will check it, thanks again.
Have any doubts - don't use the tip, but I had the same thing as you, until I put a "prop".
Михаил: Have any doubts - don't use the advice, but I had the same thing as you until I put a "backstop" in place.
No, it is an interesting idea and the longer an order takes to execute, the better it will work. In my case, both order execution and its deletion took one ms. We will have to check the Expert Advisor's logic as well.
Alexey Kozitsyn: No, it is an interesting idea and the longer an order takes to execute, the higher its quality will be. In the case I cited, both order execution and order deletion took place within the same ms. We should also check the Expert Advisor's logic.
The last two parameters request and result are filled with values only for transaction type TRADE_TRANSACTION_REQUEST, information about the transaction can be obtained from the type parameter of the trans variable .
The thing is that when an order is being executed, you don't control its execution and therefore you don't block OnTick() or OnBookEvent().
You need to handle the trade event in OnTradeTransaction() to quickly control the order being executed.
I will post the code on how to do it soon.
Ahem. I'll have to think about it, thanks!
Or rather:
I see, but there are doubts that this construction will block OnBookEvent(). The glass change event can run in bunches, after all. I will check it, thanks again.
Have any doubts - don't use the advice, but I had the same thing as you until I put a "backstop" in place.
No, it is an interesting idea and the longer an order takes to execute, the higher its quality will be. In the case I cited, both order execution and order deletion took place within the same ms. We should also check the Expert Advisor's logic.
OrderSend(). What's the difference in this case?
That's more accurate:
Not truer.
The last two parameters request and result are filled with values only for transaction type TRADE_TRANSACTION_REQUEST, information about the transaction can be obtained from the type parameter of the trans variable .
Not truer.