DinexSpace Pending Order Expiry Manager
- Utilità
- Versione: 1.0
DinexSpace Pending Order Expiry Manager is a utility for MetaTrader 5 (MT5) that shows your pending orders with a countdown and deletes an order when its time is over, only when you ask for it. It helps you avoid leaving old pending orders on the account.
How it works
- The panel lists the pending orders in scope: by default the orders of the symbol of the chart, or the symbols and magic number you choose.
- Press Assign timers to give each listed order a countdown in minutes. The panel shows the time left; when it reaches zero the order is marked EXPIRED.
- Press Delete expired. The utility asks you to confirm, then deletes only the listed orders whose countdown is over.
- Optional: switch on automatic delete in the inputs, and expired orders are deleted without a question. It is off by default.
- Clear timers removes the countdowns and touches no order.
What you get
- Timer per order, kept when you restart the terminal.
- Confirmed delete by button, or optional automatic delete.
- Clear scope: only the orders you listed are ever shown or deleted. Orders of other symbols or magic numbers are left alone.
- Plain log: every delete is written to the Experts log in English with the ticket, the time and the result code. If the market is closed the delete is refused by the server; the utility waits one minute and tries again.
- Light: it places and modifies no order. The only action is deleting an expired pending order that you listed.
How to use it
- Attach the Expert Advisor to any chart.
- Check the scope in the inputs (chart symbol by default) and set the countdown in minutes.
- Press Assign timers, or switch on automatic assign.
- When orders are marked EXPIRED, press Delete expired and confirm.
Inputs
- Scope: all symbols or the chart symbol, list of symbols, magic number.
- Timer: countdown in minutes, automatic assign on or off.
- Delete: automatic delete on or off.
- Panel: refresh interval, rows, corner, horizontal and vertical offset, font size.
Notes
- The countdown is kept by this utility. It is not the expiration time of the order at the server, and the two do not depend on each other.
- Delete is refused when trading is not allowed for the Expert Advisor or when the market is closed. The utility logs it and tries again later.
- It describes and manages pending orders already on your account. It gives no entries or exits and does not predict any move.
Requirements
- MetaTrader 5, any symbol and timeframe. Algo Trading must be allowed for the Expert Advisor to run.
