Hi. In MT4 and MT5 there is an option of canceling pending orders by expiration time. Do you think it would be possible to add an function in MT5 to cancel pending orders by reaching certain price level? (I know there is an EA for that but it's not very comfortable.)
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- Scripts: Placing Stop Orders Grid
- Pending orders cancelled (not sure) because of price being to close to the pending order - How to fix?
Buyseller: Hi. In MT4 and MT5 there is an option of canceling pending orders by expiration time. Do you think it would be possible to add an function in MT5 to cancel pending orders by reaching certain price level? (I know there is an EA for that but it's not very comfortable.)
Yes, it is possible. Search the CodeBase and Market. If you don't find what you want, hire someone to code it for you.
Buyseller: Do you think it would be possible to add an function in MT5 to cancel pending order
There is no need to create pending orders in code.
-
The pending has the slight advantage, A) you are closer to the top of the queue (filled quicker), B) there's no round trip network delay (filled quicker.)
Don't worry about it unless you're scalping M1 or trading news.
-
Humans can't watch the screen 24/7, so they use pending orders; EAs can, so no need for pending orders, have it wait until the market reaches the trigger price and just open an order.
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