Magic Number Auto Close With Breakeven Demo
- Utilities
- Darius Botha
- Version: 1.51
- A Utility used for accounts with multiple open positions with Magic numbers added via Expert Advisors or manually.
- The Utility closes specific Magic number open positions when a certain profit in currency $ has been reached.
- The Utility also closes specific Magic numbers open positions with a break-even feature when the Expert Advisors or manually a certain amount of open positions has been placed.
- The Utility also closes all buy stops and sell stops when the "Take profit sum $" has been reached or the "Break even positions" has reached "Break even Profit $".
This version of the utility can only be used with the EURUSD and USDJPY with only two magic numbers.
Parameters
- AutoClosePositions - True or False
- When True, "Take Profit Sum $" activated.
- When False, "Take Profit Sum $" deactivated.
- Take Profit Sum $ - The Amount of profit to be taken when reached with Magic numbers combined (The profit is taken by the currency amount)
- Break even, on/off - True or False
- When True, "Break even positions" activated
- When False, "Break even positions" deactivated
- Break even positons - The number of positions required by "Magic number 1" and "Magic number 2" combined.
- Magic number 1 - The 1st Magic number allocated from the Expert Advisor or manual open positions, stop orders and limit orders.
- Magic number 2 - The 2nd Magic number allocated from the Expert Advisor or manual open positions, stop orders and limit orders.