EA Close All v5
Logic:
Arbitrage:
- Uses various conditions to close orders based on pips profit, dollar profit, and percentage loss.
- Monitors and closes orders if the conditions specified by the inputs are met.
Order Management:
- Closes all orders if the profit in pips exceeds PipsProfit.
- Closes all orders if the dollar profit exceeds Profit.
- Closes all orders if the percentage loss exceeds PercentLoss.
- Uses global variables to manage order closing conditions.
- Monitors the total number of orders and resets global variables when no orders are present.
Information Display:
- Displays various account and EA-related information on the chart.
- Shows account balance, equity, free margin, used margin, maximum drawdown, and current profit.