Prop Firm Close All Orders for MT5
- Utilità
- Christian Paul Anasco
- Versione: 1.10
- Aggiornato: 8 giugno 2025
- Attivazioni: 5
[NEW LOOK] I made it look simpler. All functions are the same!
Now, you have your very own PROP FIRM AUTO-CLOSER program! Once your account target or drawdown hits, all open orders will close automatically.
==========================================
INPUTS:
Account target (exact amount): Put the exact account target. Once the equity hits your specied account balance target, all open orders will close. Make sure to add some buffer to consider slippage.
Use fixed value or dynamic value: Choose whether you will need a fixed value or dynamic value for your drawdown computation.
DYNAMIC SETTINGS:
Equity-based or Balance-based drawdown: Choose if it will be equity-based or balance-based drawdown or max value of both. It depends on your prop firm or what you need.
Drawdown percent [0 to 100]: Set the drawdown percent. If it's 5% drawdown, make sure to add some buffer like bring it down to 4.75% to account for any slippage.
FIXED SETTINGS:
Equity-based or Balance-based drawdown: Choose if it will be equity-based or balance-based drawdown. It depends on your prop firm or what you need.
Drawdown value in account currency: Set a fixed amount as your drawdown. Some prop firms will use 5% of initial balance so better to add a fixed drawdown value.
OTHER SETTINGS:
True if reset daily: Set this to true if you need a daily reset to compute for the base balance or equity.
Reset hour [0 to 23]: Specify the exact hour when the reset happens. Most prop firms and brokers resets at 00:00 server time.
Close charts: Choose whether you also want to close all charts after it closed all trades.
You can choose to (1) close all charts, (2) close all charts except for the one where the EA is running, or (3) don't close any charts at all.
==========================================
You also have the CLOSE ALL ORDERS button. You can click the button and it will close all open orders.
==========================================
Add it like an expert advisor on a EURUSD chart or the chart of the market you're trading.
Make sure that automated trading is enabled on these 3 locations.
- Tools >> Options >> Expert Advisors. Make sure that Allow algorithmic trading is checked.
- Algo Trading button on top is enabled.
- After adding the PropFirmCloseAllOrders on the chart, under Common tab, make sure that Allow Algo Trading is checked.
==========================================
Please don't hesitate to send me a message for any questions, concerns, or suggestions. Thank you for considering to buy this product.
Bought this to close my prop. challenges as soon the target is met. Worked out well today as it was hit and all positions were closed. Nice feeling to not look all the time and optimize the process timewise. Only thing i wonder is whether the time input is based on UTC time. Did not get a response yet on that question.