You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.